| 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 |
| 170 # This is provided as a separate target so other targets can provide param | 177 # This is provided as a separate target so other targets can provide param |
| 171 # traits implementations without necessarily linking to all of IPC. | 178 # traits implementations without necessarily linking to all of IPC. |
| 172 source_set("param_traits") { | 179 source_set("param_traits") { |
| 173 public = [ | 180 public = [ |
| 174 "ipc_param_traits.h", | 181 "ipc_param_traits.h", |
| 175 ] | 182 ] |
| 176 } | 183 } |
| 177 | 184 |
| 178 if (!is_ios) { | 185 if (!is_ios) { |
| 179 source_set("run_all_unittests") { | 186 source_set("run_all_unittests") { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 | 235 |
| 229 # TODO(brettw) hook up Android testing. | 236 # TODO(brettw) hook up Android testing. |
| 230 #if (is_android && gtest_target_type == "shared_library") { | 237 #if (is_android && gtest_target_type == "shared_library") { |
| 231 # deps += "/testing/android/native_test.gyp:native_testNative_code" | 238 # deps += "/testing/android/native_test.gyp:native_testNative_code" |
| 232 #} | 239 #} |
| 233 | 240 |
| 234 deps = [ | 241 deps = [ |
| 235 ":ipc", | 242 ":ipc", |
| 236 ":mojom", | 243 ":mojom", |
| 237 ":run_all_unittests", | 244 ":run_all_unittests", |
| 245 ":test_interfaces", |
| 238 ":test_support", | 246 ":test_support", |
| 239 "//base", | 247 "//base", |
| 240 "//base:i18n", | 248 "//base:i18n", |
| 241 "//base/test:test_support", | 249 "//base/test:test_support", |
| 242 "//crypto", | 250 "//crypto", |
| 243 "//mojo/edk/system", | 251 "//mojo/edk/system", |
| 244 "//mojo/edk/test:test_support", | 252 "//mojo/edk/test:test_support", |
| 245 "//testing/gtest", | 253 "//testing/gtest", |
| 246 ] | 254 ] |
| 247 | 255 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 public_deps = [ | 303 public_deps = [ |
| 296 ":ipc", | 304 ":ipc", |
| 297 ] | 305 ] |
| 298 deps = [ | 306 deps = [ |
| 299 "//base", | 307 "//base", |
| 300 "//base/test:test_support", | 308 "//base/test:test_support", |
| 301 "//testing/gtest", | 309 "//testing/gtest", |
| 302 ] | 310 ] |
| 303 } | 311 } |
| 304 } | 312 } |
| OLD | NEW |