OLD | NEW |
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_edk.gni") | 5 import("../mojo_edk.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("../../../third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 7 import("../../../mojo/public/tools/bindings/mojom.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
11 import("//build/config/android/rules.gni") | 11 import("//build/config/android/rules.gni") |
12 } | 12 } |
13 | 13 |
14 config("system_config") { | 14 config("system_config") { |
15 defines = [ | 15 defines = [ |
16 # Ensures that dependent projects import the core functions on Windows. | 16 # Ensures that dependent projects import the core functions on Windows. |
17 "MOJO_USE_SYSTEM_IMPL", | 17 "MOJO_USE_SYSTEM_IMPL", |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 "MOJO_SYSTEM_IMPL_IMPLEMENTATION", | 87 "MOJO_SYSTEM_IMPL_IMPLEMENTATION", |
88 "MOJO_SYSTEM_IMPLEMENTATION", | 88 "MOJO_SYSTEM_IMPLEMENTATION", |
89 ] | 89 ] |
90 | 90 |
91 all_dependent_configs = [ ":system_config" ] | 91 all_dependent_configs = [ ":system_config" ] |
92 | 92 |
93 public_deps = [ | 93 public_deps = [ |
94 "../embedder", | 94 "../embedder", |
95 "../embedder:delegates", | 95 "../embedder:delegates", |
96 "../embedder:platform", | 96 "../embedder:platform", |
97 "../../../third_party/mojo/src/mojo/public/c/system", | 97 "../../../mojo/public/c/system", |
98 "../../../third_party/mojo/src/mojo/public/cpp/system", | 98 "../../../mojo/public/cpp/system", |
99 ] | 99 ] |
100 | 100 |
101 deps = [ | 101 deps = [ |
102 "//base", | 102 "//base", |
103 "//base/third_party/dynamic_annotations", | 103 "//base/third_party/dynamic_annotations", |
104 | 104 |
105 #":master", | 105 #":master", |
106 ] | 106 ] |
107 | 107 |
108 if (is_win) { | 108 if (is_win) { |
(...skipping 15 matching lines...) Expand all Loading... |
124 | 124 |
125 mojo_edk_source_set("test_utils") { | 125 mojo_edk_source_set("test_utils") { |
126 testonly = true | 126 testonly = true |
127 | 127 |
128 sources = [ | 128 sources = [ |
129 "test_utils.cc", | 129 "test_utils.cc", |
130 "test_utils.h", | 130 "test_utils.h", |
131 ] | 131 ] |
132 | 132 |
133 public_deps = [ | 133 public_deps = [ |
134 "//third_party/mojo/src/mojo/public/c/system", | 134 "//mojo/public/c/system", |
135 "//third_party/mojo/src/mojo/public/cpp/system", | 135 "//mojo/public/cpp/system", |
136 ] | 136 ] |
137 | 137 |
138 deps = [ | 138 deps = [ |
139 "//base", | 139 "//base", |
140 "//base/test:test_support", | 140 "//base/test:test_support", |
141 "//mojo/edk/test:test_support", | 141 "//mojo/edk/test:test_support", |
142 "//testing/gtest:gtest", | 142 "//testing/gtest:gtest", |
143 ] | 143 ] |
144 } | 144 } |
145 | 145 |
(...skipping 26 matching lines...) Expand all Loading... |
172 "waiter_test_utils.cc", | 172 "waiter_test_utils.cc", |
173 "waiter_test_utils.h", | 173 "waiter_test_utils.h", |
174 "waiter_unittest.cc", | 174 "waiter_unittest.cc", |
175 ] | 175 ] |
176 | 176 |
177 deps = [ | 177 deps = [ |
178 ":test_utils", | 178 ":test_utils", |
179 | 179 |
180 # TODO(use_chrome_edk): remove "2" | 180 # TODO(use_chrome_edk): remove "2" |
181 "../embedder:embedder_unittests2", | 181 "../embedder:embedder_unittests2", |
182 "../../../third_party/mojo/src/mojo/public/cpp/environment:standalone", | 182 "../../../mojo/public/cpp/environment:standalone", |
183 "../test:test_support", | 183 "../test:test_support", |
184 "//base", | 184 "//base", |
185 "//base/test:test_support", | 185 "//base/test:test_support", |
186 "//testing/gtest", | 186 "//testing/gtest", |
187 | 187 |
188 # TODO(use_chrome_edk): temporary since the Mojo wrapper primitives are | 188 # TODO(use_chrome_edk): temporary since the Mojo wrapper primitives are |
189 # declared in third party only for now. | 189 # declared in third party only for now. |
190 "//third_party/mojo/src/mojo/edk/system", | 190 "//third_party/mojo/src/mojo/edk/system", |
191 ] | 191 ] |
192 | 192 |
193 # TODO(use_chrome_edk): remove "2" | 193 # TODO(use_chrome_edk): remove "2" |
194 allow_circular_includes_from = [ "../embedder:embedder_unittests2" ] | 194 allow_circular_includes_from = [ "../embedder:embedder_unittests2" ] |
195 } | 195 } |
196 | 196 |
197 # TODO(use_chrome_edk): remove "2" | 197 # TODO(use_chrome_edk): remove "2" |
198 test("mojo_message_pipe_perftests2") { | 198 test("mojo_message_pipe_perftests2") { |
199 sources = [ | 199 sources = [ |
200 "message_pipe_perftest.cc", | 200 "message_pipe_perftest.cc", |
201 "message_pipe_test_utils.cc", | 201 "message_pipe_test_utils.cc", |
202 "message_pipe_test_utils.h", | 202 "message_pipe_test_utils.h", |
203 ] | 203 ] |
204 | 204 |
205 deps = [ | 205 deps = [ |
206 ":test_utils", | 206 ":test_utils", |
207 "../test:test_support", | 207 "../test:test_support", |
208 "../test:run_all_perftests", | 208 "../test:run_all_perftests", |
209 "../../../third_party/mojo/src/mojo/public/cpp/environment:standalone", | 209 "../../../mojo/public/cpp/environment:standalone", |
210 "//base", | 210 "//base", |
211 "//base/test:test_support", | 211 "//base/test:test_support", |
212 "//testing/gtest", | 212 "//testing/gtest", |
213 | 213 |
214 # TODO(use_chrome_edk): temporary since the Mojo wrapper primitives are | 214 # TODO(use_chrome_edk): temporary since the Mojo wrapper primitives are |
215 # declared in third party only for now. | 215 # declared in third party only for now. |
216 "//third_party/mojo/src/mojo/edk/system", | 216 "//third_party/mojo/src/mojo/edk/system", |
217 ] | 217 ] |
218 } | 218 } |
OLD | NEW |