Enable profiling options to be selectively enabled for a given build
Review URL: https://codereview.appspot.com/6858089
git-svn-id: http://skia.googlecode.com/svn/trunk@6598 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gyp/opts.gyp b/gyp/opts.gyp
index cd892e8..de27b42 100644
--- a/gyp/opts.gyp
+++ b/gyp/opts.gyp
@@ -54,9 +54,12 @@
# ARM), the compiler doesn't like that.
'cflags!': [
'-fno-omit-frame-pointer',
+ '-mapcs-frame',
+ '-mapcs',
],
'cflags': [
'-fomit-frame-pointer',
+ '-mno-apcs-frame',
],
'variables': {
'arm_neon_optional%': '<(arm_neon_optional>',