summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-15 22:24:49 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-15 22:24:49 +0000
commit1d87c2835130363d56fd759cc396bc83aae4ecbd (patch)
treee1c0ba7dfaa00308f28a5aad84a4b029e058a03b
parentc5acf0164f7a4f03d599c4030e794acff9d022a0 (diff)
downloadchromium_src-1d87c2835130363d56fd759cc396bc83aae4ecbd.zip
chromium_src-1d87c2835130363d56fd759cc396bc83aae4ecbd.tar.gz
chromium_src-1d87c2835130363d56fd759cc396bc83aae4ecbd.tar.bz2
Linux Reliability: Strip test binaries and libraries.
BUG=none TEST=Linux Reliability Builder test directory output is < 100 MB. Review URL: http://codereview.chromium.org/3398004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59569 0039d316-1c4b-4281-b951-d872f2087c98
-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',
+ ],
+ }],
],
}
],