OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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("//build/config/nacl/config.gni") | 5 import("//build/config/nacl/config.gni") |
6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 8 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
9 | 9 |
10 component("ipc") { | 10 component("ipc") { |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 public_configs = [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ] | 160 public_configs = [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ] |
161 } | 161 } |
162 } | 162 } |
163 | 163 |
164 mojom("mojom") { | 164 mojom("mojom") { |
165 sources = [ | 165 sources = [ |
166 "ipc.mojom", | 166 "ipc.mojom", |
167 ] | 167 ] |
168 } | 168 } |
169 | 169 |
170 mojom("test_interfaces") { | |
171 testonly = true | |
172 sources = [ | |
173 "ipc_test.mojom", | |
174 ] | |
175 } | |
176 | |
177 # This is provided as a separate target so other targets can provide param | 170 # This is provided as a separate target so other targets can provide param |
178 # traits implementations without necessarily linking to all of IPC. | 171 # traits implementations without necessarily linking to all of IPC. |
179 source_set("param_traits") { | 172 source_set("param_traits") { |
180 public = [ | 173 public = [ |
181 "ipc_param_traits.h", | 174 "ipc_param_traits.h", |
182 ] | 175 ] |
183 } | 176 } |
184 | 177 |
185 if (!is_ios) { | 178 if (!is_ios) { |
186 source_set("run_all_unittests") { | 179 source_set("run_all_unittests") { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 | 228 |
236 # TODO(brettw) hook up Android testing. | 229 # TODO(brettw) hook up Android testing. |
237 #if (is_android && gtest_target_type == "shared_library") { | 230 #if (is_android && gtest_target_type == "shared_library") { |
238 # deps += "/testing/android/native_test.gyp:native_testNative_code" | 231 # deps += "/testing/android/native_test.gyp:native_testNative_code" |
239 #} | 232 #} |
240 | 233 |
241 deps = [ | 234 deps = [ |
242 ":ipc", | 235 ":ipc", |
243 ":mojom", | 236 ":mojom", |
244 ":run_all_unittests", | 237 ":run_all_unittests", |
245 ":test_interfaces", | |
246 ":test_support", | 238 ":test_support", |
247 "//base", | 239 "//base", |
248 "//base:i18n", | 240 "//base:i18n", |
249 "//base/test:test_support", | 241 "//base/test:test_support", |
250 "//crypto", | 242 "//crypto", |
251 "//mojo/edk/system", | 243 "//mojo/edk/system", |
252 "//mojo/edk/test:test_support", | 244 "//mojo/edk/test:test_support", |
253 "//testing/gtest", | 245 "//testing/gtest", |
254 ] | 246 ] |
255 | 247 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 public_deps = [ | 295 public_deps = [ |
304 ":ipc", | 296 ":ipc", |
305 ] | 297 ] |
306 deps = [ | 298 deps = [ |
307 "//base", | 299 "//base", |
308 "//base/test:test_support", | 300 "//base/test:test_support", |
309 "//testing/gtest", | 301 "//testing/gtest", |
310 ] | 302 ] |
311 } | 303 } |
312 } | 304 } |
OLD | NEW |