Build non-nullable or legacy SDK summary.

Bug: https://github.com/dart-lang/sdk/issues/38666
Change-Id: I24f6f36b5ed1dbef64588dd787aaf2abbd62f53c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/132800
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
Konstantin Shcheglov
2020-01-22 18:02:08 +00:00
committed by commit-bot@chromium.org
parent e685ff5131
commit b663ef5cc4
6 changed files with 71 additions and 22 deletions
+13 -5
View File
@@ -46,9 +46,17 @@ prebuilt_dart_action("generate_summary_strong") {
outputs = [
output,
]
args = [
"build-strong",
rebase_path(output),
rebase_path("../../sdk"),
]
if (use_nnbd) {
args = [
"build-non-nullable",
rebase_path(output),
rebase_path("../../sdk_nnbd"),
]
} else {
args = [
"build-legacy",
rebase_path(output),
rebase_path("../../sdk"),
]
}
}