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

Side by Side Diff: base/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 | « BUILD.gn ('k') | blimp/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 # HOW TO WRITE CONDITIONALS IN THIS FILE 5 # HOW TO WRITE CONDITIONALS IN THIS FILE
6 # ====================================== 6 # ======================================
7 # 7 #
8 # In many other places, one would write a conditional that expresses all the 8 # In many other places, one would write a conditional that expresses all the
9 # cases when a source file is used or unused, and then either add or subtract 9 # cases when a source file is used or unused, and then either add or subtract
10 # it from the sources list in that case 10 # it from the sources list in that case
(...skipping 1506 matching lines...) Expand 10 before | Expand all | Expand 10 after
1517 sources = [ 1517 sources = [
1518 "profiler/test_support_library.cc", 1518 "profiler/test_support_library.cc",
1519 ] 1519 ]
1520 deps = [ 1520 deps = [
1521 "//build/config/sanitizers:deps", 1521 "//build/config/sanitizers:deps",
1522 ] 1522 ]
1523 } 1523 }
1524 } 1524 }
1525 } 1525 }
1526 1526
1527 # TODO(GYP): Delete this after we've converted everything to GN.
1528 # The _run targets exist only for compatibility w/ GYP.
1529 group("base_unittests_run") {
1530 testonly = true
1531 deps = [
1532 ":base_unittests",
1533 ]
1534 }
1535
1536 test("base_unittests") { 1527 test("base_unittests") {
1537 sources = [ 1528 sources = [
1538 "allocator/tcmalloc_unittest.cc", 1529 "allocator/tcmalloc_unittest.cc",
1539 "android/application_status_listener_unittest.cc", 1530 "android/application_status_listener_unittest.cc",
1540 "android/content_uri_utils_unittest.cc", 1531 "android/content_uri_utils_unittest.cc",
1541 "android/jni_android_unittest.cc", 1532 "android/jni_android_unittest.cc",
1542 "android/jni_array_unittest.cc", 1533 "android/jni_array_unittest.cc",
1543 "android/jni_string_unittest.cc", 1534 "android/jni_string_unittest.cc",
1544 "android/library_loader/library_prefetcher_unittest.cc", 1535 "android/library_loader/library_prefetcher_unittest.cc",
1545 "android/path_utils_unittest.cc", 1536 "android/path_utils_unittest.cc",
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
2064 2055
2065 # GYP: //base.gyp:base_java_unittest_support 2056 # GYP: //base.gyp:base_java_unittest_support
2066 android_library("base_java_unittest_support") { 2057 android_library("base_java_unittest_support") {
2067 deps = [ 2058 deps = [
2068 ":base_java", 2059 ":base_java",
2069 ] 2060 ]
2070 java_files = 2061 java_files =
2071 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 2062 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
2072 } 2063 }
2073 } 2064 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | blimp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698