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)',
26 # .cc, .h, and .mm files under nacl that are used on all
27 # platforms, including both 32-bit and 64-bit Windows.
28 # Test files are also not included.
30 'nacl/nacl_main_platform_delegate.h',
31 'nacl/nacl_main_platform_delegate_linux.cc',
32 'nacl/nacl_main_platform_delegate_mac.mm',
33 'nacl/nacl_main_platform_delegate_win.cc',
34 'nacl/nacl_listener.cc',
35 'nacl/nacl_listener.h',
37 # TODO(gregoryd): consider switching NaCl to use Chrome OS defines
41 '__STDC_LIMIT_MACROS=1',
44 '<(DEPTH)/third_party/wtl/include',
49 '__STDC_LIMIT_MACROS=1',
52 'app/nacl_fork_delegate_linux.cc',
53 'app/nacl_fork_delegate_linux.h',
64 'target_name': 'nacl',
65 'type': 'static_library',
70 'chrome_resources.gyp:chrome_resources',
71 'chrome_resources.gyp:chrome_strings',
73 '../webkit/support/webkit_support.gyp:glue',
74 '../ppapi/native_client/src/trusted/plugin/plugin.gyp:ppGoogleNaClPluginChrome',
75 '../native_client/src/trusted/service_runtime/service_runtime.gyp:sel',
76 '../native_client/src/trusted/platform_qualify/platform_qualify.gyp:platform_qual_lib',
79 ['disable_nacl_untrusted==0', {
81 '../ppapi/native_client/native_client.gyp:nacl_irt',
85 'direct_dependent_settings': {
98 'target_name': 'nacl_win64',
99 'type': 'static_library',
104 '../native_client/src/trusted/service_runtime/service_runtime.gyp:sel64',
105 '../native_client/src/trusted/platform_qualify/platform_qualify.gyp:platform_qual_lib64',
108 'common/nacl_cmd_line.cc',
109 'common/nacl_messages.cc',
110 'nacl/nacl_broker_listener.cc',
111 'nacl/nacl_broker_listener.h',
117 '<@(nacl_win64_defines)',
118 'COMPILE_CONTENT_STATICALLY',
122 'msvs_target_platform': 'x64',
125 'direct_dependent_settings': {
127 'NACL_BLOCK_SHIFT=5',
128 'NACL_BLOCK_SIZE=32',
135 ['OS=="linux" and coverage==0', {
138 'target_name': 'nacl_helper',
139 'type': 'executable',
147 'nacl/nacl_helper_linux.cc',
150 ['toolkit_uses_gtk == 1', {
152 '../build/linux/system.gyp:gtk',
157 '../build/linux/system.gyp:glib',
160 ['os_posix == 1 and OS != "mac"', {
162 ['linux_use_tcmalloc==1', {
164 '../base/allocator/allocator.gyp:allocator',
178 }, { # else (disable_nacl==1)
181 'target_name': 'nacl',
190 'target_name': 'nacl_win64',