30
30
# Init variables.
31
31
binaries_location = None # .../out/Release
32
32
platform_name = None # win/linux/osx
33
- arch = None # ia32/x64
33
+ arch = None # ia32/x64/arm
34
34
step = None # nw/chromedriver/symbol
35
35
skip = None
36
36
nw_ver = None # x.xx
@@ -153,7 +153,6 @@ def generate_target_nw(platform_name, arch, version):
153
153
'nw' ,
154
154
'icudtl.dat' ,
155
155
'locales' ,
156
- 'natives_blob.bin' ,
157
156
'v8_context_snapshot.bin' ,
158
157
'lib/libnw.so' ,
159
158
'lib/libnode.so' ,
@@ -172,12 +171,13 @@ def generate_target_nw(platform_name, arch, version):
172
171
target ['input' ] += ['nacl_helper' , 'nacl_helper_bootstrap' , 'pnacl' ]
173
172
if arch == 'x64' :
174
173
target ['input' ].append ('nacl_irt_x86_64.nexe' )
175
- else :
174
+ elif arch == 'ia32' :
176
175
target ['input' ].append ('nacl_irt_x86_32.nexe' )
176
+ else :
177
+ target ['input' ].append ('nacl_irt_{}.nexe' .format (arch ))
177
178
178
179
elif platform_name == 'win' :
179
180
target ['input' ] = [
180
- 'natives_blob.bin' ,
181
181
'v8_context_snapshot.bin' ,
182
182
'd3dcompiler_47.dll' ,
183
183
'libEGL.dll' ,
@@ -219,7 +219,6 @@ def generate_target_nw(platform_name, arch, version):
219
219
target ['input' ].append ('chromedriver' )
220
220
target ['input' ].append ('libffmpeg.dylib' )
221
221
target ['input' ].append ('minidump_stackwalk' )
222
- target ['input' ].append ('natives_blob.bin' )
223
222
target ['input' ].append ('v8_context_snapshot.bin' )
224
223
else :
225
224
print 'Unsupported platform: ' + platform_name
0 commit comments