Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1504)

Unified Diff: sandbox/linux/sandbox_linux.gypi

Issue 655543005: Added support of shared_library build for tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comments formatting in GYPs Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/pylib/gtest/test_package_exe.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/sandbox_linux.gypi
diff --git a/sandbox/linux/sandbox_linux.gypi b/sandbox/linux/sandbox_linux.gypi
index 1a742b5354ecd46574dc4887b54b1e5de91f7073..cbec4574485690ec1ef63ae5c562a4aa07a55b03 100644
--- a/sandbox/linux/sandbox_linux.gypi
+++ b/sandbox/linux/sandbox_linux.gypi
@@ -300,7 +300,7 @@
'conditions': [
[ 'OS=="android"', {
'targets': [
- {
+ {
'target_name': 'sandbox_linux_unittests_stripped',
'type': 'none',
'dependencies': [ 'sandbox_linux_unittests' ],
@@ -309,9 +309,26 @@
'inputs': [ '<(PRODUCT_DIR)/sandbox_linux_unittests' ],
'outputs': [ '<(PRODUCT_DIR)/sandbox_linux_unittests_stripped' ],
'action': [ '<(android_strip)', '<@(_inputs)', '-o', '<@(_outputs)' ],
- }],
- }
- ],
+ }],
+ },
+ {
+ 'target_name': 'sandbox_linux_unittests_deps',
+ 'type': 'none',
+ 'dependencies': [
+ 'sandbox_linux_unittests_stripped',
+ ],
+ # For the component build, ensure dependent shared libraries are
+ # stripped and put alongside sandbox_linux_unittests to simplify pushing
+ # to the device.
+ 'variables': {
+ 'output_dir': '<(PRODUCT_DIR)/sandbox_linux_unittests_deps/',
+ 'native_binary': '<(PRODUCT_DIR)/sandbox_linux_unittests_stripped',
+ 'include_main_binary': 0,
+ },
+ 'includes': [
+ '../../build/android/native_app_dependencies.gypi'
+ ],
+ }],
}],
[ 'OS=="android"', {
'targets': [
« no previous file with comments | « build/android/pylib/gtest/test_package_exe.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698