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

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

Issue 766573003: gn format //build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years 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/toolchain/win/BUILD.gn ('k') | build/util/BUILD.gn » ('j') | 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 7f068d01b1298c2702f5872b7bb944844073b89e..9fda96be39be3829491af46f344654c013726679 100644
--- a/build/toolchain/win/midl.gni
+++ b/build/toolchain/win/midl.gni
@@ -67,7 +67,8 @@ template("midl") {
}
args = [
- "midl-wrapper", win_tool_arch,
+ "midl-wrapper",
+ win_tool_arch,
rebase_path(out_dir, root_build_dir),
type_library_file,
header_file,
@@ -75,13 +76,18 @@ template("midl") {
interface_identifier_file,
proxy_file,
"{{source}}",
- "/char", "signed",
- "/env", idl_target_platform,
+ "/char",
+ "signed",
+ "/env",
+ idl_target_platform,
"/Oicf",
]
foreach(include, system_include_dirs) {
- args += [ "/I", include ]
+ args += [
+ "/I",
+ include,
+ ]
}
}
@@ -91,10 +97,11 @@ template("midl") {
}
# We only compile the IID files from the IDL tool rather than all outputs.
- sources = process_file_template(
- invoker.sources,
- [ "$out_dir/$interface_identifier_file" ])
+ sources = process_file_template(invoker.sources,
+ [ "$out_dir/$interface_identifier_file" ])
- deps = [ ":$action_name" ]
+ deps = [
+ ":$action_name",
+ ]
}
}
« no previous file with comments | « build/toolchain/win/BUILD.gn ('k') | build/util/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698