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

Unified Diff: base/third_party/dynamic_annotations/BUILD.gn

Issue 555373004: Compile specific parts of the Android build with -O2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 6 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
Index: base/third_party/dynamic_annotations/BUILD.gn
diff --git a/base/third_party/dynamic_annotations/BUILD.gn b/base/third_party/dynamic_annotations/BUILD.gn
index fdaf44d3b3d245552f1cb9532096b2e8bd70636f..9a478674f1b8afeb993de9a5df1a8a366ce292dc 100644
--- a/base/third_party/dynamic_annotations/BUILD.gn
+++ b/base/third_party/dynamic_annotations/BUILD.gn
@@ -8,4 +8,8 @@ source_set("dynamic_annotations") {
"dynamic_annotations.h",
"../valgrind/valgrind.h",
]
+ if (is_android && !is_debug) {
+ configs -= [ "//build/config/compiler:optimize" ]
+ configs += [ "//build/config/compiler:optimize_max" ]
+ }
}

Powered by Google App Engine
This is Rietveld 408576698