diff options
-rw-r--r-- | DEPS | 2 | ||||
-rw-r--r-- | build/common.gypi | 13 |
2 files changed, 14 insertions, 1 deletions
@@ -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"', { |