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

Side by Side Diff: chrome/chrome_features.gypi

Issue 1475883002: Revert of New build flag system, convert Google Now flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « chrome/chrome_exe.gypi ('k') | chrome/chrome_plugin.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # This is the GYP equivalent of //chrome/common/features.gni.
6 # Please keep in sync!
7
8 {
9 'variables': {
10 'variables': {
11 # Conditional variables.
12 'conditions': [
13 ['OS=="android" or OS=="ios"', {
14 'enable_google_now%': 0,
15 }, {
16 'enable_google_now%': 1,
17 }]
18 ],
19 },
20
21 # Anything in the conditions needs to be copied to the outer scope to be
22 # accessible.
23 'enable_google_now%': '<(enable_google_now)',
24
25 # Grit defines based on the feature flags. These must be manually added to
26 # grit targets.
27 'chrome_grit_defines': [
28 '-D', 'enable_google_now=<(enable_google_now)',
29 ]
30 },
31 }
OLDNEW
« no previous file with comments | « chrome/chrome_exe.gypi ('k') | chrome/chrome_plugin.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698