Update aot_assembly rule to temporarily use --no-preview-dart-2

until it is updated to call gen_kernel to produce a kernel file
before creating the AOT snapshot.

Change-Id: I7e85c3b5189a6ba9ad66fc0c715b4bb3da1b299a
Reviewed-on: https://dart-review.googlesource.com/61082
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
This commit is contained in:
asiva 2018-06-19 20:06:32 +00:00 committed by Siva Annamalai
parent 3d96683a88
commit edcd3be290

View file

@ -175,6 +175,9 @@ template("aot_assembly") {
abs_output = rebase_path(output, root_build_dir)
vm_args = [
# TODO(asiva): For not use --no-preview-dart-2, need to flip this to use
# gen_kernel to generate a kernel file before creating an app snapshot.
"--no-preview-dart-2",
"--deterministic",
"--packages=$dot_packages",
"--snapshot-kind=app-aot",