11ab2dfe2f
This reverts commit 6450d76f1f.
Reason for revert: Breaking Flutter G3 roll
Original change's description:
> [SDK] Switch dds and dtd to use an AOT snapshot
>
> TEST=ci
>
> Change-Id: Ib65ca1d1a05d3bc7b5f5cab25d90fc459ec8d853
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/387133
> Reviewed-by: Ben Konyi <bkonyi@google.com>
> Commit-Queue: Siva Annamalai <asiva@google.com>
Change-Id: I9985919063cacfc8673b3e2946eaa163e90c9cc3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/411200
Auto-Submit: Ben Konyi <bkonyi@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Siva Annamalai <asiva@google.com>
41 lines
1.0 KiB
Plaintext
41 lines
1.0 KiB
Plaintext
# Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
import("../../build/dart/copy_tree.gni")
|
|
import("../application_snapshot.gni")
|
|
|
|
group("dartdev") {
|
|
public_deps = [
|
|
":copy_dartdev_snapshot",
|
|
":copy_prebuilt_devtools",
|
|
]
|
|
}
|
|
|
|
copy("copy_dartdev_snapshot") {
|
|
visibility = [ ":dartdev" ]
|
|
public_deps = [ ":generate_dartdev_snapshot" ]
|
|
sources = [ "$root_gen_dir/dartdev.dart.snapshot" ]
|
|
outputs = [ "$root_out_dir/dartdev.dart.snapshot" ]
|
|
}
|
|
|
|
application_snapshot("generate_dartdev_snapshot") {
|
|
main_dart = "../../pkg/dartdev/bin/dartdev.dart"
|
|
training_args = [ "--help" ]
|
|
|
|
deps = [
|
|
"../dds:dds",
|
|
"../dtd:dtd",
|
|
]
|
|
|
|
vm_args = []
|
|
output = "$root_gen_dir/dartdev.dart.snapshot"
|
|
}
|
|
|
|
copy_tree("copy_prebuilt_devtools") {
|
|
visibility = [ ":dartdev" ]
|
|
source = "../../third_party/devtools/web"
|
|
dest = "$root_out_dir/devtools"
|
|
exclude = "{}"
|
|
}
|