summaryrefslogtreecommitdiffstats
path: root/breakpad
diff options
context:
space:
mode:
authorripp <ripp@yandex-team.ru>2014-10-28 23:40:22 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-29 06:40:41 +0000
commit5ffbc9ec423da21f2df1ff73aa524eb78eb2eb7b (patch)
tree2bdb642e77114033b0346683b77d393ea2e4c12b /breakpad
parent4f4b9a2b7311af6bc48380547dc4b85193693023 (diff)
downloadchromium_src-5ffbc9ec423da21f2df1ff73aa524eb78eb2eb7b.zip
chromium_src-5ffbc9ec423da21f2df1ff73aa524eb78eb2eb7b.tar.gz
chromium_src-5ffbc9ec423da21f2df1ff73aa524eb78eb2eb7b.tar.bz2
Added support of shared_library build for tests
breakpad_unittests and sandbox_linux_unittests R=thestig@chromium.org, jbudorick@chromium.org, jorgelo@chromium.org BUG=344868 TEST=Turn on components build (component=shared_library) ensure that breakpad_unittests and sandbox_linux_unittests are starting (breakpad_unittests_deps and sandbox_linux_unittests_deps targets correspondingly) Review URL: https://codereview.chromium.org/655543005 Cr-Commit-Position: refs/heads/master@{#301797}
Diffstat (limited to 'breakpad')
-rw-r--r--breakpad/breakpad.gyp18
1 files changed, 18 insertions, 0 deletions
diff --git a/breakpad/breakpad.gyp b/breakpad/breakpad.gyp
index 834122d..90f25e3 100644
--- a/breakpad/breakpad.gyp
+++ b/breakpad/breakpad.gyp
@@ -897,6 +897,24 @@
'outputs': [ '<(PRODUCT_DIR)/breakpad_unittests_stripped' ],
'action': [ '<(android_strip)', '<@(_inputs)', '-o', '<@(_outputs)' ],
}],
+ },
+ {
+ 'target_name': 'breakpad_unittests_deps',
+ 'type': 'none',
+ 'dependencies': [
+ 'breakpad_unittests_stripped',
+ ],
+ # For the component build, ensure dependent shared libraries are
+ # stripped and put alongside breakpad_unittest to simplify pushing to
+ # the device.
+ 'variables': {
+ 'output_dir': '<(PRODUCT_DIR)/breakpad_unittests_deps/',
+ 'native_binary': '<(PRODUCT_DIR)/breakpad_unittests_stripped',
+ 'include_main_binary': 0,
+ },
+ 'includes': [
+ '../build/android/native_app_dependencies.gypi'
+ ],
}
],
}],