| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 a target to provide a rule | 5 # This file is meant to be included into a target to provide a rule |
| 6 # to create import libraries from an import description file in a consistent | 6 # to create import libraries from an import description file in a consistent |
| 7 # manner. | 7 # manner. |
| 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 25 matching lines...) Expand all Loading... |
| 36 'extension': 'imports', | 36 'extension': 'imports', |
| 37 'inputs': [ | 37 'inputs': [ |
| 38 '<(create_importlib)', | 38 '<(create_importlib)', |
| 39 ], | 39 ], |
| 40 'outputs': [ | 40 'outputs': [ |
| 41 '<(lib_dir)/<(RULE_INPUT_ROOT).lib', | 41 '<(lib_dir)/<(RULE_INPUT_ROOT).lib', |
| 42 ], | 42 ], |
| 43 'action': [ | 43 'action': [ |
| 44 'python', | 44 'python', |
| 45 '<(create_importlib)', | 45 '<(create_importlib)', |
| 46 '--verbose', | |
| 47 '--output-file', '<@(_outputs)', | 46 '--output-file', '<@(_outputs)', |
| 48 '<(RULE_INPUT_PATH)', | 47 '<(RULE_INPUT_PATH)', |
| 49 ], | 48 ], |
| 50 'msvs_cygwin_shell': 0, | 49 'msvs_cygwin_shell': 0, |
| 51 'message': 'Generating import library from <(RULE_INPUT_PATH)', | 50 'message': 'Generating import library from <(RULE_INPUT_PATH)', |
| 52 'process_outputs_as_sources': 0, | 51 'process_outputs_as_sources': 0, |
| 53 }, | 52 }, |
| 54 ], | 53 ], |
| 55 } | 54 } |
| OLD | NEW |