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

Unified Diff: sky/engine/build/scripts/scripts.gni

Issue 794413003: Run gn format on all gni files (gn version 307087) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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 | « sky/engine/bindings/templates/templates.gni ('k') | sky/engine/config.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/build/scripts/scripts.gni
diff --git a/sky/engine/build/scripts/scripts.gni b/sky/engine/build/scripts/scripts.gni
index 9ab457fe66c847bc6463ae6a3659570a598d145c..d85fd20a5d0597328723f26909da419b671eab9c 100644
--- a/sky/engine/build/scripts/scripts.gni
+++ b/sky/engine/build/scripts/scripts.gni
@@ -23,39 +23,41 @@ scripts_for_in_files = [
"$_scripts_dir/templates/macros.tmpl",
]
-css_properties_files = scripts_for_in_files + [
- "$_scripts_dir/css_properties.py",
-]
+css_properties_files =
+ scripts_for_in_files + [ "$_scripts_dir/css_properties.py" ]
make_event_factory_files = scripts_for_in_files + [
- "$_scripts_dir/make_event_factory.py",
- "$_scripts_dir/templates/EventFactory.cpp.tmpl",
-]
+ "$_scripts_dir/make_event_factory.py",
+ "$_scripts_dir/templates/EventFactory.cpp.tmpl",
+ ]
make_names_files = scripts_for_in_files + [
- "$_scripts_dir/make_names.py",
- "$_scripts_dir/templates/MakeNames.cpp.tmpl",
- "$_scripts_dir/templates/MakeNames.h.tmpl",
-]
-
-make_qualified_names_files = scripts_for_in_files + [
- "$_scripts_dir/make_qualified_names.py",
- "$_scripts_dir/templates/MakeQualifiedNames.cpp.tmpl",
- "$_scripts_dir/templates/MakeQualifiedNames.h.tmpl",
-]
+ "$_scripts_dir/make_names.py",
+ "$_scripts_dir/templates/MakeNames.cpp.tmpl",
+ "$_scripts_dir/templates/MakeNames.h.tmpl",
+ ]
+
+make_qualified_names_files =
+ scripts_for_in_files + [
+ "$_scripts_dir/make_qualified_names.py",
+ "$_scripts_dir/templates/MakeQualifiedNames.cpp.tmpl",
+ "$_scripts_dir/templates/MakeQualifiedNames.h.tmpl",
+ ]
-make_element_factory_files = make_qualified_names_files + [
- "$_scripts_dir/make_element_factory.py",
- "$_scripts_dir/templates/ElementFactory.cpp.tmpl",
- "$_scripts_dir/templates/ElementFactory.h.tmpl",
- "$_scripts_dir/templates/ElementWrapperFactory.cpp.tmpl",
- "$_scripts_dir/templates/ElementWrapperFactory.h.tmpl",
-]
+make_element_factory_files =
+ make_qualified_names_files + [
+ "$_scripts_dir/make_element_factory.py",
+ "$_scripts_dir/templates/ElementFactory.cpp.tmpl",
+ "$_scripts_dir/templates/ElementFactory.h.tmpl",
+ "$_scripts_dir/templates/ElementWrapperFactory.cpp.tmpl",
+ "$_scripts_dir/templates/ElementWrapperFactory.h.tmpl",
+ ]
-make_element_type_helpers_files = make_qualified_names_files + [
- "$_scripts_dir/make_element_type_helpers.py",
- "$_scripts_dir/templates/ElementTypeHelpers.h.tmpl",
-]
+make_element_type_helpers_files =
+ make_qualified_names_files + [
+ "$_scripts_dir/make_element_type_helpers.py",
+ "$_scripts_dir/templates/ElementTypeHelpers.h.tmpl",
+ ]
# The executables are relative to the build directory. Don't rebase it because
# on Posix we want to run the system one on the path.
@@ -110,8 +112,9 @@ template("process_in_files") {
output_dir = get_path_info(outputs[0], "dir")
args = rebase_path(invoker.in_files, root_build_dir) + [
- "--output_dir", rebase_path(output_dir, root_build_dir),
- ]
+ "--output_dir",
+ rebase_path(output_dir, root_build_dir),
+ ]
if (defined(invoker.other_args)) {
args += invoker.other_args
}
@@ -125,7 +128,7 @@ template("process_in_files") {
configs += [
"//build/config/compiler:wexit_time_destructors",
"//sky/engine:inside_blink",
- "//sky/engine:config"
+ "//sky/engine:config",
]
deps = [
@@ -143,13 +146,14 @@ template("process_in_files") {
template("css_properties") {
process_in_files(target_name) {
script = invoker.script
- in_files = ["css/CSSProperties.in"]
+ in_files = [ "css/CSSProperties.in" ]
other_inputs = css_properties_files
if (defined(invoker.other_inputs)) {
other_inputs += invoker.other_inputs
}
other_args = [
- "--gperf", gperf_exe,
+ "--gperf",
+ gperf_exe,
]
outputs = invoker.outputs
@@ -234,7 +238,9 @@ template("make_token_matcher") {
script = "//sky/engine/build/scripts/make_token_matcher.py"
inputs = scripts_for_in_files + [ invoker.input_file ]
- outputs = [ invoker.output_file ]
+ outputs = [
+ invoker.output_file,
+ ]
args = [
rebase_path(invoker.input_file, root_build_dir),
@@ -244,4 +250,3 @@ template("make_token_matcher") {
deps = make_core_generated_deps
}
}
-
« no previous file with comments | « sky/engine/bindings/templates/templates.gni ('k') | sky/engine/config.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698