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

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

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
5 import("//testing/test.gni") 6 import("//testing/test.gni")
6 7
7 group("common") { 8 source_set("common") {
9 sources = [
10 "binding_set.h",
11 "interface_ptr_set.h",
12 "strong_binding_set.h",
13 ]
14
8 deps = [ 15 deps = [
9 ":common_base", 16 "//base",
10 ":url_type_converters", 17 "//third_party/mojo/src/mojo/public/cpp/bindings",
11 ] 18 ]
12 } 19 }
13 20
14 # GYP version: mojo/mojo_base.gyp:mojo_common_lib 21 source_set("tests") {
15 component("common_base") { 22 testonly = true
16 output_name = "mojo_common_lib"
17 23
18 sources = [ 24 sources = [
19 "common_type_converters.cc", 25 "binding_set_unittest.cc",
20 "common_type_converters.h", 26 "callback_binding_unittest.cc",
21 "data_pipe_file_utils.cc", 27 "interface_ptr_set_unittest.cc",
22 "data_pipe_utils.cc", 28 "strong_binding_set_unittest.cc",
23 "data_pipe_utils.h", 29 ]
24 "handle_watcher.cc", 30
25 "handle_watcher.h", 31 deps = [
26 "message_pump_mojo.cc", 32 ":common",
27 "message_pump_mojo.h", 33 ":test_interfaces",
28 "message_pump_mojo_handler.h", 34 "//base",
29 "time_helper.cc", 35 "//mojo/message_pump",
30 "time_helper.h", 36 "//third_party/mojo/src/mojo/public/cpp/bindings",
31 "trace_controller_impl.cc", 37 "//third_party/mojo/src/mojo/public/cpp/bindings:callback",
32 "trace_controller_impl.h", 38 "//third_party/mojo/src/mojo/public/cpp/system",
39 "//testing/gtest",
40 ]
41 }
42
43 #test("mojo_common_unittests") {
44 # deps = [
45 # ":tests",
46 # "//mojo/data_pipe_utils:tests",
47 # "//mojo/edk/test:run_all_unittests",
48 # "//mojo/environment:chromium",
49 # "//mojo/message_pump:tests",
50 # ]
51 #}
52
53 mojom("test_interfaces") {
54 testonly = true
55 sources = [
56 "test_interfaces.mojom",
57 ]
58 }
59
60 source_set("tracing_impl") {
61 sources = [
62 "trace_provider_impl.cc",
63 "trace_provider_impl.h",
33 "tracing_impl.cc", 64 "tracing_impl.cc",
34 "tracing_impl.h", 65 "tracing_impl.h",
35 "user_agent.cc",
36 "user_agent.h",
37 "weak_binding_set.h",
38 "weak_interface_ptr_set.h",
39 ] 66 ]
40 67
41 defines = [ "MOJO_COMMON_IMPLEMENTATION" ]
42
43 deps = [ 68 deps = [
44 "//base", 69 "//base",
45 "//base/third_party/dynamic_annotations", 70 "//third_party/mojo/src/mojo/public/cpp/application",
46 "//third_party/mojo/src/mojo/public/c/system:for_component", 71 "//third_party/mojo/src/mojo/public/cpp/bindings",
47 "//third_party/mojo/src/mojo/services/tracing/public/interfaces", 72 "//mojo/services/tracing/interfaces",
48 ] 73 ]
49 } 74 }
50
51 # GYP version: mojo/mojo_base.gyp:mojo_url_type_converters
52 source_set("url_type_converters") {
53 sources = [
54 "url_type_converters.cc",
55 "url_type_converters.h",
56 ]
57
58 include_dirs = [ "//third_party/mojo/src/" ]
59
60 deps = [
61 ":common_base",
62 "//base",
63 "//base/third_party/dynamic_annotations",
64 "//url",
65 ]
66 }
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