switch dartdevc to kernel and fix path in rules.

The flutter engine needs to switch to the full SDK to include web support. As written, the dartdevc rules do not work outside of the sdk repo


Bug: https://github.com/dart-lang/sdk/issues/35834
Change-Id: I3b7711cf1920d86b82ddc4f0959b447207f54751
Reviewed-on: https://dart-review.googlesource.com/c/93760
Reviewed-by: Vijay Menon <vsm@google.com>
Reviewed-by: Jenny Messerly <jmesserly@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Vijay Menon <vsm@google.com>
This commit is contained in:
jonahwilliams 2019-02-22 01:02:05 +00:00 committed by commit-bot@chromium.org
parent b60a55510b
commit 3e304def65

View file

@ -19,8 +19,7 @@ application_snapshot("dartdevc") {
rebase_path("../../sdk"),
"--dart-sdk-summary",
rebase_path(sdk_summary),
"--library-root",
rebase_path("../../pkg/dev_compiler"),
"-k",
"-o",
"dartdevc.js",
rebase_path("../../pkg/dev_compiler/bin/dartdevc.dart"),
@ -347,6 +346,6 @@ prebuilt_dart_action("dartdevc_kernel_sdk") {
"--output",
rebase_path(sdk_dill),
"--libraries",
rebase_path("//sdk/lib/libraries.json"),
rebase_path("../../sdk/lib/libraries.json"),
]
}