Index: third_party/google_input_tools/closure.gni |
diff --git a/third_party/google_input_tools/closure.gni b/third_party/google_input_tools/closure.gni |
index 526dbd03fc1ee236ce0cdd219f6051f799d83746..0d1b0c16f00fea76b51079c51c99306c0f7badc3 100644 |
--- a/third_party/google_input_tools/closure.gni |
+++ b/third_party/google_input_tools/closure.gni |
@@ -9,28 +9,37 @@ template("build_closure") { |
action(action_name) { |
script = "//third_party/google_input_tools/builder.py" |
sources = invoker.sources |
- outputs = [invoker.target] |
- args = ["--target", |
- rebase_path(invoker.target, root_build_dir)] |
- if(defined(invoker.json_file)) { |
+ outputs = [ invoker.target ] |
+ args = [ |
+ "--target", |
+ rebase_path(invoker.target, root_build_dir), |
+ ] |
+ if (defined(invoker.json_file)) { |
# Optionally parse list of sources from a json file. Useful when the list |
# is sufficiently long to create problems with length restrictions on the |
# command line. |
assert(defined(invoker.json_sources)) |
- args += ["--json_file", |
- rebase_path(invoker.json_file, root_build_dir), |
- "--json_sources", |
- invoker.json_sources] |
+ args += [ |
+ "--json_file", |
+ rebase_path(invoker.json_file, root_build_dir), |
+ "--json_sources", |
+ invoker.json_sources, |
+ ] |
} else { |
# If the number of source files is short, they can be directly extracted |
# from the command line. |
- args += ["--sources"] + sources |
+ args += [ "--sources" ] + sources |
} |
- if(defined(invoker.path)) { |
- args += ["--path", invoker.path] |
+ if (defined(invoker.path)) { |
+ args += [ |
+ "--path", |
+ invoker.path, |
+ ] |
} |
} |
group(target_name) { |
- deps = [ ":$action_name" ] |
+ deps = [ |
+ ":$action_name", |
+ ] |
} |
} |