summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/common.gypi2
-rw-r--r--chrome/chrome.gyp23
2 files changed, 25 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 9b68623..63a84f5 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -246,6 +246,8 @@
'linux_dump_symbols%': 0,
# And if we want to strip the binary after dumping symbols.
'linux_strip_binary%': 0,
+ # Strip the test binaries needed for Linux reliability tests.
+ 'linux_strip_reliability_tests%': 0,
# Enable TCMalloc.
'linux_use_tcmalloc%': 1,
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 48975c3..9a9f81a 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -1559,6 +1559,29 @@
'../breakpad/breakpad.gyp:dump_syms',
],
}],
+ ['linux_strip_reliability_tests==1', {
+ 'actions': [
+ {
+ 'action_name': 'strip_reliability_tests',
+ 'inputs': [
+ '<(PRODUCT_DIR)/automated_ui_tests',
+ '<(PRODUCT_DIR)/reliability_tests',
+ '<(PRODUCT_DIR)/lib.target/_pyautolib.so',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/strip_reliability_tests.stamp',
+ ],
+ 'action': ['strip',
+ '-g',
+ '<@(_inputs)'],
+ 'message': 'Stripping reliability tests',
+ },
+ ],
+ 'dependencies': [
+ 'automated_ui_tests',
+ 'reliability_tests',
+ ],
+ }],
],
}
],