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

Unified Diff: build/common.gypi

Issue 11316228: Make profiling=1 work for chromium-android (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Updated per digit's request Created 8 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 | « no previous file | skia/skia.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 0daf4440f775d6bf7e0884519a7593afdfab7f2d..3e419c6d618fde3006b7420571dd1142b58e1e94 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2604,6 +2604,12 @@
'__ARM_ARCH_5TE__',
],
}],
+ ['profiling==1', {
+ 'cflags': [
+ '-marm', # Probably reduntant, but recommend by "perf" docs.
+ '-mapcs-frame', # Seems required by -fno-omit-frame-pointer.
+ ],
+ }],
['clang==1', {
'cflags!': [
# Clang does not support the following options.
« no previous file with comments | « no previous file | skia/skia.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698