mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 05:16:40 +00:00
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:
parent
8ed9345ccd
commit
e84f061db8
|
@ -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",
|
||||
|
|
3
utils/analysis_server/.gitignore
vendored
3
utils/analysis_server/.gitignore
vendored
|
@ -1,3 +0,0 @@
|
|||
/analysis_server.Makefile
|
||||
/analysis_server.target.mk
|
||||
|
11
utils/analysis_server_dart1/BUILD.gn
Normal file
11
utils/analysis_server_dart1/BUILD.gn
Normal 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" ]
|
||||
}
|
Loading…
Reference in a new issue