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

Side by Side Diff: mojo/mojo_base.gyp

Issue 621153003: Move mojo edk into mojo/edk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix checkdeps Created 6 years, 2 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
« no previous file with comments | « mojo/go/tests/system_test.go ('k') | mojo/nacl/monacl_shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
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 # Essential components (and their tests) that are needed to build 5 # Essential components (and their tests) that are needed to build
6 # Chrome should be here. Other components that are useful only in 6 # Chrome should be here. Other components that are useful only in
7 # Mojo land like mojo_shell should be in mojo.gyp. 7 # Mojo land like mojo_shell should be in mojo.gyp.
8 { 8 {
9 'includes': [ 9 'includes': [
10 'mojo_public.gypi', 10 'mojo_public.gypi',
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 '../base/base.gyp:test_support_base', 79 '../base/base.gyp:test_support_base',
80 'mojo_system_impl', 80 'mojo_system_impl',
81 'mojo_test_support', 81 'mojo_test_support',
82 'mojo_test_support_impl', 82 'mojo_test_support_impl',
83 ], 83 ],
84 'sources': [ 84 'sources': [
85 'common/test/run_all_perftests.cc', 85 'common/test/run_all_perftests.cc',
86 ], 86 ],
87 }, 87 },
88 { 88 {
89 # GN version: //mojo/system 89 # GN version: //mojo/edk/system
90 'target_name': 'mojo_system_impl', 90 'target_name': 'mojo_system_impl',
91 'type': '<(component)', 91 'type': '<(component)',
92 'dependencies': [ 92 'dependencies': [
93 '../base/base.gyp:base', 93 '../base/base.gyp:base',
94 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 94 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
95 ], 95 ],
96 'defines': [ 96 'defines': [
97 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', 97 'MOJO_SYSTEM_IMPL_IMPLEMENTATION',
98 'MOJO_SYSTEM_IMPLEMENTATION', 98 'MOJO_SYSTEM_IMPLEMENTATION',
99 'MOJO_USE_SYSTEM_IMPL', 99 'MOJO_USE_SYSTEM_IMPL',
100 ], 100 ],
101 'sources': [ 101 'sources': [
102 'embedder/channel_init.cc', 102 'edk/embedder/channel_init.cc',
103 'embedder/channel_init.h', 103 'edk/embedder/channel_init.h',
104 'embedder/embedder.cc', 104 'edk/embedder/embedder.cc',
105 'embedder/embedder.h', 105 'edk/embedder/embedder.h',
106 'embedder/platform_channel_pair.cc', 106 'edk/embedder/platform_channel_pair.cc',
107 'embedder/platform_channel_pair.h', 107 'edk/embedder/platform_channel_pair.h',
108 'embedder/platform_channel_pair_posix.cc', 108 'edk/embedder/platform_channel_pair_posix.cc',
109 'embedder/platform_channel_pair_win.cc', 109 'edk/embedder/platform_channel_pair_win.cc',
110 'embedder/platform_channel_utils_posix.cc', 110 'edk/embedder/platform_channel_utils_posix.cc',
111 'embedder/platform_channel_utils_posix.h', 111 'edk/embedder/platform_channel_utils_posix.h',
112 'embedder/platform_handle.cc', 112 'edk/embedder/platform_handle.cc',
113 'embedder/platform_handle.h', 113 'edk/embedder/platform_handle.h',
114 'embedder/platform_handle_utils.h', 114 'edk/embedder/platform_handle_utils.h',
115 'embedder/platform_handle_utils_posix.cc', 115 'edk/embedder/platform_handle_utils_posix.cc',
116 'embedder/platform_handle_utils_win.cc', 116 'edk/embedder/platform_handle_utils_win.cc',
117 'embedder/platform_handle_vector.h', 117 'edk/embedder/platform_handle_vector.h',
118 'embedder/platform_shared_buffer.h', 118 'edk/embedder/platform_shared_buffer.h',
119 'embedder/platform_support.h', 119 'edk/embedder/platform_support.h',
120 'embedder/scoped_platform_handle.h', 120 'edk/embedder/scoped_platform_handle.h',
121 'embedder/simple_platform_shared_buffer.cc', 121 'edk/embedder/simple_platform_shared_buffer.cc',
122 'embedder/simple_platform_shared_buffer.h', 122 'edk/embedder/simple_platform_shared_buffer.h',
123 'embedder/simple_platform_shared_buffer_posix.cc', 123 'edk/embedder/simple_platform_shared_buffer_posix.cc',
124 'embedder/simple_platform_shared_buffer_win.cc', 124 'edk/embedder/simple_platform_shared_buffer_win.cc',
125 'embedder/simple_platform_support.cc', 125 'edk/embedder/simple_platform_support.cc',
126 'embedder/simple_platform_support.h', 126 'edk/embedder/simple_platform_support.h',
127 'system/channel.cc', 127 'edk/system/channel.cc',
128 'system/channel.h', 128 'edk/system/channel.h',
129 'system/channel_endpoint.cc', 129 'edk/system/channel_endpoint.cc',
130 'system/channel_endpoint.h', 130 'edk/system/channel_endpoint.h',
131 'system/constants.h', 131 'edk/system/constants.h',
132 'system/core.cc', 132 'edk/system/core.cc',
133 'system/core.h', 133 'edk/system/core.h',
134 'system/data_pipe.cc', 134 'edk/system/data_pipe.cc',
135 'system/data_pipe.h', 135 'edk/system/data_pipe.h',
136 'system/data_pipe_consumer_dispatcher.cc', 136 'edk/system/data_pipe_consumer_dispatcher.cc',
137 'system/data_pipe_consumer_dispatcher.h', 137 'edk/system/data_pipe_consumer_dispatcher.h',
138 'system/data_pipe_producer_dispatcher.cc', 138 'edk/system/data_pipe_producer_dispatcher.cc',
139 'system/data_pipe_producer_dispatcher.h', 139 'edk/system/data_pipe_producer_dispatcher.h',
140 'system/dispatcher.cc', 140 'edk/system/dispatcher.cc',
141 'system/dispatcher.h', 141 'edk/system/dispatcher.h',
142 'system/entrypoints.cc', 142 'edk/system/entrypoints.cc',
143 'system/handle_signals_state.h', 143 'edk/system/handle_signals_state.h',
144 'system/handle_table.cc', 144 'edk/system/handle_table.cc',
145 'system/handle_table.h', 145 'edk/system/handle_table.h',
146 'system/local_data_pipe.cc', 146 'edk/system/local_data_pipe.cc',
147 'system/local_data_pipe.h', 147 'edk/system/local_data_pipe.h',
148 'system/local_message_pipe_endpoint.cc', 148 'edk/system/local_message_pipe_endpoint.cc',
149 'system/local_message_pipe_endpoint.h', 149 'edk/system/local_message_pipe_endpoint.h',
150 'system/mapping_table.cc', 150 'edk/system/mapping_table.cc',
151 'system/mapping_table.h', 151 'edk/system/mapping_table.h',
152 'system/memory.cc', 152 'edk/system/memory.cc',
153 'system/memory.h', 153 'edk/system/memory.h',
154 'system/message_in_transit.cc', 154 'edk/system/message_in_transit.cc',
155 'system/message_in_transit.h', 155 'edk/system/message_in_transit.h',
156 'system/message_in_transit_queue.cc', 156 'edk/system/message_in_transit_queue.cc',
157 'system/message_in_transit_queue.h', 157 'edk/system/message_in_transit_queue.h',
158 'system/message_pipe.cc', 158 'edk/system/message_pipe.cc',
159 'system/message_pipe.h', 159 'edk/system/message_pipe.h',
160 'system/message_pipe_dispatcher.cc', 160 'edk/system/message_pipe_dispatcher.cc',
161 'system/message_pipe_dispatcher.h', 161 'edk/system/message_pipe_dispatcher.h',
162 'system/message_pipe_endpoint.cc', 162 'edk/system/message_pipe_endpoint.cc',
163 'system/message_pipe_endpoint.h', 163 'edk/system/message_pipe_endpoint.h',
164 'system/options_validation.h', 164 'edk/system/options_validation.h',
165 'system/platform_handle_dispatcher.cc', 165 'edk/system/platform_handle_dispatcher.cc',
166 'system/platform_handle_dispatcher.h', 166 'edk/system/platform_handle_dispatcher.h',
167 'system/proxy_message_pipe_endpoint.cc', 167 'edk/system/proxy_message_pipe_endpoint.cc',
168 'system/proxy_message_pipe_endpoint.h', 168 'edk/system/proxy_message_pipe_endpoint.h',
169 'system/raw_channel.cc', 169 'edk/system/raw_channel.cc',
170 'system/raw_channel.h', 170 'edk/system/raw_channel.h',
171 'system/raw_channel_posix.cc', 171 'edk/system/raw_channel_posix.cc',
172 'system/raw_channel_win.cc', 172 'edk/system/raw_channel_win.cc',
173 'system/shared_buffer_dispatcher.cc', 173 'edk/system/shared_buffer_dispatcher.cc',
174 'system/shared_buffer_dispatcher.h', 174 'edk/system/shared_buffer_dispatcher.h',
175 'system/simple_dispatcher.cc', 175 'edk/system/simple_dispatcher.cc',
176 'system/simple_dispatcher.h', 176 'edk/system/simple_dispatcher.h',
177 'system/transport_data.cc', 177 'edk/system/transport_data.cc',
178 'system/transport_data.h', 178 'edk/system/transport_data.h',
179 'system/waiter.cc', 179 'edk/system/waiter.cc',
180 'system/waiter.h', 180 'edk/system/waiter.h',
181 'system/waiter_list.cc', 181 'edk/system/waiter_list.cc',
182 'system/waiter_list.h', 182 'edk/system/waiter_list.h',
183 # Test-only code: 183 # Test-only code:
184 # TODO(vtl): It's a little unfortunate that these end up in the same 184 # TODO(vtl): It's a little unfortunate that these end up in the same
185 # component as non-test-only code. In the static build, this code should 185 # component as non-test-only code. In the static build, this code should
186 # hopefully be dead-stripped. 186 # hopefully be dead-stripped.
187 'embedder/test_embedder.cc', 187 'edk/embedder/test_embedder.cc',
188 'embedder/test_embedder.h', 188 'edk/embedder/test_embedder.h',
189 ], 189 ],
190 'all_dependent_settings': { 190 'all_dependent_settings': {
191 # Ensures that dependent projects import the core functions on Windows. 191 # Ensures that dependent projects import the core functions on Windows.
192 'defines': ['MOJO_USE_SYSTEM_IMPL'], 192 'defines': ['MOJO_USE_SYSTEM_IMPL'],
193 } 193 }
194 }, 194 },
195 { 195 {
196 # GN version: //mojo/system:mojo_system_unittests 196 # GN version: //mojo/edk/system:mojo_system_unittests
197 'target_name': 'mojo_system_unittests', 197 'target_name': 'mojo_system_unittests',
198 'type': 'executable', 198 'type': 'executable',
199 'dependencies': [ 199 'dependencies': [
200 '../base/base.gyp:base', 200 '../base/base.gyp:base',
201 '../testing/gtest.gyp:gtest', 201 '../testing/gtest.gyp:gtest',
202 'mojo_common_test_support', 202 'mojo_common_test_support',
203 'mojo_system_impl', 203 'mojo_system_impl',
204 ], 204 ],
205 'sources': [ 205 'sources': [
206 'embedder/embedder_unittest.cc', 206 'edk/embedder/embedder_unittest.cc',
207 'embedder/platform_channel_pair_posix_unittest.cc', 207 'edk/embedder/platform_channel_pair_posix_unittest.cc',
208 'embedder/simple_platform_shared_buffer_unittest.cc', 208 'edk/embedder/simple_platform_shared_buffer_unittest.cc',
209 'system/channel_unittest.cc', 209 'edk/system/channel_unittest.cc',
210 'system/core_unittest.cc', 210 'edk/system/core_unittest.cc',
211 'system/core_test_base.cc', 211 'edk/system/core_test_base.cc',
212 'system/core_test_base.h', 212 'edk/system/core_test_base.h',
213 'system/data_pipe_unittest.cc', 213 'edk/system/data_pipe_unittest.cc',
214 'system/dispatcher_unittest.cc', 214 'edk/system/dispatcher_unittest.cc',
215 'system/local_data_pipe_unittest.cc', 215 'edk/system/local_data_pipe_unittest.cc',
216 'system/memory_unittest.cc', 216 'edk/system/memory_unittest.cc',
217 'system/message_pipe_dispatcher_unittest.cc', 217 'edk/system/message_pipe_dispatcher_unittest.cc',
218 'system/message_pipe_test_utils.h', 218 'edk/system/message_pipe_test_utils.h',
219 'system/message_pipe_test_utils.cc', 219 'edk/system/message_pipe_test_utils.cc',
220 'system/message_pipe_unittest.cc', 220 'edk/system/message_pipe_unittest.cc',
221 'system/multiprocess_message_pipe_unittest.cc', 221 'edk/system/multiprocess_message_pipe_unittest.cc',
222 'system/options_validation_unittest.cc', 222 'edk/system/options_validation_unittest.cc',
223 'system/platform_handle_dispatcher_unittest.cc', 223 'edk/system/platform_handle_dispatcher_unittest.cc',
224 'system/raw_channel_unittest.cc', 224 'edk/system/raw_channel_unittest.cc',
225 'system/remote_message_pipe_unittest.cc', 225 'edk/system/remote_message_pipe_unittest.cc',
226 'system/run_all_unittests.cc', 226 'edk/system/run_all_unittests.cc',
227 'system/shared_buffer_dispatcher_unittest.cc', 227 'edk/system/shared_buffer_dispatcher_unittest.cc',
228 'system/simple_dispatcher_unittest.cc', 228 'edk/system/simple_dispatcher_unittest.cc',
229 'system/test_utils.cc', 229 'edk/system/test_utils.cc',
230 'system/test_utils.h', 230 'edk/system/test_utils.h',
231 'system/waiter_list_unittest.cc', 231 'edk/system/waiter_list_unittest.cc',
232 'system/waiter_test_utils.cc', 232 'edk/system/waiter_test_utils.cc',
233 'system/waiter_test_utils.h', 233 'edk/system/waiter_test_utils.h',
234 'system/waiter_unittest.cc', 234 'edk/system/waiter_unittest.cc',
235 ], 235 ],
236 'conditions': [ 236 'conditions': [
237 ['OS=="ios"', { 237 ['OS=="ios"', {
238 'sources!': [ 238 'sources!': [
239 'embedder/embedder_unittest.cc', 239 'edk/embedder/embedder_unittest.cc',
240 'system/multiprocess_message_pipe_unittest.cc', 240 'edk/system/multiprocess_message_pipe_unittest.cc',
241 ], 241 ],
242 }], 242 }],
243 ], 243 ],
244 }, 244 },
245 { 245 {
246 # GN version: //mojo/system:mojo_message_pipe_perftests 246 # GN version: //mojo/edk/system:mojo_message_pipe_perftests
247 'target_name': 'mojo_message_pipe_perftests', 247 'target_name': 'mojo_message_pipe_perftests',
248 'type': 'executable', 248 'type': 'executable',
249 'dependencies': [ 249 'dependencies': [
250 '../base/base.gyp:base', 250 '../base/base.gyp:base',
251 '../base/base.gyp:test_support_base', 251 '../base/base.gyp:test_support_base',
252 '../base/base.gyp:test_support_perf', 252 '../base/base.gyp:test_support_perf',
253 '../testing/gtest.gyp:gtest', 253 '../testing/gtest.gyp:gtest',
254 'mojo_common_test_support', 254 'mojo_common_test_support',
255 'mojo_environment_chromium', 255 'mojo_environment_chromium',
256 'mojo_system_impl', 256 'mojo_system_impl',
257 ], 257 ],
258 'sources': [ 258 'sources': [
259 'system/message_pipe_perftest.cc', 259 'edk/system/message_pipe_perftest.cc',
260 'system/message_pipe_test_utils.h', 260 'edk/system/message_pipe_test_utils.h',
261 'system/message_pipe_test_utils.cc', 261 'edk/system/message_pipe_test_utils.cc',
262 'system/test_utils.cc', 262 'edk/system/test_utils.cc',
263 'system/test_utils.h', 263 'edk/system/test_utils.h',
264 ], 264 ],
265 }, 265 },
266 { 266 {
267 # GN version: //mojo/common/test:test_support_impl 267 # GN version: //mojo/common/test:test_support_impl
268 'target_name': 'mojo_test_support_impl', 268 'target_name': 'mojo_test_support_impl',
269 'type': 'static_library', 269 'type': 'static_library',
270 'dependencies': [ 270 'dependencies': [
271 '../base/base.gyp:base', 271 '../base/base.gyp:base',
272 ], 272 ],
273 'sources': [ 273 'sources': [
(...skipping 25 matching lines...) Expand all
299 'common/handle_watcher.cc', 299 'common/handle_watcher.cc',
300 'common/handle_watcher.h', 300 'common/handle_watcher.h',
301 'common/message_pump_mojo.cc', 301 'common/message_pump_mojo.cc',
302 'common/message_pump_mojo.h', 302 'common/message_pump_mojo.h',
303 'common/message_pump_mojo_handler.h', 303 'common/message_pump_mojo_handler.h',
304 'common/time_helper.cc', 304 'common/time_helper.cc',
305 'common/time_helper.h', 305 'common/time_helper.h',
306 ], 306 ],
307 }, 307 },
308 { 308 {
309 # GN version: //mojo/common/test:test_support 309 # GN version: //mojo/edk/test:test_support
310 'target_name': 'mojo_common_test_support', 310 'target_name': 'mojo_common_test_support',
311 'type': 'static_library', 311 'type': 'static_library',
312 'dependencies': [ 312 'dependencies': [
313 '../base/base.gyp:base', 313 '../base/base.gyp:base',
314 '../base/base.gyp:test_support_base', 314 '../base/base.gyp:test_support_base',
315 '../testing/gtest.gyp:gtest', 315 '../testing/gtest.gyp:gtest',
316 'mojo_system_impl', 316 'mojo_system_impl',
317 ], 317 ],
318 'sources': [ 318 'sources': [
319 'common/test/multiprocess_test_helper.cc', 319 'edk/test/multiprocess_test_helper.cc',
320 'common/test/multiprocess_test_helper.h', 320 'edk/test/multiprocess_test_helper.h',
321 'common/test/test_utils.h', 321 'edk/test/test_utils.h',
322 'common/test/test_utils_posix.cc', 322 'edk/test/test_utils_posix.cc',
323 'common/test/test_utils_win.cc', 323 'edk/test/test_utils_win.cc',
324 ], 324 ],
325 'conditions': [ 325 'conditions': [
326 ['OS=="ios"', { 326 ['OS=="ios"', {
327 'sources!': [ 327 'sources!': [
328 'common/test/multiprocess_test_helper.cc', 328 'edk/test/multiprocess_test_helper.cc',
329 ], 329 ],
330 }], 330 }],
331 ], 331 ],
332 }, 332 },
333 { 333 {
334 # GN version: //mojo/common:mojo_common_unittests 334 # GN version: //mojo/common:mojo_common_unittests
335 'target_name': 'mojo_common_unittests', 335 'target_name': 'mojo_common_unittests',
336 'type': 'executable', 336 'type': 'executable',
337 'dependencies': [ 337 'dependencies': [
338 '../base/base.gyp:base', 338 '../base/base.gyp:base',
339 '../base/base.gyp:base_message_loop_tests', 339 '../base/base.gyp:base_message_loop_tests',
340 '../testing/gtest.gyp:gtest', 340 '../testing/gtest.gyp:gtest',
341 '../url/url.gyp:url_lib', 341 '../url/url.gyp:url_lib',
342 'mojo_cpp_bindings', 342 'mojo_cpp_bindings',
343 'mojo_environment_chromium', 343 'mojo_environment_chromium',
344 'mojo_common_lib', 344 'mojo_common_lib',
345 'mojo_common_test_support', 345 'mojo_common_test_support',
346 'mojo_public_test_utils', 346 'mojo_public_test_utils',
347 'mojo_run_all_unittests', 347 'mojo_run_all_unittests',
348 ], 348 ],
349 'sources': [ 349 'sources': [
350 'common/common_type_converters_unittest.cc', 350 'common/common_type_converters_unittest.cc',
351 'common/handle_watcher_unittest.cc', 351 'common/handle_watcher_unittest.cc',
352 'common/message_pump_mojo_unittest.cc', 352 'common/message_pump_mojo_unittest.cc',
353 'common/test/multiprocess_test_helper_unittest.cc', 353 'edk/test/multiprocess_test_helper_unittest.cc',
354 ], 354 ],
355 'conditions': [ 355 'conditions': [
356 ['OS=="ios"', { 356 ['OS=="ios"', {
357 'sources!': [ 357 'sources!': [
358 'common/test/multiprocess_test_helper_unittest.cc', 358 'edk/test/multiprocess_test_helper_unittest.cc',
359 ], 359 ],
360 }], 360 }],
361 ], 361 ],
362 }, 362 },
363 { 363 {
364 # GN version: //mojo/environment:chromium 364 # GN version: //mojo/environment:chromium
365 'target_name': 'mojo_environment_chromium', 365 'target_name': 'mojo_environment_chromium',
366 'type': 'static_library', 366 'type': 'static_library',
367 'dependencies': [ 367 'dependencies': [
368 'mojo_environment_chromium_impl', 368 'mojo_environment_chromium_impl',
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 'emma_instrument': 1, 633 'emma_instrument': 1,
634 }], 634 }],
635 ], 635 ],
636 }, 636 },
637 'includes': [ '../build/java_apk.gypi' ], 637 'includes': [ '../build/java_apk.gypi' ],
638 }, 638 },
639 ] 639 ]
640 }], 640 }],
641 ] 641 ]
642 } 642 }
OLDNEW
« no previous file with comments | « mojo/go/tests/system_test.go ('k') | mojo/nacl/monacl_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698