Index: build/toolchain/win/midl.gni |
diff --git a/build/toolchain/win/midl.gni b/build/toolchain/win/midl.gni |
index 30bcbf779cef688f4ee149ad0b1d18ca4901848f..748b0fc83fedb0bec63c9d88592bb7779255eea5 100644 |
--- a/build/toolchain/win/midl.gni |
+++ b/build/toolchain/win/midl.gni |
@@ -16,6 +16,7 @@ import("//build/config/win/visual_studio_version.gni") |
# out_dir (optional) |
# Directory to write the generated files to. Defaults to target_gen_dir. |
# |
+# deps (optional) |
# visibility (optional) |
template("midl") { |
@@ -82,6 +83,10 @@ template("midl") { |
idl_target_platform, |
"/Oicf", |
] |
+ |
+ if (defined(invoker.deps)) { |
+ deps = invoker.deps |
+ } |
} |
source_set(target_name) { |