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 import("../../../mojo_sdk.gni") | 6 import("../../../mojo_sdk.gni") |
7 | 7 |
8 mojo_sdk_source_set("tests") { | 8 mojo_sdk_source_set("tests") { |
9 testonly = true | 9 testonly = true |
10 | 10 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 "synchronous_connector_unittest.cc", | 42 "synchronous_connector_unittest.cc", |
43 "synchronous_interface_ptr_unittest.cc", | 43 "synchronous_interface_ptr_unittest.cc", |
44 "type_conversion_unittest.cc", | 44 "type_conversion_unittest.cc", |
45 "union_unittest.cc", | 45 "union_unittest.cc", |
46 "validation_unittest.cc", | 46 "validation_unittest.cc", |
47 ] | 47 ] |
48 | 48 |
49 deps = [ | 49 deps = [ |
50 ":mojo_public_bindings_test_utils", | 50 ":mojo_public_bindings_test_utils", |
51 ":validation_util", | 51 ":validation_util", |
52 "//testing/gtest", | |
53 ] | 52 ] |
54 | 53 |
55 mojo_sdk_deps = [ | 54 mojo_sdk_deps = [ |
| 55 "mojo/public:gtest", |
56 "mojo/public/cpp/bindings", | 56 "mojo/public/cpp/bindings", |
57 "mojo/public/cpp/bindings:callback", | 57 "mojo/public/cpp/bindings:callback", |
58 "mojo/public/cpp/environment:standalone", | 58 "mojo/public/cpp/environment:standalone", |
59 "mojo/public/cpp/system", | 59 "mojo/public/cpp/system", |
60 "mojo/public/cpp/test_support", | 60 "mojo/public/cpp/test_support", |
61 "mojo/public/cpp/test_support:test_utils", | 61 "mojo/public/cpp/test_support:test_utils", |
62 "mojo/public/cpp/utility", | 62 "mojo/public/cpp/utility", |
63 "mojo/public/interfaces/bindings/tests:test_interfaces", | 63 "mojo/public/interfaces/bindings/tests:test_interfaces", |
64 "mojo/public/interfaces/bindings/tests:test_interfaces_sync", | 64 "mojo/public/interfaces/bindings/tests:test_interfaces_sync", |
65 ] | 65 ] |
66 } | 66 } |
67 | 67 |
68 mojo_sdk_source_set("perftests") { | 68 mojo_sdk_source_set("perftests") { |
69 testonly = true | 69 testonly = true |
70 | 70 |
71 sources = [ | 71 sources = [ |
72 "bindings_perftest.cc", | 72 "bindings_perftest.cc", |
73 ] | 73 ] |
74 | 74 |
75 deps = [ | |
76 "//testing/gtest", | |
77 ] | |
78 | |
79 mojo_sdk_deps = [ | 75 mojo_sdk_deps = [ |
| 76 "mojo/public:gtest", |
80 "mojo/public/cpp/bindings", | 77 "mojo/public/cpp/bindings", |
81 "mojo/public/cpp/bindings:callback", | 78 "mojo/public/cpp/bindings:callback", |
82 "mojo/public/cpp/environment:standalone", | 79 "mojo/public/cpp/environment:standalone", |
83 "mojo/public/cpp/system", | 80 "mojo/public/cpp/system", |
84 "mojo/public/cpp/test_support", | 81 "mojo/public/cpp/test_support", |
85 "mojo/public/cpp/utility", | 82 "mojo/public/cpp/utility", |
86 "mojo/public/interfaces/bindings/tests:test_interfaces", | 83 "mojo/public/interfaces/bindings/tests:test_interfaces", |
87 ] | 84 ] |
88 } | 85 } |
89 | 86 |
90 # TODO(vardhan): This should be testonly, but for that to happen, its | 87 # TODO(vardhan): This should be testonly, but for that to happen, its |
91 # dependents (cython etc.) need also be testonly. | 88 # dependents (cython etc.) need also be testonly. |
92 mojo_sdk_source_set("mojo_public_bindings_test_utils") { | 89 mojo_sdk_source_set("mojo_public_bindings_test_utils") { |
93 sources = [ | 90 sources = [ |
94 "validation_test_input_parser.cc", | 91 "validation_test_input_parser.cc", |
95 "validation_test_input_parser.h", | 92 "validation_test_input_parser.h", |
96 ] | 93 ] |
97 } | 94 } |
98 | 95 |
99 # TODO(vardhan): Merge with mojo_public_bindings_test_utils. | 96 # TODO(vardhan): Merge with mojo_public_bindings_test_utils. |
100 mojo_sdk_source_set("validation_util") { | 97 mojo_sdk_source_set("validation_util") { |
101 testonly = true | 98 testonly = true |
102 | 99 |
103 sources = [ | 100 sources = [ |
104 "validation_util.cc", | 101 "validation_util.cc", |
105 "validation_util.h", | 102 "validation_util.h", |
106 ] | 103 ] |
107 | 104 |
108 mojo_sdk_deps = [ "mojo/public/cpp/test_support" ] | |
109 | |
110 deps = [ | 105 deps = [ |
111 ":mojo_public_bindings_test_utils", | 106 ":mojo_public_bindings_test_utils", |
112 "//testing/gtest", | 107 ] |
| 108 |
| 109 mojo_sdk_deps = [ |
| 110 "mojo/public:gtest", |
| 111 "mojo/public/cpp/test_support", |
113 ] | 112 ] |
114 } | 113 } |
115 | 114 |
116 mojo_native_application("versioning_test_service") { | 115 mojo_native_application("versioning_test_service") { |
117 testonly = true | 116 testonly = true |
118 | 117 |
119 deps = [ | 118 deps = [ |
120 ":versioning_test_service_source_set", | 119 ":versioning_test_service_source_set", |
121 ] | 120 ] |
122 } | 121 } |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 ] | 156 ] |
158 | 157 |
159 mojo_sdk_deps = [ | 158 mojo_sdk_deps = [ |
160 "mojo/public/cpp/application:standalone", | 159 "mojo/public/cpp/application:standalone", |
161 "mojo/public/cpp/application:test_support_standalone", | 160 "mojo/public/cpp/application:test_support_standalone", |
162 "mojo/public/cpp/bindings", | 161 "mojo/public/cpp/bindings", |
163 "mojo/public/cpp/system", | 162 "mojo/public/cpp/system", |
164 "mojo/public/interfaces/bindings/tests:versioning_test_client_interfaces", | 163 "mojo/public/interfaces/bindings/tests:versioning_test_client_interfaces", |
165 ] | 164 ] |
166 } | 165 } |
OLD | NEW |