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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 import("//third_party/protobuf/proto_library.gni") | 6 import("//third_party/protobuf/proto_library.gni") |
7 | 7 |
8 component("gcm") { | 8 component("gcm") { |
9 sources = [ | 9 sources = [ |
10 "base/gcm_util.cc", | 10 "base/gcm_util.cc", |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 deps = [ | 115 deps = [ |
116 ":gcm", | 116 ":gcm", |
117 ":test_support", | 117 ":test_support", |
118 "//base", | 118 "//base", |
119 "//net", | 119 "//net", |
120 "//net:test_support", | 120 "//net:test_support", |
121 "//third_party/protobuf:protobuf_lite", | 121 "//third_party/protobuf:protobuf_lite", |
122 ] | 122 ] |
123 } | 123 } |
124 | 124 |
| 125 # TODO(GYP): Delete this after we've converted everything to GN. |
| 126 # The _run targets exist only for compatibility w/ GYP. |
| 127 group("gcm_unit_tests_run") { |
| 128 testonly = true |
| 129 deps = [ |
| 130 ":gcm_unit_tests", |
| 131 ] |
| 132 } |
| 133 |
125 test("gcm_unit_tests") { | 134 test("gcm_unit_tests") { |
126 sources = [ | 135 sources = [ |
127 "base/mcs_message_unittest.cc", | 136 "base/mcs_message_unittest.cc", |
128 "base/mcs_util_unittest.cc", | 137 "base/mcs_util_unittest.cc", |
129 "base/socket_stream_unittest.cc", | 138 "base/socket_stream_unittest.cc", |
130 "engine/account_mapping_unittest.cc", | 139 "engine/account_mapping_unittest.cc", |
131 "engine/checkin_request_unittest.cc", | 140 "engine/checkin_request_unittest.cc", |
132 "engine/connection_factory_impl_unittest.cc", | 141 "engine/connection_factory_impl_unittest.cc", |
133 "engine/connection_handler_impl_unittest.cc", | 142 "engine/connection_handler_impl_unittest.cc", |
134 "engine/gcm_request_test_base.cc", | 143 "engine/gcm_request_test_base.cc", |
(...skipping 10 matching lines...) Expand all Loading... |
145 ":gcm", | 154 ":gcm", |
146 ":test_support", | 155 ":test_support", |
147 "//base", | 156 "//base", |
148 "//base/test:run_all_unittests", | 157 "//base/test:run_all_unittests", |
149 "//net", | 158 "//net", |
150 "//net:test_support", | 159 "//net:test_support", |
151 "//testing/gtest", | 160 "//testing/gtest", |
152 "//third_party/protobuf:protobuf_lite", | 161 "//third_party/protobuf:protobuf_lite", |
153 ] | 162 ] |
154 } | 163 } |
OLD | NEW |