summaryrefslogtreecommitdiffstats
path: root/google_update
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-12 17:13:09 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-12 17:13:09 +0000
commite7736d75f1a69e8af68ca3d5610bce84c215cf0e (patch)
tree71318d10858ce36e0e471961a8cce2d57ace06dc /google_update
parentbaee2b89751c3fffdaedf5ec9d8cefa10cc56f98 (diff)
downloadchromium_src-e7736d75f1a69e8af68ca3d5610bce84c215cf0e.zip
chromium_src-e7736d75f1a69e8af68ca3d5610bce84c215cf0e.tar.gz
chromium_src-e7736d75f1a69e8af68ca3d5610bce84c215cf0e.tar.bz2
Only require Google Update on Windows.
Review URL: http://codereview.chromium.org/20293 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9663 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_update')
-rw-r--r--google_update/using_google_update.scons18
1 files changed, 10 insertions, 8 deletions
diff --git a/google_update/using_google_update.scons b/google_update/using_google_update.scons
index b60669a..c3d95cc 100644
--- a/google_update/using_google_update.scons
+++ b/google_update/using_google_update.scons
@@ -8,11 +8,13 @@ Settings for other components using Google Update.
Import("env")
-env.Append(
- CPPPATH = [
- '$GOOGLE_UPDATE_DIR',
- ],
- LIBS = [
- 'google_update',
- ],
-)
+# Google Update only works on Windows.
+if env.Bit('windows'):
+ env.Append(
+ CPPPATH = [
+ '$GOOGLE_UPDATE_DIR',
+ ],
+ LIBS = [
+ 'google_update',
+ ],
+ )