OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'includes': [ |
| 7 '../../native_client/build/common.gypi', |
| 8 ], |
| 9 'conditions': [ |
| 10 ['disable_nacl!=1', { |
| 11 'targets': [ |
| 12 { |
| 13 'target_name': 'ppapi_lib', |
| 14 'type': 'none', |
| 15 'dependencies': [ |
| 16 '../../native_client/src/untrusted/pthread/pthread.gyp:pthread_lib'
, |
| 17 '../../native_client/src/untrusted/irt_stub/irt_stub.gyp:ppapi_stub
_lib', |
| 18 ], |
| 19 'copies': [ |
| 20 { |
| 21 'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32', |
| 22 'files': [ |
| 23 '<(DEPTH)/native_client/src/untrusted/irt_stub/libppapi.a', |
| 24 ], |
| 25 }, |
| 26 { |
| 27 'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64', |
| 28 'files': [ |
| 29 '<(DEPTH)/native_client/src/untrusted/irt_stub/libppapi.a', |
| 30 ], |
| 31 }, |
| 32 ], |
| 33 }, |
| 34 { |
| 35 'target_name': 'nacl_irt', |
| 36 'type': 'none', |
| 37 'variables': { |
| 38 'nexe_target': 'nacl_irt', |
| 39 'out64': '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', |
| 40 'out32': '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe', |
| 41 'build_glibc': 0, |
| 42 'build_newlib': 1, |
| 43 'include_dirs': [ |
| 44 'lib/gl/include', |
| 45 '..', |
| 46 ], |
| 47 # Link offsets taken from native_client/build/untrusted.gypi |
| 48 'link_flags': [ |
| 49 '-lirt_browser', |
| 50 '-lppruntime', |
| 51 '-lsrpc', |
| 52 '-limc_syscalls', |
| 53 '-lplatform', |
| 54 '-lgio', |
| 55 '-lm', |
| 56 '-Wl,--section-start,.rodata=<(NACL_IRT_DATA_START)', |
| 57 '-Wl,-Ttext-segment=<(NACL_IRT_TEXT_START)', |
| 58 ], |
| 59 'sources': [ |
| 60 ], |
| 61 'extra_deps64': [ |
| 62 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib64/libppruntime.a', |
| 63 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib64/libirt_browser.a', |
| 64 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib64/libsrpc.a', |
| 65 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib64/libplatform.a', |
| 66 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib64/libimc_syscalls.a', |
| 67 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib64/libgio.a', |
| 68 ], |
| 69 'extra_deps32': [ |
| 70 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib32/libppruntime.a', |
| 71 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib32/libirt_browser.a', |
| 72 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib32/libsrpc.a', |
| 73 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib32/libplatform.a', |
| 74 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib32/libimc_syscalls.a', |
| 75 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib32/libgio.a', |
| 76 ], |
| 77 }, |
| 78 'dependencies': [ |
| 79 'src/shared/ppapi_proxy/ppapi_proxy.gyp:ppruntime_lib', |
| 80 '../../native_client/src/untrusted/irt/irt.gyp:irt_browser_lib', |
| 81 '../../native_client/src/shared/srpc/srpc.gyp:srpc_lib', |
| 82 '../../native_client/src/shared/platform/platform.gyp:platform_lib', |
| 83 '../../native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib', |
| 84 '../../native_client/src/shared/gio/gio.gyp:gio_lib', |
| 85 ], |
| 86 }, |
| 87 ], |
| 88 }], |
| 89 ], |
| 90 } |
OLD | NEW |