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

Unified Diff: gyp/common_conditions.gypi

Issue 163363004: Gyp flag to disable inlining. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 10 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 | « gm/shadertext2.cpp ('k') | gyp/common_variables.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/common_conditions.gypi
===================================================================
--- gyp/common_conditions.gypi (revision 13431)
+++ gyp/common_conditions.gypi (working copy)
@@ -142,6 +142,15 @@
'-Werror',
],
}],
+ # For profiling; reveals some costs, exaggerates others (e.g. trivial setters & getters).
+ [ 'skia_disable_inlining', {
+ 'cflags': [
+ '-fno-inline',
+ '-fno-default-inline',
+ '-finline-limit=0',
+ '-fno-omit-frame-pointer',
+ ],
+ }],
[ 'skia_arch_type == "arm" and arm_thumb == 1', {
'cflags': [
'-mthumb',
« no previous file with comments | « gm/shadertext2.cpp ('k') | gyp/common_variables.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698