Chromium Code Reviews| 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 'target_defaults': { | 6 'target_defaults': { |
| 7 'variables': { | 7 'variables': { |
| 8 'nacl_target': 0, | 8 'nacl_target': 0, |
| 9 }, | 9 }, |
| 10 'target_conditions': [ | 10 'target_conditions': [ |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 72 '../native_client/src/trusted/service_runtime/service_runtime.gyp:sel', | 72 '../native_client/src/trusted/service_runtime/service_runtime.gyp:sel', |
| 73 '../native_client/src/trusted/platform_qualify/platform_qualify.gyp:plat form_qual_lib', | 73 '../native_client/src/trusted/platform_qualify/platform_qualify.gyp:plat form_qual_lib', |
| 74 ], | 74 ], |
| 75 'direct_dependent_settings': { | 75 'direct_dependent_settings': { |
| 76 'defines': [ | 76 'defines': [ |
| 77 'NACL_BLOCK_SHIFT=5', | 77 'NACL_BLOCK_SHIFT=5', |
| 78 'NACL_BLOCK_SIZE=32', | 78 'NACL_BLOCK_SIZE=32', |
| 79 '<@(nacl_defines)', | 79 '<@(nacl_defines)', |
| 80 ], | 80 ], |
| 81 }, | 81 }, |
| 82 'conditions': [ | 82 'actions': [ |
| 83 ['target_arch=="ia32"', { | 83 { |
| 84 'copies': [ | 84 'action_name': 'nacl_irt', |
| 85 { | 85 'message': 'Building NaCl IRT', |
| 86 'destination': '<(PRODUCT_DIR)', | 86 'action': [ |
| 87 'files': [ | 87 'python', 'build_nacl_irt.py', |
| 88 '../native_client/irt_binaries/nacl_irt_x86_32.nexe', | 88 '--outdir', '<(PRODUCT_DIR)', |
| 89 ], | 89 ], |
| 90 }, | 90 'inputs': [ |
| 91 ], | 91 '<!@(python build_nacl_irt.py --inputs --platform=x86-32 --platform= x86-64)', |
| 92 }], | 92 ], |
| 93 ['target_arch=="x64" or OS=="win"', { | 93 'conditions': [ |
| 94 'copies': [ | 94 ['target_arch=="ia32"', { |
| 95 { | 95 'outputs': [ |
| 96 'destination': '<(PRODUCT_DIR)', | 96 '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe', |
| 97 'files': [ | 97 ], |
| 98 '../native_client/irt_binaries/nacl_irt_x86_64.nexe', | 98 'action': [ |
|
noelallen_use_chromium
2011/08/18 19:11:16
I've never seen the case of appending to an action
| |
| 99 ], | 99 '--platform', 'x86-32', |
| 100 }, | 100 ], |
| 101 ], | 101 }], |
| 102 }], | 102 ['target_arch=="x64" or OS=="win"', { |
| 103 'outputs': [ | |
| 104 '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', | |
| 105 ], | |
| 106 'action': [ | |
| 107 '--platform', 'x86-64', | |
| 108 ], | |
| 109 }], | |
| 110 ], | |
| 111 }, | |
| 103 ], | 112 ], |
| 104 }, | 113 }, |
| 105 ], | 114 ], |
| 106 'conditions': [ | 115 'conditions': [ |
| 107 ['OS=="win"', { | 116 ['OS=="win"', { |
| 108 'targets': [ | 117 'targets': [ |
| 109 { | 118 { |
| 110 'target_name': 'nacl_win64', | 119 'target_name': 'nacl_win64', |
| 111 'type': 'static_library', | 120 'type': 'static_library', |
| 112 'variables': { | 121 'variables': { |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 194 # reference nacl_helper as a shared library | 203 # reference nacl_helper as a shared library |
| 195 '<(PRODUCT_DIR)/nacl_helper.so', | 204 '<(PRODUCT_DIR)/nacl_helper.so', |
| 196 '-Wl,-rpath,<(SHARED_LIB_DIR)', | 205 '-Wl,-rpath,<(SHARED_LIB_DIR)', |
| 197 ], | 206 ], |
| 198 }, | 207 }, |
| 199 }, | 208 }, |
| 200 ], | 209 ], |
| 201 }], | 210 }], |
| 202 ], | 211 ], |
| 203 } | 212 } |
| OLD | NEW |