diff options
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 0b567b2..99025df 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -94,6 +94,12 @@ 'chromeos%': 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. @@ -177,6 +183,17 @@ ['chromeos==1', { 'defines': ['OS_CHROMEOS=1'], }], + ['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"', { |