blob: c9bac08c0fd436188dc886317db9b95a92bae72b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 51b25f1a8..56dfeb165 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -5073,7 +5073,9 @@ static_library("browser") {
"chrome_browser_main_extra_parts_ozone.cc",
"chrome_browser_main_extra_parts_ozone.h",
]
- deps += [ "//ui/ozone" ]
+ if (use_ozone) {
+ deps += [ "//ui/ozone" ]
+ }
}
if (enable_background_mode) {
|