mirror of
https://github.com/flutter/flutter
synced 2024-10-14 04:02:56 +00:00
8cef5232d5
This affects the Fuchsia build which will soon run analysis by default.
65 lines
1.8 KiB
Plaintext
65 lines
1.8 KiB
Plaintext
# Copyright 2016 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("//build/dart/dart_package.gni")
|
|
import("//build/dart/dart_tool.gni")
|
|
|
|
dart_package("flutter_tools") {
|
|
package_name = "flutter_tools"
|
|
|
|
analysis_options = "//lib/flutter/.analysis_options"
|
|
|
|
deps = [
|
|
"//dart/pkg/analyzer",
|
|
"//dart/third_party/pkg/linter",
|
|
"//third_party/dart-pkg/pub/archive",
|
|
"//third_party/dart-pkg/pub/args",
|
|
"//third_party/dart-pkg/pub/collection",
|
|
"//third_party/dart-pkg/pub/coverage",
|
|
"//third_party/dart-pkg/pub/crypto",
|
|
"//third_party/dart-pkg/pub/file",
|
|
# The HTTP dependency is removed because http doesn't work on Fuchsia
|
|
# because it uses mirrors which Fuchsia's Dart VM doesn't support.
|
|
"//third_party/dart-pkg/pub/json_rpc_2",
|
|
"//third_party/dart-pkg/pub/json_schema",
|
|
"//third_party/dart-pkg/pub/meta",
|
|
"//third_party/dart-pkg/pub/mustache",
|
|
"//third_party/dart-pkg/pub/package_config",
|
|
"//third_party/dart-pkg/pub/path",
|
|
"//third_party/dart-pkg/pub/platform",
|
|
"//third_party/dart-pkg/pub/process",
|
|
"//third_party/dart-pkg/pub/quiver",
|
|
"//third_party/dart-pkg/pub/stack_trace",
|
|
"//third_party/dart-pkg/pub/test",
|
|
"//third_party/dart-pkg/pub/usage",
|
|
"//third_party/dart-pkg/pub/web_socket_channel",
|
|
"//third_party/dart-pkg/pub/xml",
|
|
"//third_party/dart-pkg/pub/yaml",
|
|
]
|
|
}
|
|
|
|
dart_tool("fuchsia_builder") {
|
|
main_dart = "bin/fuchsia_builder.dart"
|
|
|
|
analysis_options = "//lib/flutter/.analysis_options"
|
|
|
|
deps = [
|
|
":flutter_tools",
|
|
]
|
|
}
|
|
|
|
dart_tool("fuchsia_tester") {
|
|
main_dart = "bin/fuchsia_tester.dart"
|
|
|
|
analysis_options = "//lib/flutter/.analysis_options"
|
|
|
|
deps = [
|
|
":flutter_tools",
|
|
]
|
|
|
|
non_dart_deps = [
|
|
"//flutter/shell",
|
|
]
|
|
}
|