summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DEPS2
-rw-r--r--build/common.gypi13
2 files changed, 14 insertions, 1 deletions
diff --git a/DEPS b/DEPS
index 52aa303..a6d8b03 100644
--- a/DEPS
+++ b/DEPS
@@ -26,7 +26,7 @@ deps = {
# TODO(mark): Remove once this has moved into depot_tools.
"src/tools/gyp":
- "http://gyp.googlecode.com/svn/trunk@417",
+ "http://gyp.googlecode.com/svn/trunk@425",
"src/v8":
"http://v8.googlecode.com/svn/trunk@1668",
diff --git a/build/common.gypi b/build/common.gypi
index 2ddf44f..8279489 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -223,6 +223,19 @@
],
},
},
+ 'variants': {
+ 'coverage': {
+ 'cflags': ['-fprofile-arcs', '-ftest-coverage'],
+ 'ldflags': ['-fprofile-arcs'],
+ },
+ 'profile': {
+ 'cflags': ['-pg', '-g'],
+ 'ldflags': ['-pg'],
+ },
+ 'symbols': {
+ 'cflags': ['-g'],
+ },
+ },
},
}],
['OS=="mac"', {