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

Unified Diff: webrtc/BUILD.gn

Issue 1343263004: Revert "Android: Enable C99 mode instead of C89 (default)." (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 3 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 | webrtc/build/common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/BUILD.gn
diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn
index 56d06cf1291d66684004a03dc4441a967f9b014a..40368597b22dc5cab2ef3215c8d6bd8159defd64 100644
--- a/webrtc/BUILD.gn
+++ b/webrtc/BUILD.gn
@@ -154,18 +154,14 @@ config("common_config") {
}
if (is_android && !is_clang) {
+ # The Android NDK doesn"t provide optimized versions of these
+ # functions. Ensure they are disabled for all compilers.
cflags += [
- # The Android NDK doesn't provide optimized versions of these
- # functions. Ensure they are disabled for all compilers.
"-fno-builtin-cos",
"-fno-builtin-sin",
"-fno-builtin-cosf",
"-fno-builtin-sinf",
]
- cflags_c = [
- # Use C99 mode instead of C89 (default).
- "-std=c99",
- ]
}
}
« no previous file with comments | « no previous file | webrtc/build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698