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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
53 public_deps = [ | 53 public_deps = [ |
54 ":common_custom_types", | 54 ":common_custom_types", |
55 ] | 55 ] |
56 } | 56 } |
57 | 57 |
58 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests | 58 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests |
59 test("mojo_common_unittests") { | 59 test("mojo_common_unittests") { |
60 deps = [ | 60 deps = [ |
61 ":common", | 61 ":common", |
62 ":common_custom_types", | 62 ":common_custom_types", |
63 ":struct_traits", | |
63 ":test_common_custom_types", | 64 ":test_common_custom_types", |
64 "//base", | 65 "//base", |
65 "//base:message_loop_tests", | 66 "//base:message_loop_tests", |
66 "//base/test:test_support", | 67 "//base/test:test_support", |
67 "//mojo/edk/test:run_all_unittests", | 68 "//mojo/edk/test:run_all_unittests", |
68 "//mojo/edk/test:test_support", | 69 "//mojo/edk/test:test_support", |
69 "//mojo/public/cpp/bindings", | 70 "//mojo/public/cpp/bindings", |
70 "//mojo/public/cpp/test_support:test_utils", | 71 "//mojo/public/cpp/test_support:test_utils", |
71 "//testing/gtest", | 72 "//testing/gtest", |
72 "//url", | 73 "//url", |
73 ] | 74 ] |
74 | 75 |
75 sources = [ | 76 sources = [ |
76 "common_custom_types_unittest.cc", | 77 "common_custom_types_unittest.cc", |
77 "common_type_converters_unittest.cc", | 78 "common_type_converters_unittest.cc", |
78 "struct_traits_unittest.cc", | 79 "struct_traits_unittest.cc", |
79 ] | 80 ] |
80 } | 81 } |
81 | 82 |
82 test("mojo_common_perftests") { | 83 test("mojo_common_perftests") { |
83 deps = [ | 84 deps = [ |
84 ":common", | 85 ":common", |
85 "//base", | 86 "//base", |
86 "//mojo/edk/test:run_all_perftests", | 87 "//mojo/edk/test:run_all_perftests", |
87 "//mojo/public/cpp/test_support:test_utils", | 88 "//mojo/public/cpp/test_support:test_utils", |
88 "//testing/gtest", | 89 "//testing/gtest", |
89 ] | 90 ] |
90 } | 91 } |
92 | |
93 group("struct_traits") { | |
yzshen1
2016/09/01 00:02:54
Can we delete this target and rename the one below
xlai (Olivia)
2016/09/01 16:57:44
Done here and elsewhere.
| |
94 public_deps = [ | |
95 ":struct_traits_sources", | |
96 ] | |
97 } | |
98 | |
99 source_set("struct_traits_sources") { | |
100 sources = [ | |
101 "common_custom_types_struct_traits.cc", | |
102 "common_custom_types_struct_traits.h", | |
103 ] | |
104 deps = [ | |
105 ":common_custom_types_shared_cpp_sources", | |
106 "//base:base", | |
107 ] | |
108 } | |
OLD | NEW |