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

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

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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/public/java/BUILD.gn ('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 public_deps = [ 8 public_deps = [
9 ":common_base", 9 ":common_base",
10 ":url_type_converters", 10 ":url_type_converters",
(...skipping 14 matching lines...) Expand all
25 "data_pipe_utils.h", 25 "data_pipe_utils.h",
26 "user_agent.cc", 26 "user_agent.cc",
27 "user_agent.h", 27 "user_agent.h",
28 "weak_binding_set.h", 28 "weak_binding_set.h",
29 "weak_interface_ptr_set.h", 29 "weak_interface_ptr_set.h",
30 ] 30 ]
31 31
32 defines = [ "MOJO_COMMON_IMPLEMENTATION" ] 32 defines = [ "MOJO_COMMON_IMPLEMENTATION" ]
33 33
34 public_deps = [ 34 public_deps = [
35 "//third_party/mojo/src/mojo/public/cpp/system", 35 "//mojo/public/cpp/system",
36 ] 36 ]
37 37
38 deps = [ 38 deps = [
39 "//base", 39 "//base",
40 "//base/third_party/dynamic_annotations", 40 "//base/third_party/dynamic_annotations",
41 "//mojo/environment:chromium", 41 "//mojo/environment:chromium",
42 "//mojo/message_pump", 42 "//mojo/message_pump",
43 "//third_party/mojo/src/mojo/public/c/system:for_component", 43 "//mojo/public/c/system:for_component",
44 "//third_party/mojo/src/mojo/public/cpp/bindings", 44 "//mojo/public/cpp/bindings",
45 "//third_party/mojo/src/mojo/public/cpp/environment", 45 "//mojo/public/cpp/environment",
46 ] 46 ]
47 } 47 }
48 48
49 # GYP version: mojo/mojo_base.gyp:mojo_url_type_converters 49 # GYP version: mojo/mojo_base.gyp:mojo_url_type_converters
50 source_set("url_type_converters") { 50 source_set("url_type_converters") {
51 sources = [ 51 sources = [
52 "url_type_converters.cc", 52 "url_type_converters.cc",
53 "url_type_converters.h", 53 "url_type_converters.h",
54 ] 54 ]
55 55
56 include_dirs = [ "//third_party/mojo/src/" ] 56 include_dirs = [ "//third_party/mojo/src/" ]
57 57
58 deps = [ 58 deps = [
59 ":common_base", 59 ":common_base",
60 "//base", 60 "//base",
61 "//base/third_party/dynamic_annotations", 61 "//base/third_party/dynamic_annotations",
62 "//third_party/mojo/src/mojo/public/cpp/bindings", 62 "//mojo/public/cpp/bindings",
63 "//url", 63 "//url",
64 ] 64 ]
65 } 65 }
66 66
67 # TODO(GYP): Delete this after we've converted everything to GN. 67 # TODO(GYP): Delete this after we've converted everything to GN.
68 # The _run targets exist only for compatibility w/ GYP. 68 # The _run targets exist only for compatibility w/ GYP.
69 group("mojo_common_unittests_run") { 69 group("mojo_common_unittests_run") {
70 testonly = true 70 testonly = true
71 deps = [ 71 deps = [
72 ":mojo_common_unittests", 72 ":mojo_common_unittests",
73 ] 73 ]
74 } 74 }
75 75
76 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests 76 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests
77 test("mojo_common_unittests") { 77 test("mojo_common_unittests") {
78 deps = [ 78 deps = [
79 ":common", 79 ":common",
80 "//base", 80 "//base",
81 "//base:message_loop_tests", 81 "//base:message_loop_tests",
82 "//base/test:test_support", 82 "//base/test:test_support",
83 "//mojo/environment:chromium", 83 "//mojo/environment:chromium",
84 "//mojo/message_pump", 84 "//mojo/message_pump",
85 "//mojo/public/cpp/bindings",
86 "//mojo/public/cpp/test_support:test_utils",
85 "//testing/gtest", 87 "//testing/gtest",
86 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", 88 "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
87 "//third_party/mojo/src/mojo/edk/test:test_support", 89 "//third_party/mojo/src/mojo/edk/test:test_support",
88 "//third_party/mojo/src/mojo/public/cpp/bindings",
89 "//third_party/mojo/src/mojo/public/cpp/test_support:test_utils",
90 "//url", 90 "//url",
91 ] 91 ]
92 92
93 sources = [ 93 sources = [
94 # The message_pump tests are so small and some what related to this code 94 # The message_pump tests are so small and some what related to this code
95 # that we put them here. 95 # that we put them here.
96 "../message_pump/handle_watcher_unittest.cc", 96 "../message_pump/handle_watcher_unittest.cc",
97 "../message_pump/message_pump_mojo_unittest.cc", 97 "../message_pump/message_pump_mojo_unittest.cc",
98 "common_type_converters_unittest.cc", 98 "common_type_converters_unittest.cc",
99 ] 99 ]
100 } 100 }
101 101
102 test("mojo_common_perftests") { 102 test("mojo_common_perftests") {
103 deps = [ 103 deps = [
104 ":common", 104 ":common",
105 "//base", 105 "//base",
106 "//mojo/environment:chromium", 106 "//mojo/environment:chromium",
107 "//mojo/message_pump", 107 "//mojo/message_pump",
108 "//mojo/public/cpp/test_support:test_utils",
108 "//testing/gtest", 109 "//testing/gtest",
109 "//third_party/mojo/src/mojo/edk/test:run_all_perftests", 110 "//third_party/mojo/src/mojo/edk/test:run_all_perftests",
110 "//third_party/mojo/src/mojo/public/cpp/test_support:test_utils",
111 ] 111 ]
112 112
113 sources = [ 113 sources = [
114 "../message_pump/handle_watcher_perftest.cc", 114 "../message_pump/handle_watcher_perftest.cc",
115 ] 115 ]
116 } 116 }
OLDNEW
« no previous file with comments | « mojo/application/public/java/BUILD.gn ('k') | mojo/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698