| Index: BUILD.gn | 
| diff --git a/BUILD.gn b/BUILD.gn | 
| index a0094562e537060c76ad2467586c794a30319d72..f37232f4b799773700f71f6d7c5a259b572a0f6d 100644 | 
| --- a/BUILD.gn | 
| +++ b/BUILD.gn | 
| @@ -67,80 +67,10 @@ group("runtime_precompiled") { | 
| ] | 
| } | 
|  | 
| -action("create_sdk") { | 
| +group("create_sdk") { | 
| deps = [ | 
| -    "runtime/bin:dart", | 
| -    "utils/analysis_server", | 
| -    "utils/compiler:dart2js", | 
| -    "utils/compiler:utils_wrapper", | 
| -    "utils/dartanalyzer:generate_dartanalyzer_snapshot", | 
| -    "utils/dartanalyzer:generate_summary_spec", | 
| -    "utils/dartanalyzer:generate_summary_strong", | 
| -    "utils/dartdevc", | 
| -    "utils/dartdoc", | 
| -    "utils/dartfmt", | 
| -    "utils/pub", | 
| -  ] | 
| - | 
| -  sdk_lib_files = exec_script("tools/list_dart_files.py", | 
| -                              [ | 
| -                                "absolute", | 
| -                                rebase_path("sdk/lib"), | 
| -                              ], | 
| -                              "list lines") | 
| - | 
| -  preamble_files = | 
| -      exec_script("tools/list_files.py", | 
| -                  [ | 
| -                    "absolute", | 
| -                    "", | 
| -                    rebase_path("sdk/lib/_internal/js_runtime/lib/preambles"), | 
| -                  ], | 
| -                  "list lines") | 
| - | 
| -  sdk_bin_files = exec_script("tools/list_files.py", | 
| -                              [ | 
| -                                "absolute", | 
| -                                "", | 
| -                                rebase_path("sdk/bin"), | 
| -                              ], | 
| -                              "list lines") | 
| - | 
| -  inputs = sdk_lib_files + preamble_files + sdk_bin_files + [ | 
| -             "sdk/lib/dart_client.platform", | 
| -             "sdk/lib/dart_server.platform", | 
| -             "sdk/lib/dart_shared.platform", | 
| -             "$root_gen_dir/dart2js.dart.snapshot", | 
| -             "$root_gen_dir/utils_wrapper.dart.snapshot", | 
| -             "$root_gen_dir/pub.dart.snapshot", | 
| -             "$root_gen_dir/dartanalyzer.dart.snapshot", | 
| -             "$root_gen_dir/dartdevc.dart.snapshot", | 
| -             "$root_gen_dir/dartfmt.dart.snapshot", | 
| -             "$root_gen_dir/analysis_server.dart.snapshot", | 
| -             "$root_gen_dir/dartdoc.dart.snapshot", | 
| -             "$root_gen_dir/spec.sum", | 
| -             "$root_gen_dir/strong.sum", | 
| -             "tools/VERSION", | 
| -           ] | 
| - | 
| -  outputs = [ | 
| -    "$root_out_dir/dart-sdk/README", | 
| -  ] | 
| - | 
| -  script = "tools/create_sdk.py" | 
| -  args = [ | 
| -    "--sdk_output_dir", | 
| -    rebase_path("$root_out_dir/dart-sdk"), | 
| -    "--snapshot_location", | 
| -    rebase_path("$root_gen_dir"), | 
| +    "sdk:create_sdk", | 
| ] | 
| -  if (defined(is_fuchsia) && is_fuchsia_host) { | 
| -    args += [ "--copy_libs" ] | 
| -  } | 
| -  if (defined(is_fuchsia) && (is_fuchsia || is_fuchsia_host)) { | 
| -    # The binaries are already stripped. | 
| -    args += [ "--disable_stripping" ] | 
| -  } | 
| } | 
|  | 
| group("dart2js") { | 
|  |