2016-09-22 23:48:33 +00:00
|
|
|
# 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.
|
|
|
|
|
2018-01-08 21:16:46 +00:00
|
|
|
import("//build/dart/dart_library.gni")
|
2017-03-28 20:13:35 +00:00
|
|
|
import("//build/dart/dart_tool.gni")
|
2016-09-22 23:48:33 +00:00
|
|
|
|
2018-01-08 21:16:46 +00:00
|
|
|
dart_library("flutter_tools") {
|
2016-09-22 23:48:33 +00:00
|
|
|
package_name = "flutter_tools"
|
|
|
|
|
2017-10-06 17:47:52 +00:00
|
|
|
disable_analysis = true
|
2016-09-22 23:48:33 +00:00
|
|
|
|
|
|
|
deps = [
|
2017-10-19 02:45:48 +00:00
|
|
|
"//third_party/dart/pkg/analyzer",
|
|
|
|
"//third_party/dart/third_party/pkg/linter",
|
2016-09-22 23:48:33 +00:00
|
|
|
"//third_party/dart-pkg/pub/archive",
|
|
|
|
"//third_party/dart-pkg/pub/args",
|
2017-04-04 19:56:06 +00:00
|
|
|
"//third_party/dart-pkg/pub/collection",
|
2016-09-22 23:48:33 +00:00
|
|
|
"//third_party/dart-pkg/pub/coverage",
|
|
|
|
"//third_party/dart-pkg/pub/crypto",
|
|
|
|
"//third_party/dart-pkg/pub/file",
|
2016-11-18 00:01:28 +00:00
|
|
|
# The HTTP dependency is removed because http doesn't work on Fuchsia
|
|
|
|
# because it uses mirrors which Fuchsia's Dart VM doesn't support.
|
2016-09-22 23:48:33 +00:00
|
|
|
"//third_party/dart-pkg/pub/json_rpc_2",
|
|
|
|
"//third_party/dart-pkg/pub/json_schema",
|
|
|
|
"//third_party/dart-pkg/pub/meta",
|
2016-10-12 19:53:06 +00:00
|
|
|
"//third_party/dart-pkg/pub/mustache",
|
2016-09-22 23:48:33 +00:00
|
|
|
"//third_party/dart-pkg/pub/package_config",
|
|
|
|
"//third_party/dart-pkg/pub/path",
|
2017-01-26 04:23:19 +00:00
|
|
|
"//third_party/dart-pkg/pub/platform",
|
2017-01-23 21:46:37 +00:00
|
|
|
"//third_party/dart-pkg/pub/process",
|
2017-04-04 19:56:06 +00:00
|
|
|
"//third_party/dart-pkg/pub/quiver",
|
2016-09-22 23:48:33 +00:00
|
|
|
"//third_party/dart-pkg/pub/stack_trace",
|
2017-01-23 21:46:37 +00:00
|
|
|
"//third_party/dart-pkg/pub/test",
|
2016-09-22 23:48:33 +00:00
|
|
|
"//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",
|
|
|
|
]
|
|
|
|
}
|
2017-04-20 21:18:24 +00:00
|
|
|
|
|
|
|
dart_tool("fuchsia_builder") {
|
|
|
|
main_dart = "bin/fuchsia_builder.dart"
|
|
|
|
|
2017-10-06 17:47:52 +00:00
|
|
|
disable_analysis = true
|
2017-05-06 00:18:58 +00:00
|
|
|
|
2017-04-20 21:18:24 +00:00
|
|
|
deps = [
|
|
|
|
":flutter_tools",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
dart_tool("fuchsia_tester") {
|
|
|
|
main_dart = "bin/fuchsia_tester.dart"
|
|
|
|
|
2017-10-06 17:47:52 +00:00
|
|
|
disable_analysis = true
|
2017-05-06 00:18:58 +00:00
|
|
|
|
2017-04-20 21:18:24 +00:00
|
|
|
deps = [
|
|
|
|
":flutter_tools",
|
|
|
|
]
|
|
|
|
|
|
|
|
non_dart_deps = [
|
2017-10-14 00:16:33 +00:00
|
|
|
"$flutter_root/shell",
|
2017-04-20 21:18:24 +00:00
|
|
|
]
|
|
|
|
}
|