| 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. |
| 10 # | 10 # |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 | 91 |
| 92 source_set(target_name) { | 92 source_set(target_name) { |
| 93 if (defined(invoker.visibility)) { | 93 if (defined(invoker.visibility)) { |
| 94 visibility = invoker.visibility | 94 visibility = invoker.visibility |
| 95 } | 95 } |
| 96 | 96 |
| 97 # We only compile the IID files from the IDL tool rather than all outputs. | 97 # We only compile the IID files from the IDL tool rather than all outputs. |
| 98 sources = process_file_template(invoker.sources, | 98 sources = process_file_template(invoker.sources, |
| 99 [ "$out_dir/$interface_identifier_file" ]) | 99 [ "$out_dir/$interface_identifier_file" ]) |
| 100 | 100 |
| 101 deps = [ | 101 public_deps = [ |
| 102 ":$action_name", | 102 ":$action_name", |
| 103 ] | 103 ] |
| 104 } | 104 } |
| 105 } | 105 } |
| OLD | NEW |