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

Side by Side Diff: chrome/chrome_features.gypi

Issue 1555803002: Add a wrapper for grit_action.gypi for chrome specific variables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 months 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 | « no previous file | chrome/chrome_grit_action.gypi » ('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 2015 The Chromium Authors. All rights reserved. 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 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 # This is the GYP equivalent of //chrome/common/features.gni. 5 # This is the GYP equivalent of //chrome/common/features.gni.
6 # Please keep in sync! 6 # Please keep in sync!
7 7
8 { 8 {
9 'variables': { 9 'variables': {
10 'variables': { 10 'variables': {
11 # Conditional variables. 11 # Conditional variables.
12 'conditions': [ 12 'conditions': [
13 ['OS=="android"', { 13 ['OS=="android"', {
14 'android_java_ui%': 1, 14 'android_java_ui%': 1,
(...skipping 16 matching lines...) Expand all
31 # accessible. 31 # accessible.
32 'enable_google_now%': '<(enable_google_now)', 32 'enable_google_now%': '<(enable_google_now)',
33 'android_java_ui%': '<(android_java_ui)', 33 'android_java_ui%': '<(android_java_ui)',
34 'use_vulcanize%': '<(use_vulcanize)', 34 'use_vulcanize%': '<(use_vulcanize)',
35 35
36 # Grit defines based on the feature flags. These must be manually added to 36 # Grit defines based on the feature flags. These must be manually added to
37 # grit targets. 37 # grit targets.
38 'chrome_grit_defines': [ 38 'chrome_grit_defines': [
39 '-D', 'enable_google_now=<(enable_google_now)', 39 '-D', 'enable_google_now=<(enable_google_now)',
40 '-D', 'use_vulcanize=<(use_vulcanize)', 40 '-D', 'use_vulcanize=<(use_vulcanize)',
41 ] 41 ],
42 }, 42 },
43 } 43 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_grit_action.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698