Index: content/browser/BUILD.gn |
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn |
index a46ca440c61fa7e45a692fd4c97e1f4f8bf2adc1..42e3aea3d940e94c03885efd77433baac2f7095a 100644 |
--- a/content/browser/BUILD.gn |
+++ b/content/browser/BUILD.gn |
@@ -310,10 +310,10 @@ source_set("browser") { |
# Dealing with power_save_blocker_{x11,ozone}.cc is a little complicated |
# given the interaction between os_chromeos and the feature flags for X11 and |
# ozone, so do it all in one spot. |
- if (is_chromeos || !use_ozone) { |
+ if (is_chromeos_ui || !use_ozone) { |
sources -= [ "power_save_blocker_ozone.cc" ] |
} |
- if (is_chromeos || !use_x11) { |
+ if (is_chromeos_ui || !use_x11) { |
sources -= [ "power_save_blocker_x11.cc" ] |
} |
@@ -322,7 +322,7 @@ source_set("browser") { |
if (is_android) { |
sources -= [ "geolocation/wifi_data_provider_common.cc" ] |
} |
- if (is_chromeos || (is_linux && !use_dbus)) { |
+ if (is_chromeos_ui || (is_linux && !use_dbus)) { |
sources -= [ "geolocation/wifi_data_provider_linux.cc" ] |
} |
if (is_linux && use_dbus) { |
@@ -397,7 +397,7 @@ source_set("browser") { |
] |
} |
- if (is_chromeos) { |
+ if (is_chromeos_ui) { |
sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] |
deps += [ |
"//chromeos", |