summaryrefslogtreecommitdiff
path: root/chromium/chrome
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-01-17 16:13:55 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-06-21 16:27:47 +0200
commit2c7e21f0eba5af573f925d914e6b5d1ee3cb7093 (patch)
treea0bd601eca36d3c46b676e6cc5077376c6ed8826 /chromium/chrome
parentc236e0c535e15ccd4ee2c2ad95742e761103b576 (diff)
downloadqtwebengine-chromium-2c7e21f0eba5af573f925d914e6b5d1ee3cb7093.tar.gz
Fix building on windows without toolkit_views
We don't use toolkit_views on any platform Change-Id: If56aada46ab540523d80675ed983c4104a6743b3 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'chromium/chrome')
-rw-r--r--chromium/chrome/browser/ui/BUILD.gn2
-rw-r--r--chromium/chrome/test/BUILD.gn4
2 files changed, 3 insertions, 3 deletions
diff --git a/chromium/chrome/browser/ui/BUILD.gn b/chromium/chrome/browser/ui/BUILD.gn
index 834d353549f..1874205123c 100644
--- a/chromium/chrome/browser/ui/BUILD.gn
+++ b/chromium/chrome/browser/ui/BUILD.gn
@@ -3209,7 +3209,7 @@ static_library("ui") {
}
}
- if (is_win) {
+ if (is_win && toolkit_views) {
assert(toolkit_views)
assert(use_aura)
sources += [
diff --git a/chromium/chrome/test/BUILD.gn b/chromium/chrome/test/BUILD.gn
index c54cac1c6d5..aa87cfeb720 100644
--- a/chromium/chrome/test/BUILD.gn
+++ b/chromium/chrome/test/BUILD.gn
@@ -4041,7 +4041,7 @@ test("unit_tests") {
sources += [ "views/accessibility_checker_unittest.cc" ]
}
- if (is_win) {
+ if (is_win && toolkit_views) {
assert(toolkit_views)
sources += [
"../browser/chrome_browser_main_win_unittest.cc",
@@ -4328,7 +4328,7 @@ test("unit_tests") {
]
}
- if (is_win) {
+ if (is_win && toolkit_views) {
assert(toolkit_views)
sources += [ "../browser/ui/startup/credential_provider_signin_info_fetcher_win_unittest.cc" ]
deps += [