summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/buildflags.gni
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/buildflags.gni')
-rw-r--r--chromium/chrome/browser/buildflags.gni8
1 files changed, 7 insertions, 1 deletions
diff --git a/chromium/chrome/browser/buildflags.gni b/chromium/chrome/browser/buildflags.gni
index 16404b08165..a67afd18351 100644
--- a/chromium/chrome/browser/buildflags.gni
+++ b/chromium/chrome/browser/buildflags.gni
@@ -2,7 +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/chrome_build.gni")
+
declare_args() {
- enable_kaleidoscope = false
+ # Enable Kaleidoscope if we are not Android and we have access to the internal
+ # code. For now we are disabled on Windows and Chrome OS until the build issues
+ # are fixed.
+ enable_kaleidoscope = !is_android && !is_win && !is_chromeos && is_chrome_branded
+
tpm_fallback = false
}