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

Unified Diff: build/common.gypi

Issue 165257: Build browser/sync files by default using a stubbed-out syncapi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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/dom_ui/new_tab_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
===================================================================
--- build/common.gypi (revision 23002)
+++ build/common.gypi (working copy)
@@ -94,8 +94,12 @@
'chromeos%': 0,
- 'chrome_personalization%': 0,
+ # Whether or not browser sync code is built in.
+ 'chrome_personalization%': 1,
+ # Used to build and statically link a stub (no-op) syncapi engine.
+ 'use_syncapi_stub%' : 1,
+
# Set the restrictions on the SUID sandbox binary.
# Path: only exec the hard coded chrome binary path
# User: only exec binaries owned by the running user.
@@ -180,8 +184,16 @@
'defines': ['OS_CHROMEOS=1'],
}],
['chrome_personalization==1', {
- 'defines': ['CHROME_PERSONALIZATION=1'],
- }],
+ 'conditions': [
+ ['OS=="win"', {
+ # For now sync is only enabled on windows.
+ 'defines': ['CHROME_PERSONALIZATION=1'],
+ }], # OS==win
+ ], # conditions for chrome_personalization
+ }], # chrome_personalization==1
+ ['use_syncapi_stub==1', {
+ 'defines': ['COMPILING_SYNCAPI_STUB'],
Mark Mentovai 2009/08/11 04:10:04 Did we really need to define this for every single
tim (not reviewing) 2009/08/11 18:57:00 We don't need this for every single file we build,
+ }], # use_syncapi_stub==1
['coverage!=0', {
'conditions': [
['OS=="mac"', {
« no previous file with comments | « no previous file | chrome/browser/dom_ui/new_tab_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698