| 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 # Rule to extract integer values for each symbol from an object file. | 5 # Rule to extract integer values for each symbol from an object file. |
| 6 # The output file name is the input file name with extension replaced with | 6 # The output file name is the input file name with extension replaced with |
| 7 # asm or h. | 7 # asm or h. |
| 8 # The following gyp variables must be set before including this gypi: | 8 # The following gyp variables must be set before including this gypi: |
| 9 # output_format, the output format of integer value. | 9 # output_format, the output format of integer value. |
| 10 # output_dir, the full path where the output file should be created. | 10 # output_dir, the full path where the output file should be created. |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 'rule_name': 'obj_int_extract', | 41 'rule_name': 'obj_int_extract', |
| 42 'extension': '<(asm_obj_extension)', | 42 'extension': '<(asm_obj_extension)', |
| 43 'inputs': [ | 43 'inputs': [ |
| 44 '<(PRODUCT_DIR)/libvpx_obj_int_extract', | 44 '<(PRODUCT_DIR)/libvpx_obj_int_extract', |
| 45 'obj_int_extract.py', | 45 'obj_int_extract.py', |
| 46 ], | 46 ], |
| 47 'outputs': [ | 47 'outputs': [ |
| 48 '<(output_dir)/<(RULE_INPUT_ROOT).<(output_extension)', | 48 '<(output_dir)/<(RULE_INPUT_ROOT).<(output_extension)', |
| 49 ], | 49 ], |
| 50 'action': [ | 50 'action': [ |
| 51 'python', |
| 51 '<(DEPTH)/third_party/libvpx/obj_int_extract.py', | 52 '<(DEPTH)/third_party/libvpx/obj_int_extract.py', |
| 52 '-e', '<(PRODUCT_DIR)/libvpx_obj_int_extract', | 53 '-e', '<(PRODUCT_DIR)/libvpx_obj_int_extract', |
| 53 '-f', '<(output_format)', | 54 '-f', '<(output_format)', |
| 54 '-b', '<(RULE_INPUT_PATH)', | 55 '-b', '<(RULE_INPUT_PATH)', |
| 55 '-o', '<(output_dir)/<(RULE_INPUT_ROOT).<(output_extension)', | 56 '-o', '<(output_dir)/<(RULE_INPUT_ROOT).<(output_extension)', |
| 56 ], | 57 ], |
| 57 'message': 'Generate assembly offsets <(RULE_INPUT_PATH)', | 58 'message': 'Generate assembly offsets <(RULE_INPUT_PATH)', |
| 58 }, | 59 }, |
| 59 ], | 60 ], |
| 60 } | 61 } |
| OLD | NEW |