OLD | NEW |
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 927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
938 data += [ | 938 data += [ |
939 # TODO(brettw): Remove these two lines. | 939 # TODO(brettw): Remove these two lines. |
940 "$root_out_dir/ui/en-US.pak", | 940 "$root_out_dir/ui/en-US.pak", |
941 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", | 941 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", |
942 ] | 942 ] |
943 } | 943 } |
944 if (is_mac) { | 944 if (is_mac) { |
945 data += [ "$root_out_dir/ui_unittests Framework.framework/" ] | 945 data += [ "$root_out_dir/ui_unittests Framework.framework/" ] |
946 | 946 |
947 if (is_asan && symbol_level == 0) { | 947 if (is_asan && symbol_level == 0) { |
948 data += [ "$root_out_dir/ui_base_unittests.dSYM/" ] | 948 # TODO(crbug.com/330301): make this conditional on mac_strip_release. |
| 949 # data += [ "$root_out_dir/ui_base_unittests.dSYM/" ] |
949 } | 950 } |
950 } | 951 } |
951 } | 952 } |
952 | 953 |
953 if (is_mac) { | 954 if (is_mac) { |
954 mac_framework_bundle("ui_unittests_framework") { | 955 mac_framework_bundle("ui_unittests_framework") { |
955 testonly = true | 956 testonly = true |
956 deps = [ | 957 deps = [ |
957 "//ui/resources:ui_test_pak_bundle_data", | 958 "//ui/resources:ui_test_pak_bundle_data", |
958 ] | 959 ] |
959 info_plist = "test/framework-Info.plist" | 960 info_plist = "test/framework-Info.plist" |
960 output_name = "ui_unittests Framework" | 961 output_name = "ui_unittests Framework" |
961 } | 962 } |
962 } | 963 } |
OLD | NEW |