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

Side by Side Diff: ui/base/BUILD.gn

Issue 1916503002: Reland of Generate Android .isolate files used for test()s (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add data for ui/base Created 4 years, 8 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 | « testing/test.gni ('k') | no next file » | 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 917 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 # instead of depending directly on the non-test .pak files, but depending 928 # instead of depending directly on the non-test .pak files, but depending
929 # on ui_test_pak seems to have no effect. 929 # on ui_test_pak seems to have no effect.
930 data += [ 930 data += [
931 "test/data/data_pack_unittest/truncated-header.pak", 931 "test/data/data_pack_unittest/truncated-header.pak",
932 "$root_out_dir/ui_test.pak", # TODO(brettw): remove this line. 932 "$root_out_dir/ui_test.pak", # TODO(brettw): remove this line.
933 ] 933 ]
934 data_deps += [ 934 data_deps += [
935 "//ui/resources:ui_test_pak", # TODO(brettw): this does nothing. 935 "//ui/resources:ui_test_pak", # TODO(brettw): this does nothing.
936 "//third_party/mesa:osmesa", 936 "//third_party/mesa:osmesa",
937 ] 937 ]
938 } else if (is_android) {
939 data += [ "test/data/data_pack_unittest/truncated-header.pak" ]
938 } 940 }
939 if (is_linux || is_win) { 941 if (is_linux || is_win) {
940 data += [ 942 data += [
941 # TODO(brettw): Remove these two lines. 943 # TODO(brettw): Remove these two lines.
942 "$root_out_dir/ui/en-US.pak", 944 "$root_out_dir/ui/en-US.pak",
943 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", 945 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
944 ] 946 ]
945 } 947 }
946 if (is_mac) { 948 if (is_mac) {
947 data += [ "$root_out_dir/ui_unittests Framework.framework/" ] 949 data += [ "$root_out_dir/ui_unittests Framework.framework/" ]
948 950
949 if (is_asan && symbol_level == 0) { 951 if (is_asan && symbol_level == 0) {
950 # TODO(crbug.com/330301): make this conditional on mac_strip_release. 952 # TODO(crbug.com/330301): make this conditional on mac_strip_release.
951 # data += [ "$root_out_dir/ui_base_unittests.dSYM/" ] 953 # data += [ "$root_out_dir/ui_base_unittests.dSYM/" ]
952 } 954 }
953 } 955 }
954 } 956 }
955 957
956 if (is_mac) { 958 if (is_mac) {
957 mac_framework_bundle("ui_unittests_framework") { 959 mac_framework_bundle("ui_unittests_framework") {
958 testonly = true 960 testonly = true
959 deps = [ 961 deps = [
960 "//ui/resources:ui_test_pak_bundle_data", 962 "//ui/resources:ui_test_pak_bundle_data",
961 ] 963 ]
962 info_plist = "test/framework-Info.plist" 964 info_plist = "test/framework-Info.plist"
963 output_name = "ui_unittests Framework" 965 output_name = "ui_unittests Framework"
964 } 966 }
965 } 967 }
OLDNEW
« no previous file with comments | « testing/test.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698