1 # Copyright (c) 2012 The Native Client 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.
10 'disable_cross_trusted%': 0,
14 'target_name': 'nacl_core_sdk',
17 '../src/untrusted/minidump_generator/minidump_generator.gyp:minidump_lib',
18 '../src/untrusted/nacl/nacl.gyp:nacl_dynacode_lib',
19 '../src/untrusted/nacl/nacl.gyp:nacl_exception_lib',
20 '../src/untrusted/nacl/nacl.gyp:nacl_lib',
21 '../src/untrusted/nacl/nacl.gyp:nacl_list_mappings_lib',
22 '../src/untrusted/nosys/nosys.gyp:nosys_lib',
23 '../src/untrusted/pthread/pthread.gyp:pthread_lib',
26 ['(target_arch!="arm" and target_arch!="mipsel") or (OS=="linux" and disable_cross_trusted!=1)', {
27 # cross compiling trusted binaries such as sel_ldr is only currently
28 # supported on linux, and requires specific cross compilers to be
29 # installed. It can be disabled with 'disable_cross_trusted=1'.
31 '../src/trusted/service_runtime/service_runtime.gyp:sel_ldr',
34 ['target_arch=="ia32" and OS=="linux"', {
36 '../src/nonsfi/loader/loader.gyp:nonsfi_loader',
39 ['(target_arch!="arm" and target_arch!="mipsel") or OS=="linux"', {
40 # irt_core_nexe relies on tls_edit which is not currently buildable
41 # on windows with target_arch != x86.
42 # TODO(sbc): remove this restriction:
43 # https://code.google.com/p/nativeclient/issues/detail?id=3810
45 '../src/untrusted/irt/irt.gyp:irt_core_nexe',
48 ['target_arch!="arm" and target_arch!="mipsel"', {
50 # these libraries don't currently exist on arm and mips
51 '../src/untrusted/valgrind/valgrind.gyp:dynamic_annotations_lib',
52 '../src/untrusted/valgrind/valgrind.gyp:valgrind_lib',
56 'destination': '<(SHARED_INTERMEDIATE_DIR)/sdk/<(OS)_x86/nacl_x86_newlib/x86_64-nacl/lib32',
58 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/crti.o',
59 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/crtn.o',
60 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libnacl_dyncode.a',
61 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libnacl_list_mappings.a',
62 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libnosys.a',
63 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libpthread.a',
64 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libvalgrind.a',
68 'destination': '<(SHARED_INTERMEDIATE_DIR)/sdk/<(OS)_x86/nacl_x86_newlib/x86_64-nacl/lib',
70 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/crti.o',
71 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/crtn.o',
72 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libnacl_dyncode.a',
73 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libnacl_list_mappings.a',
74 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libnosys.a',
75 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libpthread.a',
76 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libvalgrind.a',
80 'destination': '<(SHARED_INTERMEDIATE_DIR)/sdk/<(OS)_x86/nacl_x86_glibc/x86_64-nacl/lib32',
82 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libnacl_dyncode.a',
83 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libnacl_list_mappings.a',
84 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libvalgrind.a',
85 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libdynamic_annotations.a',
89 'destination': '<(SHARED_INTERMEDIATE_DIR)/sdk/<(OS)_x86/nacl_x86_glibc/x86_64-nacl/lib',
91 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libnacl_dyncode.a',
92 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libnacl_list_mappings.a',
93 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libvalgrind.a',
94 '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libdynamic_annotations.a',