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 'includes': [ | 6 'includes': [ |
| 7 '../../native_client/build/common.gypi', | 7 '../../native_client/build/common.gypi', |
| 8 ], | 8 ], |
| 9 'conditions': [ | 9 'conditions': [ |
| 10 ['disable_nacl!=1', { | 10 ['disable_nacl!=1', { |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 25 }, | 25 }, |
| 26 { | 26 { |
| 27 'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64', | 27 'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64', |
| 28 'files': [ | 28 'files': [ |
| 29 '<(DEPTH)/native_client/src/untrusted/irt_stub/libppapi.a', | 29 '<(DEPTH)/native_client/src/untrusted/irt_stub/libppapi.a', |
| 30 ], | 30 ], |
| 31 }, | 31 }, |
| 32 ], | 32 ], |
| 33 }, | 33 }, |
| 34 { | 34 { |
| 35 'target_name': 'nacl_irt', | 35 'target_name': 'nacl_irt_unstripped', |
| 36 'type': 'none', | 36 'type': 'none', |
| 37 'variables': { | 37 'variables': { |
| 38 'nexe_target': 'nacl_irt', | 38 'nexe_target': 'nacl_irt', |
| 39 'out64': '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', | 39 'out64': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/nacl_irt_x86_64.nexe' , |
| 40 'out32': '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe', | 40 'out32': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/nacl_irt_x86_32.nexe' , |
| 41 'build_glibc': 0, | 41 'build_glibc': 0, |
| 42 'build_newlib': 1, | 42 'build_newlib': 1, |
| 43 'include_dirs': [ | 43 'include_dirs': [ |
| 44 'lib/gl/include', | 44 'lib/gl/include', |
| 45 '..', | 45 '..', |
| 46 ], | 46 ], |
| 47 # Link offsets taken from native_client/build/untrusted.gypi | 47 # Link offsets taken from native_client/build/untrusted.gypi |
| 48 'link_flags': [ | 48 'link_flags': [ |
| 49 '-lirt_browser', | 49 '-lirt_browser', |
| 50 '-lppruntime', | 50 '-lppruntime', |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 77 }, | 77 }, |
| 78 'dependencies': [ | 78 'dependencies': [ |
| 79 'src/shared/ppapi_proxy/ppapi_proxy.gyp:ppruntime_lib', | 79 'src/shared/ppapi_proxy/ppapi_proxy.gyp:ppruntime_lib', |
| 80 '../../native_client/src/untrusted/irt/irt.gyp:irt_browser_lib', | 80 '../../native_client/src/untrusted/irt/irt.gyp:irt_browser_lib', |
| 81 '../../native_client/src/shared/srpc/srpc.gyp:srpc_lib', | 81 '../../native_client/src/shared/srpc/srpc.gyp:srpc_lib', |
| 82 '../../native_client/src/shared/platform/platform.gyp:platform_lib', | 82 '../../native_client/src/shared/platform/platform.gyp:platform_lib', |
| 83 '../../native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib', | 83 '../../native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib', |
| 84 '../../native_client/src/shared/gio/gio.gyp:gio_lib', | 84 '../../native_client/src/shared/gio/gio.gyp:gio_lib', |
| 85 ], | 85 ], |
| 86 }, | 86 }, |
| 87 { | |
| 88 'target_name': 'nacl_irt', | |
| 89 'type': 'none', | |
| 90 'dependencies': [ | |
| 91 'nacl_irt_unstripped', | |
| 92 ], | |
| 93 'conditions': [ | |
| 94 ['target_arch!="ia32"', { | |
| 95 'actions': [ | |
| 96 { | |
| 97 'action_name': 'strip x86-32 irt', | |
| 98 'msvs_cygwin_shell': 0, | |
| 99 'description': 'Strip x86-32 nacl_irt)', | |
| 100 'inputs': [ | |
| 101 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/nacl_irt_x86_32.nexe' , | |
|
Ryan Sleevi
2011/11/12 02:38:14
Should you also add strip_nacl_irt.py as an 'input
noelallen1
2011/11/12 02:46:11
Done.
| |
| 102 ], | |
| 103 'outputs': [ | |
| 104 '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe', | |
| 105 ], | |
| 106 'action': [ | |
| 107 '>(python_exe)', | |
| 108 '../../chrome/strip_nacl_irt.py', | |
| 109 '--platform', | |
| 110 'x86-32' | |
| 111 '--src', | |
| 112 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/nacl_irt_x86_32.nexe' , | |
| 113 '--dst', | |
| 114 '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe' | |
| 115 ], | |
| 116 }, | |
| 117 ], | |
| 118 }], | |
| 119 ['target_arch!="x64" or OS=="win"', { | |
| 120 'actions': [ | |
| 121 { | |
| 122 'action_name': 'strip x86-64 irt', | |
| 123 'msvs_cygwin_shell': 0, | |
| 124 'description': 'Strip x86-64 nacl_irt)', | |
| 125 'inputs': [ | |
| 126 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/nacl_irt_x86_64.nexe' , | |
| 127 ], | |
| 128 'outputs': [ | |
| 129 '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', | |
| 130 ], | |
| 131 'action': [ | |
| 132 '>(python_exe)', | |
| 133 '../../chrome/strip_nacl_irt.py', | |
| 134 '--platform', | |
| 135 'x86-64', | |
| 136 '--src', | |
| 137 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/nacl_irt_x86_64.nexe' , | |
| 138 '--dst', | |
| 139 '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe' | |
| 140 ], | |
| 141 }, | |
| 142 ], | |
| 143 }], | |
| 144 ], | |
| 145 }, | |
| 87 ], | 146 ], |
| 88 }], | 147 }], |
| 89 ], | 148 ], |
| 90 } | 149 } |
| OLD | NEW |