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