Index: sdk/lib/rules.gni |
diff --git a/sdk/lib/rules.gni b/sdk/lib/rules.gni |
index 27779ea97ff6fc6ec7eaec9dc720c837e462f959..fe51bbbbbbde07168e66cd45dfd3f195a36a2d5b 100644 |
--- a/sdk/lib/rules.gni |
+++ b/sdk/lib/rules.gni |
@@ -31,24 +31,29 @@ template("dart_sdk_lib_copy") { |
} else { |
destination = "$root_gen_dir/dart_sdk" |
} |
- dart_sdk_sdk_lib_path = |
- rebase_path("sdk/lib", "", dart_root) |
+ dart_sdk_sdk_lib_path = rebase_path("sdk/lib", "", dart_root) |
dart_sdk_tools_gypi_to_gn_path = |
rebase_path("tools/gypi_to_gn.py", "", dart_root) |
+ |
# The name of the SDK library being copied. |
lib_name = invoker.sdk_lib_name |
+ |
# The path to the libraries source directory. |
lib_path = rebase_path(lib_name, "", dart_sdk_sdk_lib_path) |
+ |
# The path to the sources gypi. |
lib_sources_gypi = lib_name + "_sources.gypi" |
+ |
# Get the contents of the gypi file. |
sdk_lib_sources_gypi = |
exec_script(dart_sdk_tools_gypi_to_gn_path, |
- [rebase_path(lib_sources_gypi, "", lib_path)], |
+ [ rebase_path(lib_sources_gypi, "", lib_path) ], |
"scope", |
- [rebase_path(lib_sources_gypi, "", lib_path)]) |
+ [ rebase_path(lib_sources_gypi, "", lib_path) ]) |
copy(target_name) { |
sources = rebase_path(sdk_lib_sources_gypi.sources, "", lib_path) |
- outputs = [ "$destination/$lib_name/{{source_file_part}}" ] |
+ outputs = [ |
+ "$destination/$lib_name/{{source_file_part}}", |
+ ] |
} |
} |