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.
7 '../native_client/build/untrusted.gypi',
13 'target_conditions': [
14 # This part is shared between the targets defined below. Only files and
15 # settings relevant for building the Win64 target should be added here.
18 '<(INTERMEDIATE_DIR)',
24 # .cc, .h, and .mm files under nacl that are used on all
25 # platforms, including both 32-bit and 64-bit Windows.
26 # Test files are also not included.
28 'nacl/nacl_main_platform_delegate.h',
29 'nacl/nacl_main_platform_delegate_linux.cc',
30 'nacl/nacl_main_platform_delegate_mac.mm',
31 'nacl/nacl_main_platform_delegate_win.cc',
32 'nacl/nacl_listener.cc',
33 'nacl/nacl_listener.h',
35 # TODO(gregoryd): consider switching NaCl to use Chrome OS defines
39 '__STDC_LIMIT_MACROS=1',
42 '<(DEPTH)/third_party/wtl/include',
47 '__STDC_LIMIT_MACROS=1',
50 'app/nacl_fork_delegate_linux.cc',
51 'app/nacl_fork_delegate_linux.h',
62 'target_name': 'nacl',
63 'type': 'static_library',
68 '../base/base.gyp:base',
70 '../ppapi/native_client/src/trusted/plugin/plugin.gyp:ppGoogleNaClPluginChrome',
71 '../native_client/src/trusted/service_runtime/service_runtime.gyp:sel',
72 '../native_client/src/trusted/platform_qualify/platform_qualify.gyp:platform_qual_lib',
75 ['disable_nacl_untrusted==0', {
77 '../ppapi/native_client/native_client.gyp:nacl_irt',
81 'direct_dependent_settings': {
92 'target_name': 'nacl_win64',
93 'type': 'static_library',
98 '../native_client/src/trusted/service_runtime/service_runtime.gyp:sel64',
99 '../native_client/src/trusted/platform_qualify/platform_qualify.gyp:platform_qual_lib64',
102 'common/nacl_cmd_line.cc',
103 'common/nacl_messages.cc',
104 'nacl/nacl_broker_listener.cc',
105 'nacl/nacl_broker_listener.h',
111 '<@(nacl_win64_defines)',
112 'COMPILE_CONTENT_STATICALLY',
116 'msvs_target_platform': 'x64',
119 'direct_dependent_settings': {
127 ['OS=="linux" and coverage==0', {
130 'target_name': 'nacl_helper',
131 'type': 'executable',
139 'nacl/nacl_helper_linux.cc',
140 '../chrome/common/nacl_messages.cc',
141 '../content/common/child_process_sandbox_support_impl_shm_linux.cc',
142 '../content/common/unix_domain_socket_posix.cc',
145 ['toolkit_uses_gtk == 1', {
147 '../build/linux/system.gyp:gtk',
152 '../build/linux/system.gyp:glib',
155 ['os_posix == 1 and OS != "mac"', {
157 ['linux_use_tcmalloc==1', {
159 '../base/allocator/allocator.gyp:allocator',
173 }, { # else (disable_nacl==1)
176 'target_name': 'nacl',
185 'target_name': 'nacl_win64',