Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: google_update/using_google_update.scons

Issue 20293: Only require Google Update on Windows. (Closed)
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_update/using_google_update.scons
diff --git a/google_update/using_google_update.scons b/google_update/using_google_update.scons
index b60669a74c52dd3c371ff03ea8adb95f602b68e1..c3d95ccf0bc77ea5e1bd57a904fa6d627684906a 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',
+ ],
+ )
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698