summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 02:36:34 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 02:36:34 +0000
commit92ad2cd7566835836b0dc3b66c719e9bfe08e6af (patch)
treecff9514cf67a4b795847c7313d007a8c45308a55 /build/common.gypi
parenta80dac4df5c030169f05ea207bdae06f82e656c3 (diff)
downloadchromium_src-92ad2cd7566835836b0dc3b66c719e9bfe08e6af.zip
chromium_src-92ad2cd7566835836b0dc3b66c719e9bfe08e6af.tar.gz
chromium_src-92ad2cd7566835836b0dc3b66c719e9bfe08e6af.tar.bz2
Build browser/sync files by default using a stubbed-out syncapi
implementation. The stub will be replaced once the rest of sync/engine lands as we open source the sync engine code. Review URL: http://codereview.chromium.org/165257 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23004 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi18
1 files changed, 15 insertions, 3 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 9d734fa..d9d35dc 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -94,7 +94,11 @@
'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
@@ -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'],
+ }], # use_syncapi_stub==1
['coverage!=0', {
'conditions': [
['OS=="mac"', {