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/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 group("common") { | 8 group("common") { |
9 public_deps = [ | 9 public_deps = [ |
10 ":common_base", | 10 ":common_base", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 "//base", | 43 "//base", |
44 "//mojo/public/cpp/bindings", | 44 "//mojo/public/cpp/bindings", |
45 "//mojo/public/cpp/system", | 45 "//mojo/public/cpp/system", |
46 ] | 46 ] |
47 } | 47 } |
48 | 48 |
49 # GYP version: mojo/mojo_base.gyp:mojo_test_common_custom_types | 49 # GYP version: mojo/mojo_base.gyp:mojo_test_common_custom_types |
50 mojom("test_common_custom_types") { | 50 mojom("test_common_custom_types") { |
51 sources = [ | 51 sources = [ |
52 "test_common_custom_types.mojom", | 52 "test_common_custom_types.mojom", |
| 53 "traits_test_service.mojom", |
53 ] | 54 ] |
54 public_deps = [ | 55 public_deps = [ |
55 ":common_custom_types", | 56 ":common_custom_types", |
56 ] | 57 ] |
57 | 58 |
58 use_new_wrapper_types = false | 59 use_new_wrapper_types = false |
59 } | 60 } |
60 | 61 |
61 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests | 62 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests |
62 test("mojo_common_unittests") { | 63 test("mojo_common_unittests") { |
63 deps = [ | 64 deps = [ |
64 ":common", | 65 ":common", |
65 ":common_custom_types", | 66 ":common_custom_types", |
66 ":test_common_custom_types", | 67 ":test_common_custom_types", |
67 "//base", | 68 "//base", |
68 "//base:message_loop_tests", | 69 "//base:message_loop_tests", |
69 "//base/test:test_support", | 70 "//base/test:test_support", |
70 "//mojo/edk/test:run_all_unittests", | 71 "//mojo/edk/test:run_all_unittests", |
71 "//mojo/edk/test:test_support", | 72 "//mojo/edk/test:test_support", |
72 "//mojo/public/cpp/bindings", | 73 "//mojo/public/cpp/bindings", |
73 "//mojo/public/cpp/test_support:test_utils", | 74 "//mojo/public/cpp/test_support:test_utils", |
74 "//testing/gtest", | 75 "//testing/gtest", |
75 "//url", | 76 "//url", |
76 ] | 77 ] |
77 | 78 |
78 sources = [ | 79 sources = [ |
79 "common_custom_types_unittest.cc", | 80 "common_custom_types_unittest.cc", |
80 "common_type_converters_unittest.cc", | 81 "common_type_converters_unittest.cc", |
| 82 "struct_traits_unittest.cc", |
81 ] | 83 ] |
82 } | 84 } |
83 | 85 |
84 test("mojo_common_perftests") { | 86 test("mojo_common_perftests") { |
85 deps = [ | 87 deps = [ |
86 ":common", | 88 ":common", |
87 "//base", | 89 "//base", |
88 "//mojo/edk/test:run_all_perftests", | 90 "//mojo/edk/test:run_all_perftests", |
89 "//mojo/public/cpp/test_support:test_utils", | 91 "//mojo/public/cpp/test_support:test_utils", |
90 "//testing/gtest", | 92 "//testing/gtest", |
91 ] | 93 ] |
92 } | 94 } |
OLD | NEW |