| 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 | 5 # This file is meant to be included into an action to provide a rule that |
| 6 # pushes stripped shared libraries to the attached Android device. This should | 6 # pushes stripped shared libraries to the attached Android device. This should |
| 7 # only be used with the gyp_managed_install flag set. | 7 # only be used with the gyp_managed_install flag set. |
| 8 # | 8 # |
| 9 # To use this, create a gyp target with the following form: | 9 # To use this, create a gyp target with the following form: |
| 10 # { | 10 # { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 # | 23 # |
| 24 | 24 |
| 25 { | 25 { |
| 26 'action_name': 'push_libraries_<(_target_name)', | 26 'action_name': 'push_libraries_<(_target_name)', |
| 27 'message': 'Pushing libraries to device for <(_target_name)', | 27 'message': 'Pushing libraries to device for <(_target_name)', |
| 28 'inputs': [ | 28 'inputs': [ |
| 29 '<(DEPTH)/build/android/gyp/util/build_utils.py', | 29 '<(DEPTH)/build/android/gyp/util/build_utils.py', |
| 30 '<(DEPTH)/build/android/gyp/util/md5_check.py', | 30 '<(DEPTH)/build/android/gyp/util/md5_check.py', |
| 31 '<(DEPTH)/build/android/gyp/push_libraries.py', | 31 '<(DEPTH)/build/android/gyp/push_libraries.py', |
| 32 '<(strip_stamp)', | 32 '<(strip_stamp)', |
| 33 '<(strip_additional_stamp)', |
| 33 '<(build_device_config_path)', | 34 '<(build_device_config_path)', |
| 34 ], | 35 ], |
| 35 'outputs': [ | 36 'outputs': [ |
| 36 '<(push_stamp)', | 37 '<(push_stamp)', |
| 37 ], | 38 ], |
| 38 'action': [ | 39 'action': [ |
| 39 'python', '<(DEPTH)/build/android/gyp/push_libraries.py', | 40 'python', '<(DEPTH)/build/android/gyp/push_libraries.py', |
| 40 '--build-device-configuration=<(build_device_config_path)', | 41 '--build-device-configuration=<(build_device_config_path)', |
| 41 '--libraries-dir=<(libraries_source_dir)', | 42 '--libraries-dir=<(libraries_source_dir)', |
| 42 '--device-dir=<(device_library_dir)', | 43 '--device-dir=<(device_library_dir)', |
| 43 '--libraries-json=<(ordered_libraries_file)', | 44 '--libraries-json=<(ordered_libraries_file)', |
| 44 '--stamp=<(push_stamp)', | 45 '--stamp=<(push_stamp)', |
| 45 '--configuration-name=<(configuration_name)', | 46 '--configuration-name=<(configuration_name)', |
| 46 ], | 47 ], |
| 47 } | 48 } |
| OLD | NEW |