Index: build/common.gypi |
=================================================================== |
--- build/common.gypi (revision 13100) |
+++ build/common.gypi (working copy) |
@@ -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"', { |