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

Unified Diff: tools/flags/SkCommandLineFlags.cpp

Issue 1429863002: Enable building Skia for iOS with bazel. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: revert to single INCLUDE, removed Xcode 5 COPTS Created 5 years, 1 month 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 | « BUILD.public ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/flags/SkCommandLineFlags.cpp
diff --git a/tools/flags/SkCommandLineFlags.cpp b/tools/flags/SkCommandLineFlags.cpp
index 2fe7824c84e465e652648500e5cfe2c684a80120..9b2c9616cbf4ebc0a70c4bfc33cc98910053bc4d 100644
--- a/tools/flags/SkCommandLineFlags.cpp
+++ b/tools/flags/SkCommandLineFlags.cpp
@@ -11,8 +11,8 @@
#include <stdlib.h>
-#if defined(GOOGLE3) && defined(SK_BUILD_FOR_ANDROID)
- // I don't know why, but this is defined by //base only for Android.
+#if defined(GOOGLE3) && (defined(SK_BUILD_FOR_ANDROID) || defined(SK_BUILD_FOR_IOS))
+ // I don't know why, but this is defined by //base only for non-Linux.
DECLARE_bool(undefok)
#else
DEFINE_bool(undefok, false, "Silently ignore unknown flags instead of crashing.");
« no previous file with comments | « BUILD.public ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698