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

Unified Diff: build/common.gypi

Issue 6250070: Added command line switches and UI (controlled via a build option) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix review issues Created 9 years, 11 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: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 6044b5276044f314d6536c7861b052edb6dbdfe1..f9ab30cf0cbb9cdc78199642f44aaf98b668074a 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -22,7 +22,7 @@
'chromeos%': 0,
# Disable touch support by default.
- 'touchui%': 0,
+ 'touchui%': 0,
evanm 2011/02/01 19:39:59 probably didn't mean to make this change
DaveMoore 2011/02/01 21:33:04 Done.
},
# Copy conditionally-set variables out one scope.
'chromeos%': '<(chromeos)',
@@ -279,6 +279,9 @@
'clang_load%': '',
'clang_add_plugin%': '',
+ # Enable sampling based profiler.
evanm 2011/02/01 19:39:59 Could you reference where to find more info on thi
DaveMoore 2011/02/01 21:33:04 Done.
+ 'profiling%': '0',
+
# Override whether we should use Breakpad on Linux. I.e. for Chrome bot.
'linux_breakpad%': 0,
# And if we want to dump symbols for Breakpad-enabled builds.
@@ -536,6 +539,9 @@
['touchui==1', {
'defines': ['TOUCH_UI=1'],
}],
+ ['profiling==1', {
+ 'defines': ['ENABLE_PROFILING=1'],
+ }],
['remoting==1', {
'defines': ['ENABLE_REMOTING=1'],
}],
@@ -1014,6 +1020,12 @@
'-fno-ident',
],
}],
+ ['profiling==1', {
+ 'cflags': [
+ '-fno-omit-frame-pointer',
+ '-g',
+ ],
+ }],
]
},
},

Powered by Google App Engine
This is Rietveld 408576698