diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-03 21:32:04 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-03 21:32:04 +0000 |
commit | 601b54022e6232875c8b24501e425b450f071217 (patch) | |
tree | 41ccc0fb362659addc089e58c596f6a1f02233d5 /build | |
parent | 243ed6775d053407531a16ce1bf986f1df697f62 (diff) | |
download | chromium_src-601b54022e6232875c8b24501e425b450f071217.zip chromium_src-601b54022e6232875c8b24501e425b450f071217.tar.gz chromium_src-601b54022e6232875c8b24501e425b450f071217.tar.bz2 |
Add 'variants' support on Linux for COVERAGE=, PROFILE= and SYMBOLS=.
Review URL: http://codereview.chromium.org/62006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13115 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 13 |
1 files changed, 13 insertions, 0 deletions
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"', { |