Chromium Code Reviews| 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_application.gni") | 5 import("../../../mojo_application.gni") |
| 6 | 6 |
| 7 source_set("tests") { | 7 source_set("tests") { |
| 8 testonly = true | 8 testonly = true |
| 9 | 9 |
| 10 sources = [ | 10 sources = [ |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 52 "//mojo/public/cpp/bindings:callback", | 52 "//mojo/public/cpp/bindings:callback", |
| 53 "//mojo/public/cpp/system", | 53 "//mojo/public/cpp/system", |
| 54 "//mojo/public/cpp/test_support:test_utils", | 54 "//mojo/public/cpp/test_support:test_utils", |
| 55 "//mojo/public/interfaces/bindings/tests:test_associated_interfaces", | 55 "//mojo/public/interfaces/bindings/tests:test_associated_interfaces", |
| 56 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 56 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
| 57 "//mojo/public/interfaces/bindings/tests:test_interfaces_experimental", | 57 "//mojo/public/interfaces/bindings/tests:test_interfaces_experimental", |
| 58 "//mojo/public/interfaces/bindings/tests:test_interfaces_wtf", | 58 "//mojo/public/interfaces/bindings/tests:test_interfaces_wtf", |
| 59 "//mojo/public/interfaces/bindings/tests:test_struct_traits_interfaces", | 59 "//mojo/public/interfaces/bindings/tests:test_struct_traits_interfaces", |
| 60 "//testing/gtest", | 60 "//testing/gtest", |
| 61 ] | 61 ] |
| 62 | |
| 63 if (is_ios) { | |
| 64 sources -= [ | |
|
Nico
2016/04/22 01:46:17
in gn, we prefer to only add them if they're neede
Sam McNally
2016/04/22 01:57:43
That's what I thought, but then I saw https://chro
| |
| 65 "pickle_unittest.cc", | |
| 66 "struct_traits_unittest.cc", | |
| 67 ] | |
| 68 | |
| 69 deps -= [ "//mojo/public/interfaces/bindings/tests:test_interfaces_wtf" ] | |
| 70 assert_no_deps = [ "//third_party/WebKit/*" ] | |
| 71 } | |
| 62 } | 72 } |
| 63 | 73 |
| 64 source_set("for_blink_tests") { | 74 source_set("for_blink_tests") { |
| 65 testonly = true | 75 testonly = true |
| 66 | 76 |
| 67 sources = [ | 77 sources = [ |
| 68 "array_common_test.h", | 78 "array_common_test.h", |
| 69 "container_test_util.cc", | 79 "container_test_util.cc", |
| 70 "container_test_util.h", | 80 "container_test_util.h", |
| 71 "variant_test_util.h", | 81 "variant_test_util.h", |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 119 source_set("mojo_public_bindings_test_utils") { | 129 source_set("mojo_public_bindings_test_utils") { |
| 120 sources = [ | 130 sources = [ |
| 121 "validation_test_input_parser.cc", | 131 "validation_test_input_parser.cc", |
| 122 "validation_test_input_parser.h", | 132 "validation_test_input_parser.h", |
| 123 ] | 133 ] |
| 124 | 134 |
| 125 deps = [ | 135 deps = [ |
| 126 "//mojo/public/c/system", | 136 "//mojo/public/c/system", |
| 127 ] | 137 ] |
| 128 } | 138 } |
| OLD | NEW |