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

Unified Diff: SConstruct

Issue 1514006: C++ profiles processor: put under #ifdef and fix issues. (Closed)
Patch Set: Created 10 years, 9 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 | « no previous file | src/circular-queue.h » ('j') | src/cpu-profiler-inl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: SConstruct
diff --git a/SConstruct b/SConstruct
index d33b567ec191fe8cabf9baa34ca8d394dc68cdb7..8e73698ed0aa72ff040b8369a60705233c5c57d6 100644
--- a/SConstruct
+++ b/SConstruct
@@ -105,6 +105,9 @@ LIBRARY_FLAGS = {
'profilingsupport:on': {
'CPPDEFINES': ['ENABLE_LOGGING_AND_PROFILING'],
},
+ 'cppprofilesprocessor:on': {
+ 'CPPDEFINES': ['ENABLE_CPP_PROFILES_PROCESSOR'],
+ },
'debuggersupport:on': {
'CPPDEFINES': ['ENABLE_DEBUGGER_SUPPORT'],
}
@@ -674,6 +677,11 @@ SIMPLE_OPTIONS = {
'default': 'on',
'help': 'enable profiling of JavaScript code'
},
+ 'cppprofilesprocessor': {
+ 'values': ['on', 'off'],
+ 'default': 'off',
+ 'help': 'enable C++ profiles processor'
+ },
'debuggersupport': {
'values': ['on', 'off'],
'default': 'on',
« no previous file with comments | « no previous file | src/circular-queue.h » ('j') | src/cpu-profiler-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698