OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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/untrusted.gypi', | 7 '../../native_client/build/untrusted.gypi', |
8 ], | 8 ], |
9 'conditions': [ | 9 'conditions': [ |
10 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 10 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 ], | 46 ], |
47 }, | 47 }, |
48 { | 48 { |
49 'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm', | 49 'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm', |
50 'files': [ | 50 'files': [ |
51 '<(DEPTH)/native_client/src/untrusted/irt_stub/libppapi.a', | 51 '<(DEPTH)/native_client/src/untrusted/irt_stub/libppapi.a', |
52 ], | 52 ], |
53 }, | 53 }, |
54 ], | 54 ], |
55 }, | 55 }, |
| 56 ], |
| 57 }], |
| 58 # TODO(bbudge) Remove the build_ppapi_ipc_proxy_untrusted flag, factor out c
ommon |
| 59 # properties from both IRT flavors, and build them side by side. |
| 60 ['disable_nacl==0 and disable_nacl_untrusted==0 and build_ppapi_ipc_proxy_un
trusted==0', { |
| 61 'targets': [ |
56 { | 62 { |
57 'target_name': 'nacl_irt', | 63 'target_name': 'nacl_irt', |
58 'type': 'none', | 64 'type': 'none', |
59 'variables': { | 65 'variables': { |
60 'nexe_target': 'nacl_irt', | 66 'nexe_target': 'nacl_irt', |
61 # These out_* fields override the default filenames, which | 67 # These out_* fields override the default filenames, which |
62 # include a "_newlib" suffix. | 68 # include a "_newlib" suffix. |
63 'out_newlib64': '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', | 69 'out_newlib64': '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', |
64 'out_newlib32': '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe', | 70 'out_newlib32': '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe', |
65 'out_newlib_arm': '<(PRODUCT_DIR)/nacl_irt_arm.nexe', | 71 'out_newlib_arm': '<(PRODUCT_DIR)/nacl_irt_arm.nexe', |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 }, | 176 }, |
171 'dependencies': [ | 177 'dependencies': [ |
172 'src/shared/ppapi_proxy/ppapi_proxy_untrusted.gyp:ppruntime_lib', | 178 'src/shared/ppapi_proxy/ppapi_proxy_untrusted.gyp:ppruntime_lib', |
173 '../../native_client/src/untrusted/irt/irt.gyp:irt_browser_lib', | 179 '../../native_client/src/untrusted/irt/irt.gyp:irt_browser_lib', |
174 '../../native_client/src/shared/srpc/srpc.gyp:srpc_lib', | 180 '../../native_client/src/shared/srpc/srpc.gyp:srpc_lib', |
175 '../../native_client/src/shared/platform/platform.gyp:platform_lib', | 181 '../../native_client/src/shared/platform/platform.gyp:platform_lib', |
176 '../../native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib', | 182 '../../native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib', |
177 '../../native_client/src/shared/gio/gio.gyp:gio_lib', | 183 '../../native_client/src/shared/gio/gio.gyp:gio_lib', |
178 ], | 184 ], |
179 }, | 185 }, |
| 186 ], |
| 187 }], |
| 188 ['disable_nacl==0 and disable_nacl_untrusted==0 and build_ppapi_ipc_proxy_un
trusted==1', { |
| 189 'targets': [ |
180 { | 190 { |
181 'target_name': 'nacl_ipc_irt', | 191 'target_name': 'nacl_irt', |
182 'type': 'none', | 192 'type': 'none', |
183 'variables': { | 193 'variables': { |
184 'nexe_target': 'nacl_ipc_irt', | 194 'nexe_target': 'nacl_irt', |
185 # These out_* fields override the default filenames, which | 195 # These out_* fields override the default filenames, which |
186 # include a "_newlib" suffix. | 196 # include a "_newlib" suffix. |
187 'out_newlib64': '<(PRODUCT_DIR)/nacl_ipc_irt_x86_64.nexe', | 197 'out_newlib64': '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', |
188 'out_newlib32': '<(PRODUCT_DIR)/nacl_ipc_irt_x86_32.nexe', | 198 'out_newlib32': '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe', |
189 'out_newlib_arm': '<(PRODUCT_DIR)/nacl_ipc_irt_arm.nexe', | 199 'out_newlib_arm': '<(PRODUCT_DIR)/nacl_irt_arm.nexe', |
190 'build_glibc': 0, | 200 'build_glibc': 0, |
191 'build_newlib': 1, | 201 'build_newlib': 1, |
192 'include_dirs': [ | 202 'include_dirs': [ |
193 'lib/gl/include', | 203 'lib/gl/include', |
194 '..', | 204 '..', |
195 ], | 205 ], |
196 'link_flags': [ | 206 'link_flags': [ |
197 '-Wl,--start-group', | 207 '-Wl,--start-group', |
198 '-lirt_browser', | 208 '-lirt_browser', |
199 '-lppapi_proxy_untrusted', | 209 '-lppapi_proxy_untrusted', |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libipc_untrusted.a', | 368 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libipc_untrusted.a', |
359 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libbase_untrusted.a', | 369 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libbase_untrusted.a', |
360 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libirt_browser.a', | 370 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libirt_browser.a', |
361 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libsrpc.a', | 371 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libsrpc.a', |
362 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libplatform.a', | 372 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libplatform.a', |
363 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libimc_syscalls.a', | 373 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libimc_syscalls.a', |
364 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libgio.a', | 374 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libgio.a', |
365 ], | 375 ], |
366 }, | 376 }, |
367 'dependencies': [ | 377 'dependencies': [ |
368 '../ppapi_ipc_proxy_untrusted.gyp:ppapi_proxy_untrusted', | 378 '../ppapi_proxy_untrusted.gyp:ppapi_proxy_untrusted', |
369 '../ppapi_shared_untrusted.gyp:ppapi_shared_untrusted', | 379 '../ppapi_shared_untrusted.gyp:ppapi_shared_untrusted', |
370 '../../gpu/command_buffer/command_buffer_untrusted.gyp:gles2_utils_u
ntrusted', | 380 '../../gpu/command_buffer/command_buffer_untrusted.gyp:gles2_utils_u
ntrusted', |
371 '../../gpu/gpu_untrusted.gyp:command_buffer_client_untrusted', | 381 '../../gpu/gpu_untrusted.gyp:command_buffer_client_untrusted', |
372 '../../gpu/gpu_untrusted.gyp:command_buffer_common_untrusted', | 382 '../../gpu/gpu_untrusted.gyp:command_buffer_common_untrusted', |
373 '../../gpu/gpu_untrusted.gyp:gles2_implementation_untrusted', | 383 '../../gpu/gpu_untrusted.gyp:gles2_implementation_untrusted', |
374 '../../gpu/gpu_untrusted.gyp:gles2_cmd_helper_untrusted', | 384 '../../gpu/gpu_untrusted.gyp:gles2_cmd_helper_untrusted', |
375 '../../gpu/gpu_untrusted.gyp:gpu_ipc_untrusted', | 385 '../../gpu/gpu_untrusted.gyp:gpu_ipc_untrusted', |
376 '../../ipc/ipc_untrusted.gyp:ipc_untrusted', | 386 '../../ipc/ipc_untrusted.gyp:ipc_untrusted', |
377 '../../base/base_untrusted.gyp:base_untrusted', | 387 '../../base/base_untrusted.gyp:base_untrusted', |
378 '../../native_client/src/untrusted/irt/irt.gyp:irt_browser_lib', | 388 '../../native_client/src/untrusted/irt/irt.gyp:irt_browser_lib', |
379 '../../native_client/src/shared/srpc/srpc.gyp:srpc_lib', | 389 '../../native_client/src/shared/srpc/srpc.gyp:srpc_lib', |
380 '../../native_client/src/shared/platform/platform.gyp:platform_lib', | 390 '../../native_client/src/shared/platform/platform.gyp:platform_lib', |
381 '../../native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib', | 391 '../../native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib', |
382 '../../native_client/src/shared/gio/gio.gyp:gio_lib', | 392 '../../native_client/src/shared/gio/gio.gyp:gio_lib', |
383 ], | 393 ], |
384 }, | 394 }, |
385 ], | 395 ], |
386 }], | 396 }], |
387 ], | 397 ], |
388 } | 398 } |
OLD | NEW |