LeOS-GSI/patches/leos_old/platform_frameworks_base/0001-window-manager.patch

87 lines
2.2 KiB
Diff
Raw Normal View History

2023-12-13 10:41:07 +01:00
From ad67a394937b41629a899cbdb43d4c48c1f62af9 Mon Sep 17 00:00:00 2001
From: harvey186 <harvey186@hotmail.com>
Date: Sun, 10 Dec 2023 08:59:44 +0100
Subject: [PATCH] window manager
Change-Id: I7fd30851be01418a9eb87395a014882fbd0a0fef
---
diff --git a/libs/WindowManager/Shell/tests/unittest/Android.bp b/libs/WindowManager/Shell/tests/unittest/Android.bp
index c2f184a03380..5935d9d38432 100644
--- a/libs/WindowManager/Shell/tests/unittest/Android.bp
+++ b/libs/WindowManager/Shell/tests/unittest/Android.bp
@@ -12,71 +12,3 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-package {
- // See: http://go/android-license-faq
- // A large-scale-change added 'default_applicable_licenses' to import
- // all of the 'license_kinds' from "frameworks_base_license"
- // to get the below license kinds:
- // SPDX-license-identifier-Apache-2.0
- default_applicable_licenses: ["frameworks_base_license"],
-}
-
-android_test {
- name: "WMShellUnitTests",
-
- srcs: [
- "**/*.java",
- "**/*.kt",
- ],
- resource_dirs: [
- "res",
- ],
-
- static_libs: [
- "WindowManager-Shell",
- "junit",
- "androidx.test.runner",
- "androidx.test.rules",
- "androidx.test.ext.junit",
- "androidx.dynamicanimation_dynamicanimation",
- "dagger2",
- "frameworks-base-testutils",
- "kotlinx-coroutines-android",
- "kotlinx-coroutines-core",
- "mockito-kotlin2",
- "mockito-target-extended-minus-junit4",
- "truth-prebuilt",
- "testables",
- "platform-test-annotations",
- "servicestests-utils",
- ],
-
- libs: [
- "android.test.mock",
- "android.test.base",
- "android.test.runner",
- ],
-
- jni_libs: [
- "libdexmakerjvmtiagent",
- "libstaticjvmtiagent",
- ],
-
- kotlincflags: ["-Xjvm-default=enable"],
-
- plugins: ["dagger2-compiler"],
-
- optimize: {
- enabled: false,
- },
-
- test_suites: ["device-tests"],
-
- platform_apis: true,
- certificate: "platform",
-
- aaptflags: [
- "--extra-packages",
- "com.android.wm.shell.tests",
- ],
-}
--
2.34.1