Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4273)

Unified Diff: build/toolchain/win/midl.gni

Issue 423263002: gn win: Add system include directories to midl template (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/win/visual_studio_version.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « build/config/win/visual_studio_version.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698