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