| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'targets': [ | |
| 7 { | |
| 8 'target_name': 'nacl_ppapi_sdk', | |
| 9 'type': 'none', | |
| 10 'dependencies': [ | |
| 11 '../../../native_client/build/nacl_core_sdk.gyp:nacl_core_sdk', | |
| 12 '../../../ppapi/native_client/native_client.gyp:ppapi_lib', | |
| 13 '../../../ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shi
m.gyp:pnacl_irt_shim', | |
| 14 '../../../ppapi/ppapi_untrusted.gyp:ppapi_cpp_lib', | |
| 15 '../../../ppapi/ppapi_untrusted.gyp:ppapi_gles2_lib', | |
| 16 ], | |
| 17 'conditions': [ | |
| 18 ['target_arch!="arm"', { | |
| 19 'copies': [ | |
| 20 # Newlib headers | |
| 21 { | |
| 22 'destination': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86
_newlib/x86_64-nacl/include', | |
| 23 'files': [ | |
| 24 '../../../native_client/src/untrusted/irt/irt.h', | |
| 25 '../../../native_client/src/untrusted/irt/irt_ppapi.h', | |
| 26 '../../../native_client/src/untrusted/pthread/pthread.h', | |
| 27 '../../../native_client/src/untrusted/pthread/semaphore.h', | |
| 28 ], | |
| 29 }, | |
| 30 { | |
| 31 'destination': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86
_newlib/x86_64-nacl/include/nacl', | |
| 32 'files': [ | |
| 33 '../../../native_client/src/untrusted/nacl/nacl_dyncode.h', | |
| 34 '../../../native_client/src/untrusted/nacl/nacl_startup.h', | |
| 35 '../../../native_client/src/untrusted/nacl/nacl_thread.h', | |
| 36 ], | |
| 37 }, | |
| 38 # Glibc headers | |
| 39 { | |
| 40 'destination': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86
_glibc/x86_64-nacl/include', | |
| 41 'files': [ | |
| 42 '../../../native_client/src/untrusted/irt/irt.h', | |
| 43 '../../../native_client/src/untrusted/irt/irt_ppapi.h', | |
| 44 ], | |
| 45 }, | |
| 46 { | |
| 47 'destination': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86
_glibc/x86_64-nacl/include/nacl', | |
| 48 'files': [ | |
| 49 '../../../native_client/src/untrusted/nacl/nacl_dyncode.h', | |
| 50 '../../../native_client/src/untrusted/nacl/nacl_startup.h', | |
| 51 '../../../native_client/src/untrusted/nacl/nacl_thread.h', | |
| 52 ], | |
| 53 }, | |
| 54 # PNaCl Newlib headers | |
| 55 { | |
| 56 'destination': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86
_pnacl/newlib/sdk/include', | |
| 57 'files': [ | |
| 58 '../../../native_client/src/untrusted/irt/irt.h', | |
| 59 '../../../native_client/src/untrusted/irt/irt_ppapi.h', | |
| 60 '../../../native_client/src/untrusted/nacl/pnacl.h', | |
| 61 '../../../native_client/src/untrusted/pthread/pthread.h', | |
| 62 '../../../native_client/src/untrusted/pthread/semaphore.h', | |
| 63 ], | |
| 64 }, | |
| 65 { | |
| 66 'destination': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86
_pnacl/newlib/sdk/include/nacl', | |
| 67 'files': [ | |
| 68 '../../../native_client/src/untrusted/nacl/nacl_dyncode.h', | |
| 69 '../../../native_client/src/untrusted/nacl/nacl_startup.h', | |
| 70 '../../../native_client/src/untrusted/nacl/nacl_thread.h', | |
| 71 ], | |
| 72 }, | |
| 73 # Newlib libs | |
| 74 { | |
| 75 'destination': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86
_newlib/x86_64-nacl/lib32', | |
| 76 'files': [ | |
| 77 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi.a', | |
| 78 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi_cpp.a', | |
| 79 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi_gles2.a', | |
| 80 ], | |
| 81 }, | |
| 82 { | |
| 83 'destination': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86
_newlib/x86_64-nacl/lib', | |
| 84 'files': [ | |
| 85 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi.a', | |
| 86 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi_cpp.a', | |
| 87 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi_gles2.a', | |
| 88 ], | |
| 89 }, | |
| 90 # Glibc libs | |
| 91 { | |
| 92 'destination': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86
_glibc/x86_64-nacl/lib32', | |
| 93 'files': [ | |
| 94 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libppapi.a', | |
| 95 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libppapi_cpp.a', | |
| 96 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libppapi_gles2.a', | |
| 97 ], | |
| 98 }, | |
| 99 { | |
| 100 'destination': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86
_glibc/x86_64-nacl/lib', | |
| 101 'files': [ | |
| 102 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libppapi.a', | |
| 103 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libppapi_cpp.a', | |
| 104 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libppapi_gles2.a', | |
| 105 ], | |
| 106 }, | |
| 107 # PNaCl IRT shim | |
| 108 { | |
| 109 'destination': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86
_pnacl/lib-x86-64', | |
| 110 'files': [ | |
| 111 '<(PRODUCT_DIR)/libpnacl_irt_shim.a', | |
| 112 ], | |
| 113 }, | |
| 114 ], | |
| 115 }], | |
| 116 ['target_arch=="arm"', { | |
| 117 'copies': [ | |
| 118 { | |
| 119 'destination': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86
_pnacl/lib-arm', | |
| 120 'files': [ | |
| 121 '<(PRODUCT_DIR)/libpnacl_irt_shim.a', | |
| 122 ], | |
| 123 }, | |
| 124 ], | |
| 125 }], | |
| 126 ], | |
| 127 }, | |
| 128 ], | |
| 129 } | |
| 130 | |
| OLD | NEW |