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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 deps = [ | 47 deps = [ |
48 ":mojo_public_bindings_test_utils", | 48 ":mojo_public_bindings_test_utils", |
49 "//mojo/message_pump", | 49 "//mojo/message_pump", |
50 "//mojo/public/cpp/bindings", | 50 "//mojo/public/cpp/bindings", |
51 "//mojo/public/cpp/bindings:callback", | 51 "//mojo/public/cpp/bindings:callback", |
52 "//mojo/public/cpp/system", | 52 "//mojo/public/cpp/system", |
53 "//mojo/public/cpp/test_support:test_utils", | 53 "//mojo/public/cpp/test_support:test_utils", |
54 "//mojo/public/interfaces/bindings/tests:test_associated_interfaces", | 54 "//mojo/public/interfaces/bindings/tests:test_associated_interfaces", |
55 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 55 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
| 56 "//mojo/public/interfaces/bindings/tests:test_interfaces_blink", |
56 "//mojo/public/interfaces/bindings/tests:test_interfaces_experimental", | 57 "//mojo/public/interfaces/bindings/tests:test_interfaces_experimental", |
57 "//mojo/public/interfaces/bindings/tests:test_struct_traits_interfaces", | 58 "//mojo/public/interfaces/bindings/tests:test_struct_traits_interfaces", |
58 "//testing/gtest", | 59 "//testing/gtest", |
59 ] | 60 ] |
60 | 61 |
61 if (is_ios) { | 62 if (is_ios) { |
62 assert_no_deps = [ "//third_party/WebKit/*" ] | 63 assert_no_deps = [ "//third_party/WebKit/*" ] |
63 } else { | 64 } else { |
64 sources += [ | 65 sources += [ |
65 "pickle_unittest.cc", | 66 "pickle_unittest.cc", |
66 "struct_traits_unittest.cc", | 67 "struct_traits_unittest.cc", |
67 ] | 68 ] |
68 | 69 |
69 deps += [ "//mojo/public/interfaces/bindings/tests:test_interfaces_wtf" ] | 70 deps += [ "//mojo/public/interfaces/bindings/tests:test_interfaces_blink" ] |
70 } | 71 } |
71 } | 72 } |
72 | 73 |
73 source_set("for_blink_tests") { | 74 source_set("for_blink_tests") { |
74 testonly = true | 75 testonly = true |
75 | 76 |
76 sources = [ | 77 sources = [ |
77 "array_common_test.h", | 78 "array_common_test.h", |
78 "container_test_util.cc", | 79 "container_test_util.cc", |
79 "container_test_util.h", | 80 "container_test_util.h", |
80 "variant_test_util.h", | 81 "variant_test_util.h", |
81 "wtf_array_unittest.cc", | 82 "wtf_array_unittest.cc", |
82 "wtf_types_unittest.cc", | 83 "wtf_types_unittest.cc", |
83 ] | 84 ] |
84 | 85 |
85 deps = [ | 86 deps = [ |
86 "//mojo/public/cpp/bindings", | 87 "//mojo/public/cpp/bindings", |
87 "//mojo/public/cpp/bindings:callback", | 88 "//mojo/public/cpp/bindings:callback", |
88 "//mojo/public/cpp/system", | 89 "//mojo/public/cpp/system", |
89 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 90 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
90 "//mojo/public/interfaces/bindings/tests:test_wtf_types", | 91 "//mojo/public/interfaces/bindings/tests:test_wtf_types", |
91 "//mojo/public/interfaces/bindings/tests:test_wtf_types_wtf", | 92 "//mojo/public/interfaces/bindings/tests:test_wtf_types_blink", |
92 "//testing/gtest", | 93 "//testing/gtest", |
93 ] | 94 ] |
94 } | 95 } |
95 | 96 |
96 source_set("struct_with_traits_impl") { | 97 source_set("struct_with_traits_impl") { |
97 sources = [ | 98 sources = [ |
98 "struct_with_traits_impl.cc", | 99 "struct_with_traits_impl.cc", |
99 "struct_with_traits_impl.h", | 100 "struct_with_traits_impl.h", |
100 ] | 101 ] |
101 | 102 |
(...skipping 26 matching lines...) Expand all Loading... |
128 source_set("mojo_public_bindings_test_utils") { | 129 source_set("mojo_public_bindings_test_utils") { |
129 sources = [ | 130 sources = [ |
130 "validation_test_input_parser.cc", | 131 "validation_test_input_parser.cc", |
131 "validation_test_input_parser.h", | 132 "validation_test_input_parser.h", |
132 ] | 133 ] |
133 | 134 |
134 deps = [ | 135 deps = [ |
135 "//mojo/public/c/system", | 136 "//mojo/public/c/system", |
136 ] | 137 ] |
137 } | 138 } |
OLD | NEW |