| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # This file is meant to be included into an action to provide a rule that strips | 5 # This file is meant to be included into an action to provide a rule that strips |
| 6 # native libraries. | 6 # native libraries. |
| 7 # | 7 # |
| 8 # To use this, create a gyp target with the following form: | 8 # To use this, create a gyp target with the following form: |
| 9 # { | 9 # { |
| 10 # 'action_name': 'strip_native_libraries', | 10 # 'action_name': 'strip_native_libraries', |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 # is required because the real inputs are not known at gyp-time and | 40 # is required because the real inputs are not known at gyp-time and |
| 41 # changing base.so may not trigger changes to dependent libraries. | 41 # changing base.so may not trigger changes to dependent libraries. |
| 42 'outputs': [ '<(stamp).fake' ] | 42 'outputs': [ '<(stamp).fake' ] |
| 43 }], | 43 }], |
| 44 ], | 44 ], |
| 45 'action': [ | 45 'action': [ |
| 46 'python', '<(DEPTH)/build/android/gyp/strip_library_for_device.py', | 46 'python', '<(DEPTH)/build/android/gyp/strip_library_for_device.py', |
| 47 '--android-strip=<(android_strip)', | 47 '--android-strip=<(android_strip)', |
| 48 '--android-strip-arg=--strip-unneeded', | 48 '--android-strip-arg=--strip-unneeded', |
| 49 '--stripped-libraries-dir=<(stripped_libraries_dir)', | 49 '--stripped-libraries-dir=<(stripped_libraries_dir)', |
| 50 '--libraries-dir=<(SHARED_LIB_DIR)', | 50 '--libraries-dir=<(SHARED_LIB_DIR),<(PRODUCT_DIR)', |
| 51 '--libraries-file=<(ordered_libraries_file)', | 51 '--libraries-file=<(ordered_libraries_file)', |
| 52 '--stamp=<(stamp)', | 52 '--stamp=<(stamp)', |
| 53 ], | 53 ], |
| 54 } | 54 } |
| OLD | NEW |