Index: build/toolchain/win/midl.gni |
diff --git a/build/toolchain/win/midl.gni b/build/toolchain/win/midl.gni |
index a8cf4ffdc3b0cf73f5d514d024470f6ce58676b9..e0c2dd4363a84949d65b78be2ccae24dd8431355 100644 |
--- a/build/toolchain/win/midl.gni |
+++ b/build/toolchain/win/midl.gni |
@@ -4,6 +4,8 @@ |
assert(is_win) |
+import("//build/config/win/visual_studio_version.gni") |
+ |
# This template defines a rule to invoke the MS IDL compiler. |
# |
# Parameters |
@@ -77,6 +79,10 @@ template("midl") { |
"/env", idl_target_platform, |
"/Oicf", |
] |
+ |
+ foreach(include, system_include_dirs) { |
+ args += [ "/I", include ] |
+ } |
} |
source_set(target_name) { |