mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:21:18 +00:00
605b211c89
Fix `application_snapshot`'s depfile to track the sources of the application instead of the compiler. Split compiling the compiler into a separate GN target with its own depfile. Bug: https://github.com/flutter/flutter/issues/81074 Change-Id: I0fb23ada40a6241ee3dde7f6cfebdd121b9a4224 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/197020 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
16 lines
546 B
Plaintext
16 lines
546 B
Plaintext
# Copyright (c) 2016, 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") {
|
|
main_dart = "../../pkg/analysis_server/bin/server.dart"
|
|
training_args = [
|
|
"--help",
|
|
# TODO(34616): This is broken on Fuchsia.
|
|
# "--sdk=" + rebase_path("../../sdk/"),
|
|
# "--train-using=" + rebase_path("../../pkg/analyzer_cli")
|
|
]
|
|
}
|