From e7736d75f1a69e8af68ca3d5610bce84c215cf0e Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Thu, 12 Feb 2009 17:13:09 +0000 Subject: 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 --- google_update/using_google_update.scons | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'google_update') 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', + ], + ) -- cgit v1.1