OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 ###################################################################### | 6 ###################################################################### |
7 'includes': [ | 7 'includes': [ |
8 'build/common.gypi', | 8 'build/common.gypi', |
9 ], | 9 ], |
10 ###################################################################### | 10 ###################################################################### |
(...skipping 17 matching lines...) Expand all Loading... |
28 ], | 28 ], |
29 'conditions': [ | 29 'conditions': [ |
30 ['target_arch=="ia32" or target_arch=="x64"', { | 30 ['target_arch=="ia32" or target_arch=="x64"', { |
31 'dependencies': [ | 31 'dependencies': [ |
32 'crt_init_32', | 32 'crt_init_32', |
33 'crt_fini_32', | 33 'crt_fini_32', |
34 'crt_init_64', | 34 'crt_init_64', |
35 'crt_fini_64', | 35 'crt_fini_64', |
36 ], | 36 ], |
37 }], | 37 }], |
38 ['target_arch=="arm" and nacl_enable_arm_gcc!=0', { | 38 ['target_arch=="arm"', { |
39 'dependencies': [ | 39 'dependencies': [ |
40 'crt_init_arm', | 40 'crt_init_arm', |
41 'crt_fini_arm', | 41 'crt_fini_arm', |
42 ] | 42 ] |
43 }], | 43 }], |
44 ], | 44 ], |
45 }, | 45 }, |
46 { | 46 { |
47 'target_name': 'untar_toolchains', | 47 'target_name': 'untar_toolchains', |
48 'type': 'none', | 48 'type': 'none', |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 '<(DEPTH)/native_client/build/untar_toolchain.py', | 115 '<(DEPTH)/native_client/build/untar_toolchain.py', |
116 '--tool', 'x86_pnacl', | 116 '--tool', 'x86_pnacl', |
117 '--tmp', '<(SHARED_INTERMEDIATE_DIR)/untar', | 117 '--tmp', '<(SHARED_INTERMEDIATE_DIR)/untar', |
118 '--sdk', '<(SHARED_INTERMEDIATE_DIR)/sdk', | 118 '--sdk', '<(SHARED_INTERMEDIATE_DIR)/sdk', |
119 '--os', '<(OS)', | 119 '--os', '<(OS)', |
120 '<(DEPTH)/native_client/toolchain/.tars/naclsdk_pnacl_<(OS)_x86.
tgz', | 120 '<(DEPTH)/native_client/toolchain/.tars/naclsdk_pnacl_<(OS)_x86.
tgz', |
121 ], | 121 ], |
122 }, | 122 }, |
123 ] | 123 ] |
124 }], | 124 }], |
125 ['target_arch=="arm" and nacl_enable_arm_gcc!=0 and disable_arm==0 and d
isable_arm_untar==0', { | 125 ['target_arch=="arm" and disable_arm==0 and disable_arm_untar==0', { |
126 'actions': [ | 126 'actions': [ |
127 { | 127 { |
128 'action_name': 'Untar arm toolchain', | 128 'action_name': 'Untar arm toolchain', |
129 'msvs_cygwin_shell': 0, | 129 'msvs_cygwin_shell': 0, |
130 'description': 'Untar arm toolchain', | 130 'description': 'Untar arm toolchain', |
131 'inputs': [ | 131 'inputs': [ |
132 '<(DEPTH)/native_client/build/cygtar.py', | 132 '<(DEPTH)/native_client/build/cygtar.py', |
133 '<(DEPTH)/native_client/toolchain/.tars/gcc_arm.tgz', | 133 '<(DEPTH)/native_client/toolchain/.tars/gcc_arm.tgz', |
134 '<(DEPTH)/native_client/toolchain/.tars/binutils_arm.tgz', | 134 '<(DEPTH)/native_client/toolchain/.tars/binutils_arm.tgz', |
135 '<(DEPTH)/native_client/toolchain/.tars/newlib_arm.tgz', | 135 '<(DEPTH)/native_client/toolchain/.tars/newlib_arm.tgz', |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 'outputs': ['<(glibc_dir)/stamp.prep'], | 199 'outputs': ['<(glibc_dir)/stamp.prep'], |
200 'action': [ | 200 'action': [ |
201 '>(python_exe)', | 201 '>(python_exe)', |
202 '<(DEPTH)/native_client/build/prep_nacl_sdk.py', | 202 '<(DEPTH)/native_client/build/prep_nacl_sdk.py', |
203 '--tool', 'x86_glibc', | 203 '--tool', 'x86_glibc', |
204 '--path', '<(glibc_dir)', | 204 '--path', '<(glibc_dir)', |
205 ], | 205 ], |
206 }, | 206 }, |
207 ] | 207 ] |
208 }], | 208 }], |
209 ['target_arch=="arm" and nacl_enable_arm_gcc!=0 and disable_arm==0', { | 209 ['target_arch=="arm" and disable_arm==0', { |
210 'actions': [ | 210 'actions': [ |
211 { | 211 { |
212 'action_name': 'Prep arm toolchain', | 212 'action_name': 'Prep arm toolchain', |
213 'msvs_cygwin_shell': 0, | 213 'msvs_cygwin_shell': 0, |
214 'description': 'Prep arm toolchain', | 214 'description': 'Prep arm toolchain', |
215 'inputs': [ | 215 'inputs': [ |
216 '<(arm_dir)/stamp.untar', | 216 '<(arm_dir)/stamp.untar', |
217 '>!@pymod_do_main(prep_nacl_sdk --inputs --tool arm_newlib)', | 217 '>!@pymod_do_main(prep_nacl_sdk --inputs --tool arm_newlib)', |
218 ], | 218 ], |
219 'outputs': ['<(arm_dir)/stamp.prep'], | 219 'outputs': ['<(arm_dir)/stamp.prep'], |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/crtn.o', | 359 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/crtn.o', |
360 'objdir_newlib32': | 360 'objdir_newlib32': |
361 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32', | 361 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32', |
362 }, | 362 }, |
363 'sources': [ | 363 'sources': [ |
364 'src/untrusted/stubs/crtn_x86_32.S' | 364 'src/untrusted/stubs/crtn_x86_32.S' |
365 ], | 365 ], |
366 } | 366 } |
367 ], | 367 ], |
368 }], | 368 }], |
369 ['target_arch=="arm" and nacl_enable_arm_gcc!=0', { | 369 ['target_arch=="arm"', { |
370 'targets' : [ | 370 'targets' : [ |
371 { | 371 { |
372 'target_name': 'crt_init_arm', | 372 'target_name': 'crt_init_arm', |
373 'type': 'none', | 373 'type': 'none', |
374 'dependencies': [ | 374 'dependencies': [ |
375 'untar_toolchains', | 375 'untar_toolchains', |
376 'prep_nacl_sdk' | 376 'prep_nacl_sdk' |
377 ], | 377 ], |
378 'variables': { | 378 'variables': { |
379 'nlib_target': 'crt_init_dummy', | 379 'nlib_target': 'crt_init_dummy', |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm', | 417 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm', |
418 }, | 418 }, |
419 'sources': [ | 419 'sources': [ |
420 'src/untrusted/stubs/crtn_arm.S' | 420 'src/untrusted/stubs/crtn_arm.S' |
421 ], | 421 ], |
422 } | 422 } |
423 ], | 423 ], |
424 }], | 424 }], |
425 ], | 425 ], |
426 } | 426 } |
OLD | NEW |