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

Side by Side Diff: tools/gn/BUILD.gn

Issue 1653003006: 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 | « tools/battor_agent/BUILD.gn ('k') | ui/accessibility/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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 6
7 defines = [ "GN_BUILD" ] 7 defines = [ "GN_BUILD" ]
8 8
9 static_library("gn_lib") { 9 static_library("gn_lib") {
10 configs += [ "//build/config:precompiled_headers" ] 10 configs += [ "//build/config:precompiled_headers" ]
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 ] 234 ]
235 235
236 deps = [ 236 deps = [
237 ":gn_lib", 237 ":gn_lib",
238 ":last_commit_position", 238 ":last_commit_position",
239 "//base", 239 "//base",
240 "//build/config/sanitizers:deps", 240 "//build/config/sanitizers:deps",
241 ] 241 ]
242 } 242 }
243 243
244 # TODO(GYP): Delete this after we've converted everything to GN.
245 # The _run targets exist only for compatibility w/ GYP.
246 group("gn_unittests_run") {
247 testonly = true
248 deps = [
249 ":gn_unittests",
250 ]
251 }
252
253 test("gn_unittests") { 244 test("gn_unittests") {
254 sources = [ 245 sources = [
255 "action_target_generator_unittest.cc", 246 "action_target_generator_unittest.cc",
256 "args_unittest.cc", 247 "args_unittest.cc",
257 "builder_unittest.cc", 248 "builder_unittest.cc",
258 "c_include_iterator_unittest.cc", 249 "c_include_iterator_unittest.cc",
259 "command_format_unittest.cc", 250 "command_format_unittest.cc",
260 "config_unittest.cc", 251 "config_unittest.cc",
261 "config_values_extractors_unittest.cc", 252 "config_values_extractors_unittest.cc",
262 "escape_unittest.cc", 253 "escape_unittest.cc",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 "format_test_data/", 305 "format_test_data/",
315 ] 306 ]
316 307
317 deps = [ 308 deps = [
318 ":gn_lib", 309 ":gn_lib",
319 "//base/test:run_all_unittests", 310 "//base/test:run_all_unittests",
320 "//base/test:test_support", 311 "//base/test:test_support",
321 "//testing/gtest", 312 "//testing/gtest",
322 ] 313 ]
323 } 314 }
OLDNEW
« no previous file with comments | « tools/battor_agent/BUILD.gn ('k') | ui/accessibility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698