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

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

Issue 1049993002: Get mojo_shell building inside chromium checkout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit Created 5 years, 8 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/application/content_handler_factory.cc ('k') | mojo/common/DEPS » ('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("//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_utils.cc", 22 "data_pipe_utils.cc",
22 "data_pipe_utils.h", 23 "data_pipe_utils.h",
23 "handle_watcher.cc", 24 "handle_watcher.cc",
24 "handle_watcher.h", 25 "handle_watcher.h",
25 "message_pump_mojo.cc", 26 "message_pump_mojo.cc",
26 "message_pump_mojo.h", 27 "message_pump_mojo.h",
27 "message_pump_mojo_handler.h", 28 "message_pump_mojo_handler.h",
28 "time_helper.cc", 29 "time_helper.cc",
29 "time_helper.h", 30 "time_helper.h",
31 "weak_binding_set.h",
32 "weak_interface_ptr_set.h",
30 ] 33 ]
31 34
32 defines = [ "MOJO_COMMON_IMPLEMENTATION" ] 35 defines = [ "MOJO_COMMON_IMPLEMENTATION" ]
33 36
34 deps = [ 37 deps = [
35 "//base", 38 "//base",
36 "//base/third_party/dynamic_annotations", 39 "//base/third_party/dynamic_annotations",
37 "//third_party/mojo/src/mojo/public/c/system:for_component", 40 "//third_party/mojo/src/mojo/public/c/system:for_component",
38 ] 41 ]
39 } 42 }
(...skipping 29 matching lines...) Expand all
69 "//third_party/mojo/src/mojo/public/cpp/test_support:test_utils", 72 "//third_party/mojo/src/mojo/public/cpp/test_support:test_utils",
70 "//url", 73 "//url",
71 ] 74 ]
72 75
73 sources = [ 76 sources = [
74 "common_type_converters_unittest.cc", 77 "common_type_converters_unittest.cc",
75 "handle_watcher_unittest.cc", 78 "handle_watcher_unittest.cc",
76 "message_pump_mojo_unittest.cc", 79 "message_pump_mojo_unittest.cc",
77 ] 80 ]
78 } 81 }
82
83 if (!is_component_build) {
84 source_set("tracing_impl") {
85 sources = [
86 "trace_controller_impl.cc",
87 "trace_controller_impl.h",
88 "tracing_impl.cc",
89 "tracing_impl.h",
90 ]
91
92 deps = [
93 "//base",
94 "//third_party/mojo/src/mojo/public/cpp/application",
95 "//third_party/mojo/src/mojo/public/cpp/bindings",
96 "//mojo/services/tracing:bindings",
97 ]
98 }
99 }
OLDNEW
« no previous file with comments | « mojo/application/content_handler_factory.cc ('k') | mojo/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698