| 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 assert(is_win) | 5 assert(is_win) |
| 6 | 6 |
| 7 import("//build/config/win/visual_studio_version.gni") | 7 import("//build/config/win/visual_studio_version.gni") |
| 8 | 8 |
| 9 # This template defines a rule to invoke the MS IDL compiler. | 9 # This template defines a rule to invoke the MS IDL compiler. The generated |
| 10 # source code will be compiled and linked into targets that depend on this. |
| 10 # | 11 # |
| 11 # Parameters | 12 # Parameters |
| 12 # | 13 # |
| 13 # sources | 14 # sources |
| 14 # List of .idl file to process. | 15 # List of .idl file to process. |
| 15 # | 16 # |
| 16 # out_dir (optional) | 17 # out_dir (optional) |
| 17 # Directory to write the generated files to. Defaults to target_gen_dir. | 18 # Directory to write the generated files to. Defaults to target_gen_dir. |
| 18 # | 19 # |
| 19 # deps (optional) | 20 # deps (optional) |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 sources = process_file_template(invoker.sources, | 95 sources = process_file_template(invoker.sources, |
| 95 [ "$out_dir/$interface_identifier_file" ]) | 96 [ "$out_dir/$interface_identifier_file" ]) |
| 96 | 97 |
| 97 public_deps = [ | 98 public_deps = [ |
| 98 ":$action_name", | 99 ":$action_name", |
| 99 ] | 100 ] |
| 100 | 101 |
| 101 configs += [ "//build/config/win:midl_warnings" ] | 102 configs += [ "//build/config/win:midl_warnings" ] |
| 102 } | 103 } |
| 103 } | 104 } |
| OLD | NEW |