Index: base/BUILD.gn |
diff --git a/base/BUILD.gn b/base/BUILD.gn |
index 02d0bf91dc109757149c0a8d81eab62f54812b35..fa93c5f2cd46c4874011fe2dc4cdbde47141cfd1 100644 |
--- a/base/BUILD.gn |
+++ b/base/BUILD.gn |
@@ -11,6 +11,11 @@ if (is_android) { |
config("base_implementation") { |
defines = [ "BASE_IMPLEMENTATION" ] |
+ |
+ if (is_ios) { |
+ # base uses routines deprecated in iOS 8 |
+ cflags = [ "-Wno-deprecated-declarations" ] |
+ } |
} |
if (is_win) { |
@@ -688,6 +693,8 @@ component("base") { |
"//third_party/ashmem", |
] |
+ defines = [ "ANDROID_LOG_TAG=$android_log_tag" ] |
+ |
# logging.cc uses the Android logging library. |
libs = [ "log" ] |
} |