summaryrefslogtreecommitdiff
path: root/chromium/ui/gl/features.gni
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/gl/features.gni')
-rw-r--r--chromium/ui/gl/features.gni8
1 files changed, 6 insertions, 2 deletions
diff --git a/chromium/ui/gl/features.gni b/chromium/ui/gl/features.gni
index 6d4973d40bb..7fbcd0d8175 100644
--- a/chromium/ui/gl/features.gni
+++ b/chromium/ui/gl/features.gni
@@ -2,9 +2,13 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/chromecast_build.gni")
+import("//build/config/chromeos/ui_mode.gni")
+import("//build/config/chromeos/ui_mode.gni")
+import("//build/util/version.gni")
+
declare_args() {
# Should ANGLE be linked statically?
- # False by default, enabling currently supported only on Android
use_static_angle = false
# Should EGL support be compiled?
@@ -23,7 +27,7 @@ declare_args() {
declare_args() {
enable_swiftshader = (is_win || is_linux || is_chromeos ||
- (is_mac && use_egl) || is_chromeos || is_fuchsia) &&
+ (is_mac && use_egl) || is_chromeos_ash || is_fuchsia) &&
(target_cpu == "x86" || target_cpu == "x64" ||
target_cpu == "arm" || target_cpu == "arm64" ||
target_cpu == "mipsel" || target_cpu == "mips64el")