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

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

Issue 1262173005: Straightens outs DEPS in mojo/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add dep on system_for_component Created 5 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
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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 group("common") { 7 group("common") {
8 deps = [ 8 deps = [
9 ":common_base", 9 ":common_base",
10 ":url_type_converters", 10 ":url_type_converters",
11 ] 11 ]
12 } 12 }
13 13
14 # GYP version: mojo/mojo_base.gyp:mojo_common_lib 14 # GYP version: mojo/mojo_base.gyp:mojo_common_lib
15 component("common_base") { 15 component("common_base") {
16 output_name = "mojo_common_lib" 16 output_name = "mojo_common_lib"
17 17
18 sources = [ 18 sources = [
19 "common_type_converters.cc", 19 "common_type_converters.cc",
20 "common_type_converters.h", 20 "common_type_converters.h",
21 "data_pipe_file_utils.cc", 21 "data_pipe_file_utils.cc",
22 "data_pipe_utils.cc", 22 "data_pipe_utils.cc",
23 "data_pipe_utils.h", 23 "data_pipe_utils.h",
24 "handle_watcher.cc",
25 "handle_watcher.h",
26 "message_pump_mojo.cc",
27 "message_pump_mojo.h",
28 "message_pump_mojo_handler.h",
29 "time_helper.cc",
30 "time_helper.h",
31 "user_agent.cc", 24 "user_agent.cc",
32 "user_agent.h", 25 "user_agent.h",
33 "weak_binding_set.h", 26 "weak_binding_set.h",
34 "weak_interface_ptr_set.h", 27 "weak_interface_ptr_set.h",
35 ] 28 ]
36 29
37 defines = [ "MOJO_COMMON_IMPLEMENTATION" ] 30 defines = [ "MOJO_COMMON_IMPLEMENTATION" ]
38 31
39 deps = [ 32 deps = [
40 "//base", 33 "//base",
41 "//base/third_party/dynamic_annotations", 34 "//base/third_party/dynamic_annotations",
35 "//mojo/environment:chromium",
42 "//third_party/mojo/src/mojo/public/c/system:for_component", 36 "//third_party/mojo/src/mojo/public/c/system:for_component",
37 "//third_party/mojo/src/mojo/public/cpp/bindings",
38 "//third_party/mojo/src/mojo/public/cpp/environment",
39 "//third_party/mojo/src/mojo/public/cpp/system",
43 ] 40 ]
44 } 41 }
45 42
46 # GYP version: mojo/mojo_base.gyp:mojo_url_type_converters 43 # GYP version: mojo/mojo_base.gyp:mojo_url_type_converters
47 source_set("url_type_converters") { 44 source_set("url_type_converters") {
48 sources = [ 45 sources = [
49 "url_type_converters.cc", 46 "url_type_converters.cc",
50 "url_type_converters.h", 47 "url_type_converters.h",
51 ] 48 ]
52 49
(...skipping 18 matching lines...) Expand all
71 } 68 }
72 69
73 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests 70 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests
74 test("mojo_common_unittests") { 71 test("mojo_common_unittests") {
75 deps = [ 72 deps = [
76 ":common", 73 ":common",
77 "//base", 74 "//base",
78 "//base:message_loop_tests", 75 "//base:message_loop_tests",
79 "//base/test:test_support", 76 "//base/test:test_support",
80 "//mojo/environment:chromium", 77 "//mojo/environment:chromium",
78 "//mojo/message_pump",
81 "//testing/gtest", 79 "//testing/gtest",
82 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", 80 "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
83 "//third_party/mojo/src/mojo/edk/test:test_support", 81 "//third_party/mojo/src/mojo/edk/test:test_support",
84 "//third_party/mojo/src/mojo/public/cpp/bindings", 82 "//third_party/mojo/src/mojo/public/cpp/bindings",
85 "//third_party/mojo/src/mojo/public/cpp/test_support:test_utils", 83 "//third_party/mojo/src/mojo/public/cpp/test_support:test_utils",
86 "//url", 84 "//url",
87 ] 85 ]
88 86
89 sources = [ 87 sources = [
88 # The message_pump tests are so small and some what related to this code
89 # that we put them here.
90 "../message_pump/handle_watcher_unittest.cc",
91 "../message_pump/message_pump_mojo_unittest.cc",
90 "common_type_converters_unittest.cc", 92 "common_type_converters_unittest.cc",
91 "handle_watcher_unittest.cc",
92 "message_pump_mojo_unittest.cc",
93 ] 93 ]
94 } 94 }
95 95
96 if (!is_component_build) { 96 if (!is_component_build) {
97 source_set("tracing_impl") { 97 source_set("tracing_impl") {
98 sources = [ 98 sources = [
99 "trace_controller_impl.cc", 99 "trace_controller_impl.cc",
100 "trace_controller_impl.h", 100 "trace_controller_impl.h",
101 "tracing_impl.cc", 101 "tracing_impl.cc",
102 "tracing_impl.h", 102 "tracing_impl.h",
103 ] 103 ]
104 104
105 deps = [ 105 deps = [
106 "//base", 106 "//base",
107 "//mojo/application/public/cpp", 107 "//mojo/application/public/cpp",
108 "//mojo/services/tracing:bindings", 108 "//mojo/services/tracing:bindings",
109 "//third_party/mojo/src/mojo/public/cpp/bindings", 109 "//third_party/mojo/src/mojo/public/cpp/bindings",
110 ] 110 ]
111 } 111 }
112 } 112 }
OLDNEW
« no previous file with comments | « mojo/application/public/cpp/lib/content_handler_factory.cc ('k') | mojo/common/handle_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698