Build a 2nd, --no-preview-dart-2, analysis server snapshot.

Change-Id: I991aabef1ecacdcd01a67d5dcb536e7592f6b5cc
Reviewed-on: https://dart-review.googlesource.com/65020
Commit-Queue: Devon Carew <devoncarew@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
Devon Carew 2018-07-16 23:37:53 +00:00 committed by commit-bot@chromium.org
parent 8ed9345ccd
commit e84f061db8
3 changed files with 20 additions and 3 deletions

View file

@ -38,6 +38,7 @@ declare_args() {
# ......pub
# ......snapshots/
# ........analysis_server.dart.snapshot
# ........analysis_server_dart1.dart.snapshot (this is temporary; #33877)
# ........dart2js.dart.snapshot
# ........dartanalyzer.dart.snapshot
# ........dartdoc.dart.snapshot
@ -117,6 +118,10 @@ _platform_sdk_snapshots = [
"analysis_server",
"../utils/analysis_server",
],
[
"analysis_server_dart1",
"../utils/analysis_server_dart1",
],
[
"dartanalyzer",
"../utils/dartanalyzer:generate_dartanalyzer_snapshot",
@ -144,6 +149,10 @@ _full_sdk_snapshots = [
"analysis_server",
"../utils/analysis_server",
],
[
"analysis_server_dart1",
"../utils/analysis_server_dart1",
],
[
"dart2js",
"../utils/compiler:dart2js",

View file

@ -1,3 +0,0 @@
/analysis_server.Makefile
/analysis_server.target.mk

View file

@ -0,0 +1,11 @@
# Copyright (c) 2018, 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("../application_snapshot.gni")
application_snapshot("analysis_server_dart1") {
dart_version = 1
main_dart = "../../pkg/analysis_server/bin/server.dart"
training_args = [ "--help" ]
}