4
4
import glob
5
5
import sh
6
6
7
- class WebViewBootstrap (Bootstrap ):
8
- name = 'webview '
7
+ class ServiceOnlyBootstrap (Bootstrap ):
8
+ name = 'service_only '
9
9
10
- recipe_depends = ['webviewjni' , ('python2' , 'python3crystax' )]
10
+ recipe_depends = [('python2' , 'python3crystax' )]
11
11
12
12
def run_distribute (self ):
13
13
info_main ('# Creating Android project from build and {} bootstrap' .format (
14
14
self .name ))
15
15
16
+ info ('This currently just copies the build stuff straight from the build dir.' )
16
17
shprint (sh .rm , '-rf' , self .dist_dir )
17
18
shprint (sh .cp , '-r' , self .build_dir , self .dist_dir )
18
19
with current_directory (self .dist_dir ):
19
20
with open ('local.properties' , 'w' ) as fileh :
20
21
fileh .write ('sdk.dir={}' .format (self .ctx .sdk_dir ))
22
+ fileh .write ('ndk.dir={}' .format (self .ctx .ndk_dir ))
21
23
22
24
arch = self .ctx .archs [0 ]
23
25
if len (self .ctx .archs ) > 1 :
@@ -114,6 +116,6 @@ def run_distribute(self):
114
116
115
117
self .strip_libraries (arch )
116
118
self .fry_eggs (site_packages_dir )
117
- super (WebViewBootstrap , self ).run_distribute ()
119
+ super (ServiceOnlyBootstrap , self ).run_distribute ()
118
120
119
- bootstrap = WebViewBootstrap ()
121
+ bootstrap = ServiceOnlyBootstrap ()
0 commit comments