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

Side by Side Diff: ui/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 | « base/BUILD.gn ('k') | ui/gfx/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("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("//ui/base/ui_features.gni") 10 import("//ui/base/ui_features.gni")
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 "../android/java/src/org/chromium/ui/base/LocalizationUtils.java", 696 "../android/java/src/org/chromium/ui/base/LocalizationUtils.java",
697 "../android/java/src/org/chromium/ui/base/ResourceBundle.java", 697 "../android/java/src/org/chromium/ui/base/ResourceBundle.java",
698 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java", 698 "../android/java/src/org/chromium/ui/base/SelectFileDialog.java",
699 "../android/java/src/org/chromium/ui/base/TouchDevice.java", 699 "../android/java/src/org/chromium/ui/base/TouchDevice.java",
700 ] 700 ]
701 jni_package = "base" 701 jni_package = "base"
702 } 702 }
703 } 703 }
704 704
705 bundle_data("ui_base_unittests_bundle_data") { 705 bundle_data("ui_base_unittests_bundle_data") {
706 testonly = true
706 sources = [ 707 sources = [
707 "test/data/data_pack_unittest/truncated-header.pak", 708 "test/data/data_pack_unittest/truncated-header.pak",
708 ] 709 ]
709 outputs = [ 710 outputs = [
710 "{{bundle_resources_dir}}/" + 711 "{{bundle_resources_dir}}/" +
711 "{{source_root_relative_dir}}/{{source_file_part}}", 712 "{{source_root_relative_dir}}/{{source_file_part}}",
712 ] 713 ]
713 } 714 }
714 715
715 # GYP version: ui/base/ui_base_tests.gyp:ui_base_unittests 716 # GYP version: ui/base/ui_base_tests.gyp:ui_base_unittests
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 } 938 }
938 if (is_mac) { 939 if (is_mac) {
939 data += [ "$root_out_dir/ui_unittests Framework.framework/" ] 940 data += [ "$root_out_dir/ui_unittests Framework.framework/" ]
940 941
941 if (is_asan && symbol_level == 0) { 942 if (is_asan && symbol_level == 0) {
942 data += [ "$root_out_dir/ui_base_unittests.dSYM/" ] 943 data += [ "$root_out_dir/ui_base_unittests.dSYM/" ]
943 } 944 }
944 } 945 }
945 } 946 }
946 # TODO(GYP) Mac (ui_base_tests_bundle) 947 # TODO(GYP) Mac (ui_base_tests_bundle)
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698