Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Side by Side Diff: components/nacl.gypi

Issue 16881004: Move chrome/nacl to components/nacl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make ios happy Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
Jói 2013/06/27 14:18:38 Shouldn't there be an entry for the two .gypi file
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'include': [ 6 'include': [
7 '../native_client/build/untrusted.gypi', 7 '../native_client/build/untrusted.gypi',
8 ], 8 ],
9 'target_defaults': { 9 'target_defaults': {
10 'variables': { 10 'variables': {
11 'nacl_target': 0, 11 'nacl_target': 0,
12 }, 12 },
13 'target_conditions': [ 13 'target_conditions': [
14 # This part is shared between the targets defined below. Only files and 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. 15 # settings relevant for building the Win64 target should be added here.
16 ['nacl_target==1', { 16 ['nacl_target==1', {
17 'include_dirs': [ 17 'include_dirs': [
18 '<(INTERMEDIATE_DIR)', 18 '<(INTERMEDIATE_DIR)',
19 ], 19 ],
20 'defines': [ 20 'defines': [
21 '<@(nacl_defines)', 21 '<@(nacl_defines)',
22 ], 22 ],
23 'sources': [ 23 'sources': [
24 # .cc, .h, and .mm files under nacl that are used on all 24 # .cc, .h, and .mm files under nacl that are used on all
25 # platforms, including both 32-bit and 64-bit Windows. 25 # platforms, including both 32-bit and 64-bit Windows.
26 # Test files are also not included. 26 # Test files are also not included.
27 'nacl/nacl_ipc_adapter.cc', 27 'nacl/common/nacl_sandbox_type_mac.h',
28 'nacl/nacl_ipc_adapter.h', 28 'nacl/loader/nacl_ipc_adapter.cc',
29 'nacl/nacl_main.cc', 29 'nacl/loader/nacl_ipc_adapter.h',
30 'nacl/nacl_main_platform_delegate.h', 30 'nacl/loader/nacl_main.cc',
31 'nacl/nacl_main_platform_delegate_linux.cc', 31 'nacl/loader/nacl_main_platform_delegate.h',
32 'nacl/nacl_main_platform_delegate_mac.mm', 32 'nacl/loader/nacl_main_platform_delegate_linux.cc',
33 'nacl/nacl_main_platform_delegate_win.cc', 33 'nacl/loader/nacl_main_platform_delegate_mac.mm',
34 'nacl/nacl_listener.cc', 34 'nacl/loader/nacl_main_platform_delegate_win.cc',
35 'nacl/nacl_listener.h', 35 'nacl/loader/nacl_listener.cc',
36 'nacl/nacl_validation_db.h', 36 'nacl/loader/nacl_listener.h',
37 'nacl/nacl_validation_query.cc', 37 'nacl/loader/nacl_validation_db.h',
38 'nacl/nacl_validation_query.h', 38 'nacl/loader/nacl_validation_query.cc',
39 'nacl/loader/nacl_validation_query.h',
39 ], 40 ],
40 # TODO(gregoryd): consider switching NaCl to use Chrome OS defines 41 # TODO(gregoryd): consider switching NaCl to use Chrome OS defines
41 'conditions': [ 42 'conditions': [
42 ['OS=="win"', { 43 ['OS=="win"', {
43 'defines': [ 44 'defines': [
44 '__STDC_LIMIT_MACROS=1', 45 '__STDC_LIMIT_MACROS=1',
45 ], 46 ],
46 'include_dirs': [ 47 'include_dirs': [
47 '<(DEPTH)/third_party/wtl/include', 48 '<(DEPTH)/third_party/wtl/include',
48 ], 49 ],
49 },], 50 },],
50 ['OS=="linux"', { 51 ['OS=="linux"', {
51 'defines': [ 52 'defines': [
52 '__STDC_LIMIT_MACROS=1', 53 '__STDC_LIMIT_MACROS=1',
53 ], 54 ],
54 'sources': [ 55 'sources': [
55 'app/nacl_fork_delegate_linux.cc', 56 'nacl/common/nacl_fork_delegate_linux.h',
56 'app/nacl_fork_delegate_linux.h', 57 'nacl/common/nacl_paths.cc',
58 'nacl/common/nacl_paths.h',
59 'nacl/loader/nacl_fork_delegate_linux.cc',
57 ], 60 ],
58 },], 61 },],
59 ], 62 ],
60 }], 63 }],
61 ], 64 ],
62 }, 65 },
63 'conditions': [ 66 'conditions': [
64 ['disable_nacl!=1', { 67 ['disable_nacl!=1', {
65 'targets': [ 68 'targets': [
66 { 69 {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 }, 107 },
105 'dependencies': [ 108 'dependencies': [
106 '../native_client/src/trusted/service_runtime/service_runtime.gy p:sel_main_chrome64', 109 '../native_client/src/trusted/service_runtime/service_runtime.gy p:sel_main_chrome64',
107 '../ppapi/ppapi_internal.gyp:ppapi_shared_win64', 110 '../ppapi/ppapi_internal.gyp:ppapi_shared_win64',
108 '../ppapi/ppapi_internal.gyp:ppapi_ipc_win64', 111 '../ppapi/ppapi_internal.gyp:ppapi_ipc_win64',
109 ], 112 ],
110 'export_dependent_settings': [ 113 'export_dependent_settings': [
111 '../ppapi/ppapi_internal.gyp:ppapi_ipc_win64', 114 '../ppapi/ppapi_internal.gyp:ppapi_ipc_win64',
112 ], 115 ],
113 'sources': [ 116 'sources': [
114 'common/nacl_cmd_line.cc', 117 'nacl/broker/nacl_broker_listener.cc',
115 'common/nacl_debug_exception_handler_win.cc', 118 'nacl/broker/nacl_broker_listener.h',
116 'common/nacl_messages.cc', 119 'nacl/common/nacl_cmd_line.cc',
117 'common/nacl_types.cc', 120 'nacl/common/nacl_debug_exception_handler_win.cc',
118 'nacl/nacl_broker_listener.cc', 121 'nacl/common/nacl_messages.cc',
119 'nacl/nacl_broker_listener.h', 122 'nacl/common/nacl_types.cc',
120 ], 123 ],
121 'include_dirs': [ 124 'include_dirs': [
122 '..', 125 '..',
123 ], 126 ],
124 'defines': [ 127 'defines': [
125 '<@(nacl_win64_defines)', 128 '<@(nacl_win64_defines)',
126 'COMPILE_CONTENT_STATICALLY', 129 'COMPILE_CONTENT_STATICALLY',
127 ], 130 ],
128 'configurations': { 131 'configurations': {
129 'Common_Base': { 132 'Common_Base': {
(...skipping 10 matching lines...) Expand all
140 }], 143 }],
141 ['OS=="linux"', { 144 ['OS=="linux"', {
142 'targets': [ 145 'targets': [
143 { 146 {
144 'target_name': 'nacl_helper', 147 'target_name': 'nacl_helper',
145 'type': 'executable', 148 'type': 'executable',
146 'include_dirs': [ 149 'include_dirs': [
147 '..', 150 '..',
148 ], 151 ],
149 'dependencies': [ 152 'dependencies': [
153 '../components/nacl_common.gypi:nacl_common',
150 '../crypto/crypto.gyp:crypto', 154 '../crypto/crypto.gyp:crypto',
151 '../sandbox/sandbox.gyp:libc_urandom_override', 155 '../sandbox/sandbox.gyp:libc_urandom_override',
152 '../sandbox/sandbox.gyp:sandbox', 156 '../sandbox/sandbox.gyp:sandbox',
153 'nacl', 157 'nacl',
154 ], 158 ],
155 'sources': [ 159 'sources': [
156 'nacl/nacl_helper_linux.cc', 160 'nacl/loader/nacl_helper_linux.cc',
157 'nacl/nacl_sandbox_linux.cc', 161 'nacl/loader/nacl_sandbox_linux.cc',
158 '../base/posix/unix_domain_socket_linux.cc', 162 '../base/posix/unix_domain_socket_linux.cc',
159 '../chrome/common/nacl_messages.cc',
160 '../chrome/common/nacl_types.cc',
161 '../content/common/child_process_sandbox_support_impl_shm_linux. cc', 163 '../content/common/child_process_sandbox_support_impl_shm_linux. cc',
162 '../content/common/sandbox_init_linux.cc', 164 '../content/common/sandbox_init_linux.cc',
163 '../content/common/sandbox_seccomp_bpf_linux.cc', 165 '../content/common/sandbox_seccomp_bpf_linux.cc',
164 '../content/public/common/content_switches.cc', 166 '../content/public/common/content_switches.cc',
165 ], 167 ],
166 'conditions': [ 168 'conditions': [
167 ['toolkit_uses_gtk == 1', { 169 ['toolkit_uses_gtk == 1', {
168 'dependencies': [ 170 'dependencies': [
169 '../build/linux/system.gyp:gtk', 171 '../build/linux/system.gyp:gtk',
170 ], 172 ],
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 'target_name': 'nacl_win64', 209 'target_name': 'nacl_win64',
208 'type': 'none', 210 'type': 'none',
209 'sources': [], 211 'sources': [],
210 }, 212 },
211 ], 213 ],
212 }], 214 }],
213 ], 215 ],
214 }], 216 }],
215 ], 217 ],
216 } 218 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698