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

Side by Side Diff: mojo/common/BUILD.gn

Issue 554363005: GN: Replace mojo/system.gni with forwarding groups (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/cc/BUILD.gn ('k') | mojo/examples/apptest/BUILD.gn » ('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 import("//mojo/system.gni")
6
7 # GYP version: mojo/mojo_base.gyp:mojo_common_lib 5 # GYP version: mojo/mojo_base.gyp:mojo_common_lib
8 component("common") { 6 component("common") {
9 output_name = "mojo_common_lib" 7 output_name = "mojo_common_lib"
10 8
11 sources = [ 9 sources = [
12 "common_type_converters.cc", 10 "common_type_converters.cc",
13 "common_type_converters.h", 11 "common_type_converters.h",
14 "data_pipe_utils.cc", 12 "data_pipe_utils.cc",
15 "data_pipe_utils.h", 13 "data_pipe_utils.h",
16 "handle_watcher.cc", 14 "handle_watcher.cc",
17 "handle_watcher.h", 15 "handle_watcher.h",
18 "message_pump_mojo.cc", 16 "message_pump_mojo.cc",
19 "message_pump_mojo.h", 17 "message_pump_mojo.h",
20 "message_pump_mojo_handler.h", 18 "message_pump_mojo_handler.h",
21 "time_helper.cc", 19 "time_helper.cc",
22 "time_helper.h", 20 "time_helper.h",
23 ] 21 ]
24 22
25 defines = [ "MOJO_COMMON_IMPLEMENTATION" ] 23 defines = [ "MOJO_COMMON_IMPLEMENTATION" ]
26 24
27 deps = [ 25 deps = [
28 "//base", 26 "//base",
29 "//base/third_party/dynamic_annotations", 27 "//base/third_party/dynamic_annotations",
28 "//mojo/public/c/system:for_component",
30 "//url", 29 "//url",
31 ] + mojo_system_for_component 30 ]
32 } 31 }
33 32
34 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests 33 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests
35 test("mojo_common_unittests") { 34 test("mojo_common_unittests") {
36 deps = [ 35 deps = [
37 ":common", 36 ":common",
38 "//base", 37 "//base",
39 "//base:message_loop_tests", 38 "//base:message_loop_tests",
40 "//mojo/common/test:run_all_unittests", 39 "//mojo/common/test:run_all_unittests",
41 "//mojo/common/test:test_support", 40 "//mojo/common/test:test_support",
42 "//mojo/environment:chromium", 41 "//mojo/environment:chromium",
43 "//mojo/public/cpp/bindings", 42 "//mojo/public/cpp/bindings",
44 "//mojo/public/cpp/test_support:test_utils", 43 "//mojo/public/cpp/test_support:test_utils",
45 "//testing/gtest", 44 "//testing/gtest",
46 "//url", 45 "//url",
47 ] 46 ]
48 47
49 sources = [ 48 sources = [
50 "common_type_converters_unittest.cc", 49 "common_type_converters_unittest.cc",
51 "handle_watcher_unittest.cc", 50 "handle_watcher_unittest.cc",
52 "message_pump_mojo_unittest.cc", 51 "message_pump_mojo_unittest.cc",
53 "test/multiprocess_test_helper_unittest.cc", 52 "test/multiprocess_test_helper_unittest.cc",
54 ] 53 ]
55 } 54 }
OLDNEW
« no previous file with comments | « mojo/cc/BUILD.gn ('k') | mojo/examples/apptest/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698