summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormunjal@chromium.org <munjal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-15 07:46:36 +0000
committermunjal@chromium.org <munjal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-15 07:46:36 +0000
commit04eadbfb1213ae537b13f6f970019b571ac97e72 (patch)
tree53e2729faf3b3dc8ada74f639169f156dd71ba91
parent5f821463f958ae08cdbc006012da0763d917ef04 (diff)
downloadchromium_src-04eadbfb1213ae537b13f6f970019b571ac97e72.zip
chromium_src-04eadbfb1213ae537b13f6f970019b571ac97e72.tar.gz
chromium_src-04eadbfb1213ae537b13f6f970019b571ac97e72.tar.bz2
Try what I tried in r23343 again
Sync gyp stuff moved from common.gypi to chrome.gyp. TEST=none BUG=none Review URL: http://codereview.chromium.org/169018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23517 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--build/common.gypi17
-rw-r--r--chrome/chrome.gyp13
2 files changed, 13 insertions, 17 deletions
diff --git a/build/common.gypi b/build/common.gypi
index fed9d96..1e76f75 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -94,12 +94,6 @@
'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.
@@ -183,17 +177,6 @@
['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"', {
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 462bcb2..dba3484 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -5,6 +5,13 @@
{
'variables': {
'chromium_code': 1,
+
+ # 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,
+
# Define the common dependencies that contain all the actual
# Chromium functionality. This list gets pulled in below by
# the link of the actual chrome (or chromium) executable on
@@ -111,6 +118,12 @@
['OS=="linux" and toolkit_views==1', {'sources/': [
['include', '_views\\.cc$'],
]}],
+ ['OS=="win" and use_syncapi_stub==1', {
+ 'defines': ['COMPILING_SYNCAPI_STUB'],
+ }], # use_syncapi_stub==1
+ ['OS=="win" and chrome_personalization==1', {
+ 'defines': ['CHROME_PERSONALIZATION=1'],
+ }], # chrome_personalization==1
],
},
'targets': [