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

Side by Side Diff: base/BUILD.gn

Issue 1807213002: [iOS] Mark test bundle_data targets as testonly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ui
Patch Set: Rebase on origin/master Created 4 years, 9 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 | « no previous file | ui/base/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 1611 matching lines...) Expand 10 before | Expand all | Expand 10 after
1622 "profiler/test_support_library.cc", 1622 "profiler/test_support_library.cc",
1623 ] 1623 ]
1624 deps = [ 1624 deps = [
1625 "//build/config/sanitizers:deps", 1625 "//build/config/sanitizers:deps",
1626 ] 1626 ]
1627 } 1627 }
1628 } 1628 }
1629 } 1629 }
1630 1630
1631 bundle_data("base_unittests_bundle_data") { 1631 bundle_data("base_unittests_bundle_data") {
1632 testonly = true
1632 sources = [ 1633 sources = [
1633 "test/data", 1634 "test/data",
1634 ] 1635 ]
1635 outputs = [ 1636 outputs = [
1636 "{{bundle_resources_dir}}/" + 1637 "{{bundle_resources_dir}}/" +
1637 "{{source_root_relative_dir}}/{{source_file_part}}", 1638 "{{source_root_relative_dir}}/{{source_file_part}}",
1638 ] 1639 ]
1639 } 1640 }
1640 1641
1641 test("base_unittests") { 1642 test("base_unittests") {
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
2212 2213
2213 # GYP: //base.gyp:base_java_unittest_support 2214 # GYP: //base.gyp:base_java_unittest_support
2214 android_library("base_java_unittest_support") { 2215 android_library("base_java_unittest_support") {
2215 deps = [ 2216 deps = [
2216 ":base_java", 2217 ":base_java",
2217 ] 2218 ]
2218 java_files = 2219 java_files =
2219 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 2220 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
2220 } 2221 }
2221 } 2222 }
OLDNEW
« no previous file with comments | « no previous file | ui/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698