Chromium Code Reviews| Index: sandbox/linux/sandbox_linux.gypi |
| diff --git a/sandbox/linux/sandbox_linux.gypi b/sandbox/linux/sandbox_linux.gypi |
| index 1a742b5354ecd46574dc4887b54b1e5de91f7073..362a34397196077d07512a13a077e769c27e89a1 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,25 @@ |
| '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 |
|
jln (very slow on Chromium)
2014/10/22 19:10:26
Nit: line wrap
ripp
2014/10/23 06:17:51
Done.
|
| + # and put alongside forwarder to simplify pushing to the device. |
|
cjhopman
2014/10/22 19:21:49
s/forwarder/sandbox_linux_unittests (or some such)
ripp
2014/10/23 06:17:51
Done.
|
| + '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': [ |