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

Unified Diff: build/common.gypi

Issue 9959116: Add support for not compiling in chrome/browser/background. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_dependency_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 269c2c6931a4f9fe98b0581f929e23daf7a3d4ae..7956ec2441a59fdd96b59ea7f7e6734112f4d365 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -238,6 +238,9 @@
# disabling depends on the platform.
'enable_themes%': 1,
+ # Enables support for background apps.
+ 'enable_background%': 1,
+
# XInput2 multitouch support is disabled by default (use_xi2_mt=0).
# Setting to non-zero value enables XI2 MT. When XI2 MT is enabled,
# the input value also defines the required XI2 minor minimum version.
@@ -503,6 +506,7 @@
'enable_protector_service%': '<(enable_protector_service)',
'enable_session_service%': '<(enable_session_service)',
'enable_themes%': '<(enable_themes)',
+ 'enable_background%': '<(enable_background)',
'linux_use_gold_binary%': '<(linux_use_gold_binary)',
'linux_use_gold_flags%': '<(linux_use_gold_flags)',
'use_canvas_skia%': '<(use_canvas_skia)',
@@ -792,6 +796,7 @@
'java_bridge%': 1,
# Android does not support themes.
'enable_themes%': 0,
+ 'enable_background%': 0,
# Sessions are store separately in the Java side.
'enable_session_service%': 0,
@@ -1379,6 +1384,9 @@
['enable_themes==1', {
'defines': ['ENABLE_THEMES=1'],
}],
+ ['enable_background==1', {
+ 'defines': ['ENABLE_BACKGROUND=1'],
+ }],
['enable_automation==1', {
'defines': ['ENABLE_AUTOMATION=1'],
}],
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_dependency_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698