Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(450)

Side by Side Diff: build/config/features.gni

Issue 2570573002: Convert RLZ to a buildflag header (Closed)
Patch Set: iOS Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/BUILD.gn ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # ============================================= 5 # =============================================
6 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 6 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE
7 # ============================================= 7 # =============================================
8 # 8 #
9 # These flags are effectively global. Your feature flag should go near the 9 # These flags are effectively global. Your feature flag should go near the
10 # code it controls. Most of these items are here now because they control 10 # code it controls. Most of these items are here now because they control
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 # Enable WebVR support by default on Android 73 # Enable WebVR support by default on Android
74 # Still requires command line flag to access API 74 # Still requires command line flag to access API
75 # TODO(bshe): Enable for other architecture too. Currently we only support arm 75 # TODO(bshe): Enable for other architecture too. Currently we only support arm
76 # and arm64. 76 # and arm64.
77 enable_webvr = is_android && (current_cpu == "arm" || current_cpu == "arm64") 77 enable_webvr = is_android && (current_cpu == "arm" || current_cpu == "arm64")
78 } 78 }
79 79
80 # Additional dependent variables ----------------------------------------------- 80 # Additional dependent variables -----------------------------------------------
81 81
82 # Whether we are using the rlz library or not. Platforms like Android send
83 # rlz codes for searches but do not use the library.
84 enable_rlz_support = is_win || is_mac || is_ios || is_chromeos
85 enable_rlz = is_chrome_branded && enable_rlz_support
86
87 # Chrome OS: whether to also build the upcoming version of 82 # Chrome OS: whether to also build the upcoming version of
88 # ChromeVox, which can then be enabled via a command-line switch. 83 # ChromeVox, which can then be enabled via a command-line switch.
89 enable_chromevox_next = false 84 enable_chromevox_next = false
90 # 85 #
91 # ============================================= 86 # =============================================
92 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 87 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE
93 # ============================================= 88 # =============================================
94 # 89 #
95 # See comment at the top. 90 # See comment at the top.
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698