Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 | 5 # This file is meant to be included into an action to provide a rule that |
| 6 # packs relocations in Release builds of native libraries. | 6 # packs relocations in Release builds of 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': 'pack_relocations', | 10 # 'action_name': 'pack_relocations', |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 60 'action': [ | 60 'action': [ |
| 61 'python', '<(DEPTH)/build/android/gyp/pack_relocations.py', | 61 'python', '<(DEPTH)/build/android/gyp/pack_relocations.py', |
| 62 '--configuration-name=<(CONFIGURATION_NAME)', | 62 '--configuration-name=<(CONFIGURATION_NAME)', |
| 63 '--enable-packing=0', | 63 '--enable-packing=0', |
| 64 '--stripped-libraries-dir=<(stripped_libraries_dir)', | 64 '--stripped-libraries-dir=<(stripped_libraries_dir)', |
| 65 '--packed-libraries-dir=<(packed_libraries_dir)', | 65 '--packed-libraries-dir=<(packed_libraries_dir)', |
| 66 '--libraries=@FileArg(<(ordered_libraries_file):libraries)', | 66 '--libraries=@FileArg(<(ordered_libraries_file):libraries)', |
| 67 '--stamp=<(stamp)', | 67 '--stamp=<(stamp)', |
| 68 ], | 68 ], |
| 69 }], | 69 }], |
| 70 ['component == "shared_library"', { | 70 ['android_libcpp_library == "c++_shared"', { |
|
simonb (inactive)
2015/08/03 12:33:40
Any reason for just the one test here, rather than
| |
| 71 # Add a fake output to force the build to always re-run this step. This | 71 # Add a fake output to force the build to always re-run this step. This |
| 72 # is required because the real inputs are not known at gyp-time and | 72 # is required because the real inputs are not known at gyp-time and |
| 73 # changing base.so may not trigger changes to dependent libraries. | 73 # changing base.so may not trigger changes to dependent libraries. |
| 74 'outputs': [ '<(stamp).fake' ] | 74 'outputs': [ '<(stamp).fake' ] |
| 75 }], | 75 }], |
| 76 ], | 76 ], |
| 77 } | 77 } |
| OLD | NEW |