| 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 a target to provide an action | 5 # This file is meant to be included into a target to provide an action |
| 6 # to compute information about individual interfaces defined in a component. | 6 # to compute information about individual interfaces defined in a component. |
| 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 # 'target_name': 'interfaces_info_individual_component', | 10 # 'target_name': 'interfaces_info_individual_component', |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 '<@(static_idl_files)', | 45 '<@(static_idl_files)', |
| 46 '<@(generated_idl_files)', | 46 '<@(generated_idl_files)', |
| 47 ], | 47 ], |
| 48 'outputs': [ | 48 'outputs': [ |
| 49 '<(output_file)', | 49 '<(output_file)', |
| 50 ], | 50 ], |
| 51 | 51 |
| 52 'action': [ | 52 'action': [ |
| 53 'python', | 53 'python', |
| 54 '<(bindings_scripts_dir)/compute_interfaces_info_individual.py', | 54 '<(bindings_scripts_dir)/compute_interfaces_info_individual.py', |
| 55 '--cache-directory', |
| 56 '<(cache_directory)', |
| 55 '--idl-files-list', | 57 '--idl-files-list', |
| 56 '<(static_idl_files_list)', | 58 '<(static_idl_files_list)', |
| 57 '--interfaces-info-file', | 59 '--interfaces-info-file', |
| 58 '<(output_file)', | 60 '<(output_file)', |
| 59 '--write-file-only-if-changed', | 61 '--write-file-only-if-changed', |
| 60 '<(write_file_only_if_changed)', | 62 '<(write_file_only_if_changed)', |
| 61 '--', | 63 '--', |
| 62 # Generated files must be passed at command line | 64 # Generated files must be passed at command line |
| 63 '<@(generated_idl_files)', | 65 '<@(generated_idl_files)', |
| 64 ], | 66 ], |
| 65 }], | 67 }], |
| 66 } | 68 } |
| OLD | NEW |