Index: breakpad/breakpad.gyp |
diff --git a/breakpad/breakpad.gyp b/breakpad/breakpad.gyp |
index 834122d319aa2edfd6ac9583a9aefcb410b4f2da..90f25e38c7c0cee19f57776b02d82cccc8d0f941 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' |
+ ], |
} |
], |
}], |