summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_tests.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/chrome_tests.gypi')
-rw-r--r--chrome/chrome_tests.gypi8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi
index a8eaabd..06ae78a 100644
--- a/chrome/chrome_tests.gypi
+++ b/chrome/chrome_tests.gypi
@@ -2,6 +2,14 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
+ 'target_defaults': {
+ 'conditions': [
+ ['strip_tests==1', {
+ 'cflags!': [ '-g' ],
+ 'ldflags': [ '-Wl,--strip-debug' ],
+ }],
+ ],
+ },
'variables' : {
# Variables for js2gtest rules
'gypv8sh': '../tools/gypv8sh.py',