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

Unified Diff: build/config/compiler/BUILD.gn

Issue 1297023003: [Android] Roll android_tools to Android M SDK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update SDK version in pylib Created 5 years, 4 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 | « build/config/android/config.gni ('k') | build/secondary/third_party/android_tools/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 1a60e0ad6790cc5554a88f9f5d2aebcc76daac98..412c421ec29d9f88184fd28ce540ddf15a96fa7d 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -571,6 +571,12 @@ config("compiler") {
# Let clang find the ld.gold in the NDK.
ldflags += [ "--gcc-toolchain=$rebased_android_toolchain_root" ]
}
+
+ # Use -mstackrealign due to a bug on ia32 Jelly Bean.
+ # See crbug.com/521527
+ if (current_cpu == "x86") {
+ cflags += [ "-mstackrealign" ]
+ }
}
ldflags += [
« no previous file with comments | « build/config/android/config.gni ('k') | build/secondary/third_party/android_tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698