Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 39 additions & 1 deletion flutter_frontend_server/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,45 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

if (!is_fuchsia_host && !is_fuchsia) {
if (is_fuchsia_host || is_fuchsia) {
import("//build/dart/dart_library.gni")
import("//build/dart/dart_tool.gni")

dart_library("flutter_frontend_server") {
disable_analysis = true
package_name = "flutter_frontend_server"

sources = [
"server.dart",
]

deps = [
"//third_party/dart-pkg/pub/args",
"//third_party/dart-pkg/pub/path",
"//third_party/dart-pkg/pub/usage",
"//third_party/dart/pkg/build_integration",
"//third_party/dart/pkg/dev_compiler",
"//third_party/dart/pkg/front_end",
"//third_party/dart/pkg/frontend_server",
"//third_party/dart/pkg/kernel",
"//third_party/dart/pkg/vm",
]
}

dart_tool("frontend_server_tool") {
main_dart = "bin/starter.dart"
source_dir = "."
disable_analysis = true
output_name = "frontend_server"

sources = []

deps = [
":flutter_frontend_server",
]

}
} else {
import("//third_party/dart/utils/application_snapshot.gni")

frontend_server_files =
Expand Down
41 changes: 0 additions & 41 deletions frontend_server/BUILD.gn

This file was deleted.