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("//build/util/branding.gni") |
9 import("//testing/test.gni") | 10 import("//testing/test.gni") |
10 import("//ui/base/ui_features.gni") | 11 import("//ui/base/ui_features.gni") |
11 import("//ui/ozone/ozone.gni") | 12 import("//ui/ozone/ozone.gni") |
12 | 13 |
13 if (is_android) { | 14 if (is_android) { |
14 import("//build/config/android/config.gni") | 15 import("//build/config/android/config.gni") |
15 import("//build/config/android/rules.gni") | 16 import("//build/config/android/rules.gni") |
16 } else if (is_mac) { | 17 } else if (is_mac) { |
17 import("//build/config/mac/rules.gni") | 18 import("//build/config/mac/rules.gni") |
18 } | 19 } |
(...skipping 988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1007 } | 1008 } |
1008 } | 1009 } |
1009 | 1010 |
1010 if (is_mac) { | 1011 if (is_mac) { |
1011 mac_framework_bundle("ui_unittests_framework") { | 1012 mac_framework_bundle("ui_unittests_framework") { |
1012 testonly = true | 1013 testonly = true |
1013 deps = [ | 1014 deps = [ |
1014 "//ui/resources:ui_test_pak_bundle_data", | 1015 "//ui/resources:ui_test_pak_bundle_data", |
1015 ] | 1016 ] |
1016 info_plist = "test/framework-Info.plist" | 1017 info_plist = "test/framework-Info.plist" |
| 1018 extra_substitutions = [ "CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id" ] |
1017 output_name = "ui_unittests Framework" | 1019 output_name = "ui_unittests Framework" |
1018 } | 1020 } |
1019 } | 1021 } |
1020 | 1022 |
1021 if (is_win) { | 1023 if (is_win) { |
1022 # This source set is used by both //chrome/browser and | 1024 # This source set is used by both //chrome/browser and |
1023 # //chrome/installer/setup. It must have minimal dependencies for the latter | 1025 # //chrome/installer/setup. It must have minimal dependencies for the latter |
1024 # (e.g., no skia). | 1026 # (e.g., no skia). |
1025 source_set("fullscreen_win") { | 1027 source_set("fullscreen_win") { |
1026 sources = [ | 1028 sources = [ |
1027 "fullscreen_win.cc", | 1029 "fullscreen_win.cc", |
1028 "fullscreen_win.h", | 1030 "fullscreen_win.h", |
1029 ] | 1031 ] |
1030 } | 1032 } |
1031 } | 1033 } |
OLD | NEW |