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