| Index: sandbox/linux/sandbox_linux.gypi
|
| diff --git a/sandbox/linux/sandbox_linux.gypi b/sandbox/linux/sandbox_linux.gypi
|
| index 273f16f77d2f3885ce1792f83431d7405327d2b1..d14c216298a211d278d60d7027bea2b4555e3690 100644
|
| --- a/sandbox/linux/sandbox_linux.gypi
|
| +++ b/sandbox/linux/sandbox_linux.gypi
|
| @@ -311,7 +311,7 @@
|
| 'conditions': [
|
| [ 'OS=="android"', {
|
| 'targets': [
|
| - {
|
| + {
|
| 'target_name': 'sandbox_linux_unittests_stripped',
|
| 'type': 'none',
|
| 'dependencies': [ 'sandbox_linux_unittests' ],
|
| @@ -320,9 +320,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': [
|
|
|