Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Side by Side Diff: google_apis/gcm/BUILD.gn

Issue 1664653003: Revert of Move gn _run target generation into test(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « google_apis/BUILD.gn ('k') | gpu/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 ":gcm", 116 ":gcm",
117 ":test_support", 117 ":test_support",
118 "//base", 118 "//base",
119 "//build/config/sanitizers:deps", 119 "//build/config/sanitizers:deps",
120 "//net", 120 "//net",
121 "//net:test_support", 121 "//net:test_support",
122 "//third_party/protobuf:protobuf_lite", 122 "//third_party/protobuf:protobuf_lite",
123 ] 123 ]
124 } 124 }
125 125
126 # TODO(GYP): Delete this after we've converted everything to GN.
127 # The _run targets exist only for compatibility w/ GYP.
128 group("gcm_unit_tests_run") {
129 testonly = true
130 deps = [
131 ":gcm_unit_tests",
132 ]
133 }
134
126 test("gcm_unit_tests") { 135 test("gcm_unit_tests") {
127 sources = [ 136 sources = [
128 "base/mcs_message_unittest.cc", 137 "base/mcs_message_unittest.cc",
129 "base/mcs_util_unittest.cc", 138 "base/mcs_util_unittest.cc",
130 "base/socket_stream_unittest.cc", 139 "base/socket_stream_unittest.cc",
131 "engine/account_mapping_unittest.cc", 140 "engine/account_mapping_unittest.cc",
132 "engine/checkin_request_unittest.cc", 141 "engine/checkin_request_unittest.cc",
133 "engine/connection_factory_impl_unittest.cc", 142 "engine/connection_factory_impl_unittest.cc",
134 "engine/connection_handler_impl_unittest.cc", 143 "engine/connection_handler_impl_unittest.cc",
135 "engine/gcm_request_test_base.cc", 144 "engine/gcm_request_test_base.cc",
(...skipping 10 matching lines...) Expand all
146 ":gcm", 155 ":gcm",
147 ":test_support", 156 ":test_support",
148 "//base", 157 "//base",
149 "//base/test:run_all_unittests", 158 "//base/test:run_all_unittests",
150 "//net", 159 "//net",
151 "//net:test_support", 160 "//net:test_support",
152 "//testing/gtest", 161 "//testing/gtest",
153 "//third_party/protobuf:protobuf_lite", 162 "//third_party/protobuf:protobuf_lite",
154 ] 163 ]
155 } 164 }
OLDNEW
« no previous file with comments | « google_apis/BUILD.gn ('k') | gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698