[sdk] remove a duplicate copy of the libraries.dart file

Change-Id: I5a1bef7bb1ae179894ccfc4fb1225a5c3c9c7988
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/289064
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
This commit is contained in:
Devon Carew
2023-03-16 01:06:44 +00:00
committed by Commit Queue
parent 5f69a0c72e
commit 2ba4e232be
-16
View File
@@ -658,21 +658,6 @@ action("write_revision_file") {
]
}
# Copy libraries.dart to lib/_internal/libraries.dart for backwards
# compatibility.
#
# TODO(sigmund): stop copying libraries.dart. Old versions (<=0.25.1-alpha.4)
# of the analyzer package do not support the new location of this file. We
# should be able to remove the old file once we release a newer version of
# analyzer and popular frameworks have migrated to use it.
copy("copy_libraries_dart") {
visibility = [ ":create_common_sdk" ]
deps = [ ":copy_libraries" ]
sources = [ "lib/_internal/sdk_library_metadata/lib/libraries.dart" ]
outputs =
[ "$root_out_dir/$dart_sdk_output/lib/_internal/{{source_file_part}}" ]
}
# This rule copies the README file.
copy("copy_readme") {
visibility = [ ":create_common_sdk" ]
@@ -720,7 +705,6 @@ group("create_common_sdk") {
":copy_dartdev_dill_files",
":copy_dartdoc_files",
":copy_headers",
":copy_libraries_dart",
":copy_libraries_specification",
":copy_license",
":copy_prebuilt_devtools",