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

Unified Diff: tools/gyp/configurations_android.gypi

Issue 414303004: Add build configuration variable 'c_frame_pointers' to control whether or not frame pointers are in… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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 | « tools/gyp/all.gypi ('k') | tools/gyp/configurations_make.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gyp/configurations_android.gypi
diff --git a/tools/gyp/configurations_android.gypi b/tools/gyp/configurations_android.gypi
index 9a0c96d0c8a732fccedf6688d467f937d8fdb364..cadd1224d68a6bfd930e0db2652b5760923b2b36 100644
--- a/tools/gyp/configurations_android.gypi
+++ b/tools/gyp/configurations_android.gypi
@@ -55,6 +55,16 @@
'defines': [
'DEBUG',
],
+ 'conditions': [
+ ['c_frame_pointers==1', {
+ 'cflags': [
+ '-fno-omit-frame-pointer',
+ ],
+ 'defines': [
+ 'PROFILE_NATIVE_CODE'
+ ],
+ }],
+ ],
},
'Dart_Android_Release': {
'abstract': 1,
@@ -68,11 +78,18 @@
'cflags': [
'-fdata-sections',
'-ffunction-sections',
- # Uncomment the following line and pass --profile-vm to enable
- # profiling of C++ code within Observatory.
- # '-fno-omit-frame-pointer',
'-O3',
],
+ 'conditions': [
+ ['c_frame_pointers==1', {
+ 'cflags': [
+ '-fno-omit-frame-pointer',
+ ],
+ 'defines': [
+ 'PROFILE_NATIVE_CODE'
+ ],
+ }],
+ ],
},
'Dart_Android_ia32_Base': {
'abstract': 1,
« no previous file with comments | « tools/gyp/all.gypi ('k') | tools/gyp/configurations_make.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698