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 action takes an archive (.a) file and unpacks it unto object (.o) files. | 5 # This action takes an archive (.a) file and unpacks it unto object (.o) files. |
6 # The following input gyp variables are required: | 6 # The following input gyp variables are required: |
7 # unpack_lib, the library to unpack. | 7 # unpack_lib, the library to unpack. |
8 # object_file_output_dir, the output directory of extracted object file. | 8 # object_file_output_dir, the output directory of extracted object file. |
9 # object_file_to_extract, the object file to be extracted. | 9 # object_file_to_extract, the object file to be extracted. |
10 # unpack_lib_search_path_list, a list of paths to search for the library. | 10 # unpack_lib_search_path_list, a list of paths to search for the library. |
(...skipping 21 matching lines...) Expand all Loading... |
32 'variables' : { | 32 'variables' : { |
33 'ar_cmd': [], | 33 'ar_cmd': [], |
34 'conditions': [ | 34 'conditions': [ |
35 ['android_webview_build==1', { | 35 ['android_webview_build==1', { |
36 'ar_cmd': ['-r', '$(abspath $($(gyp_var_prefix)TARGET_AR))'], | 36 'ar_cmd': ['-r', '$(abspath $($(gyp_var_prefix)TARGET_AR))'], |
37 }], | 37 }], |
38 ], | 38 ], |
39 }, | 39 }, |
40 'action_name': 'unpack_lib_posix', | 40 'action_name': 'unpack_lib_posix', |
41 'inputs': [ | 41 'inputs': [ |
| 42 'unpack_lib_posix.sh', |
42 '<(unpack_lib)', | 43 '<(unpack_lib)', |
43 ], | 44 ], |
44 'outputs': [ | 45 'outputs': [ |
45 '<(object_file_output_dir)/<(object_file_to_extract)', | 46 '<(object_file_output_dir)/<(object_file_to_extract)', |
46 ], | 47 ], |
47 'action': [ | 48 'action': [ |
48 '<(DEPTH)/third_party/libvpx/unpack_lib_posix.sh', | 49 '<(DEPTH)/third_party/libvpx/unpack_lib_posix.sh', |
49 '-d', '<(object_file_output_dir)', | 50 '-d', '<(object_file_output_dir)', |
50 '-f', '<(object_file_to_extract)', | 51 '-f', '<(object_file_to_extract)', |
51 '<@(unpack_lib_search_path_list)', | 52 '<@(unpack_lib_search_path_list)', |
52 '<@(ar_cmd)', | 53 '<@(ar_cmd)', |
53 ], | 54 ], |
54 'process_output_as_sources': 1, | 55 'process_output_as_sources': 1, |
55 }, | 56 }, |
56 ], | 57 ], |
57 } | 58 } |
OLD | NEW |