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

Side by Side Diff: ui/gfx/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 | « ui/base/BUILD.gn ('k') | ui/resources/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/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/config.gni") 9 import("//build/config/android/config.gni")
10 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 "test/ui_cocoa_test_helper.h", 683 "test/ui_cocoa_test_helper.h",
684 "test/ui_cocoa_test_helper.mm", 684 "test/ui_cocoa_test_helper.mm",
685 ] 685 ]
686 } 686 }
687 if (is_linux) { 687 if (is_linux) {
688 deps += [ "//build/linux:fontconfig" ] 688 deps += [ "//build/linux:fontconfig" ]
689 } 689 }
690 } 690 }
691 691
692 bundle_data("gfx_unittests_bundle_data") { 692 bundle_data("gfx_unittests_bundle_data") {
693 testonly = true
693 sources = [ 694 sources = [
694 "test/data", 695 "test/data",
695 ] 696 ]
696 outputs = [ 697 outputs = [
697 "{{bundle_resources_dir}}/" + 698 "{{bundle_resources_dir}}/" +
698 "{{source_root_relative_dir}}/{{source_file_part}}", 699 "{{source_root_relative_dir}}/{{source_file_part}}",
699 ] 700 ]
700 } 701 }
701 702
702 test("gfx_unittests") { 703 test("gfx_unittests") {
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 if (is_android) { 855 if (is_android) {
855 generate_jni("gfx_jni_headers") { 856 generate_jni("gfx_jni_headers") {
856 sources = [ 857 sources = [
857 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 858 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
858 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 859 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
859 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 860 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
860 ] 861 ]
861 jni_package = "gfx" 862 jni_package = "gfx"
862 } 863 }
863 } 864 }
OLDNEW
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/resources/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698