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 import("../../../mojo.gni") | 7 import("../../../mojo.gni") |
8 | 8 |
9 mojo_sdk_source_set("tests") { | 9 mojo_sdk_source_set("tests") { |
10 testonly = true | 10 testonly = true |
11 | 11 |
12 sources = [ | 12 sources = [ |
13 "array_unittest.cc", | 13 "array_unittest.cc", |
14 "binding_callback_unittest.cc", | 14 "binding_callback_unittest.cc", |
15 "binding_unittest.cc", | 15 "binding_unittest.cc", |
16 "bounds_checker_unittest.cc", | 16 "bounds_checker_unittest.cc", |
17 "buffer_unittest.cc", | 17 "buffer_unittest.cc", |
18 "callback_unittest.cc", | 18 "callback_unittest.cc", |
19 "connector_unittest.cc", | 19 "connector_unittest.cc", |
20 "constant_unittest.cc", | 20 "constant_unittest.cc", |
21 "container_test_util.cc", | 21 "container_test_util.cc", |
22 "equals_unittest.cc", | 22 "equals_unittest.cc", |
23 "handle_passing_unittest.cc", | 23 "handle_passing_unittest.cc", |
24 "interface_ptr_unittest.cc", | 24 "interface_ptr_unittest.cc", |
25 "map_unittest.cc", | 25 "map_unittest.cc", |
26 "message_queue.cc", | |
27 "message_queue.h", | |
28 "request_response_unittest.cc", | 26 "request_response_unittest.cc", |
29 "router_unittest.cc", | 27 "router_unittest.cc", |
30 "sample_service_unittest.cc", | 28 "sample_service_unittest.cc", |
31 "serialization_warning_unittest.cc", | 29 "serialization_warning_unittest.cc", |
32 "string_unittest.cc", | 30 "string_unittest.cc", |
33 "struct_unittest.cc", | 31 "struct_unittest.cc", |
34 "type_conversion_unittest.cc", | 32 "type_conversion_unittest.cc", |
35 "union_unittest.cc", | 33 "union_unittest.cc", |
36 "validation_unittest.cc", | 34 "validation_unittest.cc", |
37 ] | 35 ] |
38 | 36 |
39 deps = [ | 37 deps = [ |
40 ":mojo_public_bindings_test_utils", | 38 ":mojo_public_bindings_test_utils", |
41 "//testing/gtest", | 39 "//testing/gtest", |
42 ] | 40 ] |
43 | 41 |
44 mojo_sdk_deps = [ | 42 mojo_sdk_deps = [ |
45 "mojo/public/cpp/bindings", | 43 "mojo/public/cpp/bindings", |
46 "mojo/public/cpp/bindings:callback", | 44 "mojo/public/cpp/bindings:callback", |
47 "mojo/public/cpp/environment:standalone", | 45 "mojo/public/cpp/environment:standalone", |
48 "mojo/public/cpp/system", | 46 "mojo/public/cpp/system", |
49 "mojo/public/cpp/test_support:test_utils", | 47 "mojo/public/cpp/test_support:test_utils", |
50 "mojo/public/cpp/utility", | 48 "mojo/public/cpp/utility", |
51 "mojo/public/interfaces/bindings/tests:test_interfaces", | 49 "mojo/public/interfaces/bindings/tests:test_interfaces", |
52 "mojo/public/interfaces/bindings/tests:test_interfaces_experimental", | 50 "mojo/public/interfaces/bindings/tests:test_interfaces_experimental", |
53 ] | 51 ] |
54 } | 52 } |
55 | 53 |
56 mojo_sdk_source_set("perftests") { | |
57 testonly = true | |
58 | |
59 sources = [ | |
60 "bindings_perftest.cc", | |
61 ] | |
62 | |
63 deps = [ | |
64 "//testing/gtest", | |
65 ] | |
66 | |
67 mojo_sdk_deps = [ | |
68 "mojo/public/cpp/bindings", | |
69 "mojo/public/cpp/bindings:callback", | |
70 "mojo/public/cpp/environment:standalone", | |
71 "mojo/public/cpp/system", | |
72 "mojo/public/cpp/test_support:test_utils", | |
73 "mojo/public/cpp/utility", | |
74 "mojo/public/interfaces/bindings/tests:test_interfaces", | |
75 ] | |
76 } | |
77 | |
78 mojo_sdk_source_set("mojo_public_bindings_test_utils") { | 54 mojo_sdk_source_set("mojo_public_bindings_test_utils") { |
79 sources = [ | 55 sources = [ |
80 "validation_test_input_parser.cc", | 56 "validation_test_input_parser.cc", |
81 "validation_test_input_parser.h", | 57 "validation_test_input_parser.h", |
82 ] | 58 ] |
83 | 59 |
84 mojo_sdk_deps = [ "mojo/public/c/system" ] | 60 mojo_sdk_deps = [ "mojo/public/c/system" ] |
85 } | 61 } |
86 | 62 |
87 if (mojo_use_application_in_sdk) { | 63 if (mojo_use_application_in_sdk) { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 104 |
129 mojo_sdk_deps = [ | 105 mojo_sdk_deps = [ |
130 "mojo/public/cpp/application:standalone", | 106 "mojo/public/cpp/application:standalone", |
131 "mojo/public/cpp/application:test_support_standalone", | 107 "mojo/public/cpp/application:test_support_standalone", |
132 "mojo/public/cpp/bindings", | 108 "mojo/public/cpp/bindings", |
133 "mojo/public/cpp/system", | 109 "mojo/public/cpp/system", |
134 "mojo/public/interfaces/bindings/tests:versioning_test_client_interfaces", | 110 "mojo/public/interfaces/bindings/tests:versioning_test_client_interfaces", |
135 ] | 111 ] |
136 } | 112 } |
137 } | 113 } |
OLD | NEW |