Remove sky_services, flutter_services (flutter/engine#27238)
This commit is contained in:
@@ -1684,7 +1684,6 @@ FILE: ../../../flutter/shell/profiling/sampling_profiler.h
|
||||
FILE: ../../../flutter/shell/profiling/sampling_profiler_unittest.cc
|
||||
FILE: ../../../flutter/shell/version/version.cc
|
||||
FILE: ../../../flutter/shell/version/version.h
|
||||
FILE: ../../../flutter/sky/packages/flutter_services/lib/empty.dart
|
||||
FILE: ../../../flutter/sky/tools/roll/patches/chromium/android_build.patch
|
||||
FILE: ../../../flutter/third_party/accessibility/base/color_utils.h
|
||||
FILE: ../../../flutter/third_party/accessibility/base/compiler_specific.h
|
||||
|
||||
54
engine/src/flutter/sky/dist/BUILD.gn
vendored
54
engine/src/flutter/sky/dist/BUILD.gn
vendored
@@ -5,24 +5,6 @@
|
||||
import("//flutter/build/zip_bundle.gni")
|
||||
|
||||
if (is_android) {
|
||||
action("flutter_services") {
|
||||
script = "//flutter/sky/tools/dist_dart_pkg.py"
|
||||
|
||||
source = "//flutter/sky/packages/flutter_services"
|
||||
dest = "$root_build_dir/dist/packages/flutter_services"
|
||||
|
||||
inputs = [ source ]
|
||||
outputs = [ dest ]
|
||||
|
||||
args = [
|
||||
"--source",
|
||||
rebase_path(source),
|
||||
"--dest",
|
||||
rebase_path(dest),
|
||||
]
|
||||
|
||||
deps = [ "//flutter/sky/packages/flutter_services" ]
|
||||
}
|
||||
action("sky_engine") {
|
||||
script = "//flutter/sky/tools/dist_dart_pkg.py"
|
||||
|
||||
@@ -45,49 +27,15 @@ if (is_android) {
|
||||
]
|
||||
}
|
||||
|
||||
action("sky_services") {
|
||||
script = "//flutter/sky/tools/dist_dart_pkg.py"
|
||||
|
||||
source = "$root_gen_dir/dart-pkg/sky_services"
|
||||
dest = "$root_build_dir/dist/packages/sky_services"
|
||||
|
||||
inputs = [ source ]
|
||||
outputs = [ dest ]
|
||||
|
||||
args = [
|
||||
"--source",
|
||||
rebase_path(source),
|
||||
"--dest",
|
||||
rebase_path(dest),
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//flutter/sky/packages/sky_services",
|
||||
"//flutter/sky/packages/sky_services:sky_services_pkg_helper",
|
||||
]
|
||||
}
|
||||
|
||||
zip_bundle("zip") {
|
||||
output = "$android_zip_archive_dir/sky_engine.zip"
|
||||
files = [
|
||||
{
|
||||
source = "$root_build_dir/dist/packages/flutter_services"
|
||||
destination = "flutter_services"
|
||||
},
|
||||
{
|
||||
source = "$root_build_dir/dist/packages/sky_engine"
|
||||
destination = "sky_engine"
|
||||
},
|
||||
{
|
||||
source = "$root_build_dir/dist/packages/sky_services"
|
||||
destination = "sky_services"
|
||||
},
|
||||
]
|
||||
deps = [
|
||||
":flutter_services",
|
||||
":sky_engine",
|
||||
":sky_services",
|
||||
]
|
||||
deps = [ ":sky_engine" ]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,9 +5,5 @@
|
||||
group("packages") {
|
||||
testonly = true
|
||||
|
||||
deps = [
|
||||
"//flutter/sky/packages/flutter_services",
|
||||
"//flutter/sky/packages/sky_engine",
|
||||
"//flutter/sky/packages/sky_services",
|
||||
]
|
||||
deps = [ "//flutter/sky/packages/sky_engine" ]
|
||||
}
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
# Copyright 2013 The Flutter Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
group("flutter_services") {
|
||||
deps = [ "//flutter/sky/packages/sky_services" ]
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
/// Copyright 2013 The Flutter Authors. All rights reserved.
|
||||
/// Use of this source code is governed by a BSD-style license that can be
|
||||
/// found in the LICENSE file.
|
||||
|
||||
// TODO(abarth): Remove this package.
|
||||
@@ -1,11 +0,0 @@
|
||||
name: flutter_services
|
||||
version: 0.0.1
|
||||
author: Flutter Authors <flutter-dev@googlegroups.com>
|
||||
description: Services exported from the Flutter engine
|
||||
homepage: http://flutter.io
|
||||
dependencies:
|
||||
sky_services:
|
||||
path:
|
||||
../sky_services
|
||||
environment:
|
||||
sdk: ">=2.12.0-0 <3.0.0"
|
||||
@@ -1,3 +0,0 @@
|
||||
.pub
|
||||
packages
|
||||
pubspec.lock
|
||||
@@ -1,27 +0,0 @@
|
||||
# Copyright 2013 The Flutter 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("//flutter/build/dart/rules.gni")
|
||||
|
||||
if (!is_fuchsia) {
|
||||
copy("copy_sky_services_license") {
|
||||
sources = [
|
||||
"//AUTHORS",
|
||||
"//LICENSE",
|
||||
]
|
||||
|
||||
outputs = [ "$root_gen_dir/dart-pkg/sky_services/{{source_file_part}}" ]
|
||||
}
|
||||
}
|
||||
|
||||
dart_pkg("sky_services") {
|
||||
sources = [
|
||||
"README.md",
|
||||
"pubspec.yaml",
|
||||
]
|
||||
|
||||
if (!is_fuchsia) {
|
||||
deps = [ ":copy_sky_services_license" ]
|
||||
}
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
Flutter Services
|
||||
================
|
||||
|
||||
This packages is empty.
|
||||
@@ -1,7 +0,0 @@
|
||||
name: sky_services
|
||||
version: 0.0.99
|
||||
author: Flutter Authors <flutter-dev@googlegroups.com>
|
||||
description: An empty package
|
||||
homepage: http://flutter.io
|
||||
environment:
|
||||
sdk: ">=2.12.0-0 <3.0.0"
|
||||
@@ -86,5 +86,5 @@ In the `android` directory, run:
|
||||
|
||||
## Changing dart:ui code
|
||||
|
||||
If you change the dart:ui interface, remember to point the sky_engine and
|
||||
sky_services clauses to your local engine's output path before compiling.
|
||||
If you change the dart:ui interface, remember to point the sky_engine
|
||||
clauses to your local engine's output path before compiling.
|
||||
@@ -28,7 +28,7 @@ SRC_DIR="$(cd "$SCRIPT_DIR/../../.."; pwd -P)"
|
||||
export ANDROID_HOME="$SRC_DIR/third_party/android_tools/sdk"
|
||||
|
||||
"$SRC_DIR/flutter/tools/gn" --unopt
|
||||
ninja -C "$SRC_DIR/out/host_debug_unopt" sky_engine sky_services -j 400
|
||||
ninja -C "$SRC_DIR/out/host_debug_unopt" sky_engine -j 400
|
||||
|
||||
"$SCRIPT_DIR/compile_android_aot.sh" "$1" "$2"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user