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

Side by Side Diff: mojo/mojo_base.gyp

Issue 494523004: GN: Build rules and fixes for (almost) all mojo unittest targets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « mojo/mojo_apps.gypi ('k') | mojo/mojo_public_tests.gypi » ('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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 'mojo_test_apk', 44 'mojo_test_apk',
45 ], 45 ],
46 }], 46 }],
47 ] 47 ]
48 }, 48 },
49 { 49 {
50 'target_name': 'mojo_none', 50 'target_name': 'mojo_none',
51 'type': 'none', 51 'type': 'none',
52 }, 52 },
53 { 53 {
54 # GN version: //mojo/common/test:run_all_unittests
54 'target_name': 'mojo_run_all_unittests', 55 'target_name': 'mojo_run_all_unittests',
55 'type': 'static_library', 56 'type': 'static_library',
56 'dependencies': [ 57 'dependencies': [
57 '../base/base.gyp:base', 58 '../base/base.gyp:base',
58 '../base/base.gyp:test_support_base', 59 '../base/base.gyp:test_support_base',
59 '../testing/gtest.gyp:gtest', 60 '../testing/gtest.gyp:gtest',
60 'mojo_system_impl', 61 'mojo_system_impl',
61 'mojo_test_support', 62 'mojo_test_support',
62 'mojo_test_support_impl', 63 'mojo_test_support_impl',
63 ], 64 ],
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 # hopefully be dead-stripped. 178 # hopefully be dead-stripped.
178 'embedder/test_embedder.cc', 179 'embedder/test_embedder.cc',
179 'embedder/test_embedder.h', 180 'embedder/test_embedder.h',
180 ], 181 ],
181 'all_dependent_settings': { 182 'all_dependent_settings': {
182 # Ensures that dependent projects import the core functions on Windows. 183 # Ensures that dependent projects import the core functions on Windows.
183 'defines': ['MOJO_USE_SYSTEM_IMPL'], 184 'defines': ['MOJO_USE_SYSTEM_IMPL'],
184 } 185 }
185 }, 186 },
186 { 187 {
188 # GN version: //mojo/system:mojo_system_unittests
187 'target_name': 'mojo_system_unittests', 189 'target_name': 'mojo_system_unittests',
188 'type': 'executable', 190 'type': 'executable',
189 'dependencies': [ 191 'dependencies': [
190 '../base/base.gyp:base', 192 '../base/base.gyp:base',
191 '../testing/gtest.gyp:gtest', 193 '../testing/gtest.gyp:gtest',
192 'mojo_common_test_support', 194 'mojo_common_test_support',
193 'mojo_system_impl', 195 'mojo_system_impl',
194 ], 196 ],
195 'sources': [ 197 'sources': [
196 'embedder/embedder_unittest.cc', 198 'embedder/embedder_unittest.cc',
(...skipping 19 matching lines...) Expand all
216 'system/simple_dispatcher_unittest.cc', 218 'system/simple_dispatcher_unittest.cc',
217 'system/test_utils.cc', 219 'system/test_utils.cc',
218 'system/test_utils.h', 220 'system/test_utils.h',
219 'system/waiter_list_unittest.cc', 221 'system/waiter_list_unittest.cc',
220 'system/waiter_test_utils.cc', 222 'system/waiter_test_utils.cc',
221 'system/waiter_test_utils.h', 223 'system/waiter_test_utils.h',
222 'system/waiter_unittest.cc', 224 'system/waiter_unittest.cc',
223 ], 225 ],
224 }, 226 },
225 { 227 {
228 # GN version: //mojo/common/test:test_support_impl
226 'target_name': 'mojo_test_support_impl', 229 'target_name': 'mojo_test_support_impl',
227 'type': 'static_library', 230 'type': 'static_library',
228 'dependencies': [ 231 'dependencies': [
229 '../base/base.gyp:base', 232 '../base/base.gyp:base',
230 ], 233 ],
231 'sources': [ 234 'sources': [
232 'common/test/test_support_impl.cc', 235 'common/test/test_support_impl.cc',
233 'common/test/test_support_impl.h', 236 'common/test/test_support_impl.h',
234 ], 237 ],
235 }, 238 },
(...skipping 21 matching lines...) Expand all
257 'common/handle_watcher.cc', 260 'common/handle_watcher.cc',
258 'common/handle_watcher.h', 261 'common/handle_watcher.h',
259 'common/message_pump_mojo.cc', 262 'common/message_pump_mojo.cc',
260 'common/message_pump_mojo.h', 263 'common/message_pump_mojo.h',
261 'common/message_pump_mojo_handler.h', 264 'common/message_pump_mojo_handler.h',
262 'common/time_helper.cc', 265 'common/time_helper.cc',
263 'common/time_helper.h', 266 'common/time_helper.h',
264 ], 267 ],
265 }, 268 },
266 { 269 {
270 # GN version: //mojo/common/test:test_support
267 'target_name': 'mojo_common_test_support', 271 'target_name': 'mojo_common_test_support',
268 'type': 'static_library', 272 'type': 'static_library',
269 'dependencies': [ 273 'dependencies': [
270 '../base/base.gyp:base', 274 '../base/base.gyp:base',
271 '../base/base.gyp:test_support_base', 275 '../base/base.gyp:test_support_base',
272 '../testing/gtest.gyp:gtest', 276 '../testing/gtest.gyp:gtest',
273 'mojo_system_impl', 277 'mojo_system_impl',
274 ], 278 ],
275 'sources': [ 279 'sources': [
276 'common/test/multiprocess_test_helper.cc', 280 'common/test/multiprocess_test_helper.cc',
277 'common/test/multiprocess_test_helper.h', 281 'common/test/multiprocess_test_helper.h',
278 'common/test/test_utils.h', 282 'common/test/test_utils.h',
279 'common/test/test_utils_posix.cc', 283 'common/test/test_utils_posix.cc',
280 'common/test/test_utils_win.cc', 284 'common/test/test_utils_win.cc',
281 ], 285 ],
282 }, 286 },
283 { 287 {
288 # GN version: //mojo/common:mojo_common_unittests
284 'target_name': 'mojo_common_unittests', 289 'target_name': 'mojo_common_unittests',
285 'type': 'executable', 290 'type': 'executable',
286 'dependencies': [ 291 'dependencies': [
287 '../base/base.gyp:base', 292 '../base/base.gyp:base',
288 '../base/base.gyp:base_message_loop_tests', 293 '../base/base.gyp:base_message_loop_tests',
289 '../testing/gtest.gyp:gtest', 294 '../testing/gtest.gyp:gtest',
290 '../url/url.gyp:url_lib', 295 '../url/url.gyp:url_lib',
291 'mojo_cpp_bindings', 296 'mojo_cpp_bindings',
292 'mojo_environment_chromium', 297 'mojo_environment_chromium',
293 'mojo_common_lib', 298 'mojo_common_lib',
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 'mojo_js_unittests.isolate', 583 'mojo_js_unittests.isolate',
579 ], 584 ],
580 'sources': [ 585 'sources': [
581 'mojo_js_unittests.isolate', 586 'mojo_js_unittests.isolate',
582 ], 587 ],
583 }, 588 },
584 ], 589 ],
585 }], 590 }],
586 ] 591 ]
587 } 592 }
OLDNEW
« no previous file with comments | « mojo/mojo_apps.gypi ('k') | mojo/mojo_public_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698