1 # Copyright 2013 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.
10 '../native_client/build/untrusted.gypi',
11 'nacl/nacl_defines.gypi',
17 'target_conditions': [
18 # This part is shared between the targets defined below. Only files and
19 # settings relevant for building the Win64 target should be added here.
22 '<(INTERMEDIATE_DIR)',
28 # .cc, .h, and .mm files under nacl that are used on all
29 # platforms, including both 32-bit and 64-bit Windows.
30 # Test files are also not included.
31 'nacl/loader/nacl_ipc_adapter.cc',
32 'nacl/loader/nacl_ipc_adapter.h',
33 'nacl/loader/nacl_main.cc',
34 'nacl/loader/nacl_main_platform_delegate.h',
35 'nacl/loader/nacl_main_platform_delegate_linux.cc',
36 'nacl/loader/nacl_main_platform_delegate_mac.mm',
37 'nacl/loader/nacl_main_platform_delegate_win.cc',
38 'nacl/loader/nacl_listener.cc',
39 'nacl/loader/nacl_listener.h',
40 'nacl/loader/nacl_validation_db.h',
41 'nacl/loader/nacl_validation_query.cc',
42 'nacl/loader/nacl_validation_query.h',
44 # TODO(gregoryd): consider switching NaCl to use Chrome OS defines
48 '__STDC_LIMIT_MACROS=1',
51 '<(DEPTH)/third_party/wtl/include',
56 '__STDC_LIMIT_MACROS=1',
59 '../components/nacl/common/nacl_paths.cc',
60 '../components/nacl/common/nacl_paths.h',
61 '../components/nacl/zygote/nacl_fork_delegate_linux.cc',
62 '../components/nacl/zygote/nacl_fork_delegate_linux.h',
73 'target_name': 'nacl',
74 'type': 'static_library',
79 '../base/base.gyp:base',
81 '../ppapi/native_client/src/trusted/plugin/plugin.gyp:ppGoogleNaClPluginChrome',
82 '../ppapi/ppapi_internal.gyp:ppapi_shared',
83 '../ppapi/ppapi_internal.gyp:ppapi_ipc',
84 '../native_client/src/trusted/service_runtime/service_runtime.gyp:sel_main_chrome',
87 ['disable_nacl_untrusted==0', {
89 '../ppapi/native_client/native_client.gyp:nacl_irt',
90 '../ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shim.gyp:pnacl_irt_shim',
91 '../ppapi/native_client/src/untrusted/pnacl_support_extension/pnacl_support_extension.gyp:pnacl_support_extension',
95 'direct_dependent_settings': {
103 ['OS=="win" and target_arch=="ia32"', {
106 'target_name': 'nacl_win64',
107 'type': 'static_library',
112 '../native_client/src/trusted/service_runtime/service_runtime.gyp:sel_main_chrome64',
113 '../ppapi/ppapi_internal.gyp:ppapi_shared_win64',
114 '../ppapi/ppapi_internal.gyp:ppapi_ipc_win64',
115 '../components/nacl_common.gyp:nacl_common_win64',
117 'export_dependent_settings': [
118 '../ppapi/ppapi_internal.gyp:ppapi_ipc_win64',
121 '../components/nacl/broker/nacl_broker_listener.cc',
122 '../components/nacl/broker/nacl_broker_listener.h',
123 '../components/nacl/common/nacl_debug_exception_handler_win.cc',
129 '<@(nacl_win64_defines)',
130 'COMPILE_CONTENT_STATICALLY',
134 'msvs_target_platform': 'x64',
137 'direct_dependent_settings': {
146 }, { # else (disable_nacl==1)
149 'target_name': 'nacl',
158 'target_name': 'nacl_win64',