From 8bce3818334988d4ac7da979c7a8a529613c455b Mon Sep 17 00:00:00 2001 From: Jihoon Kang Date: Mon, 30 Sep 2024 18:46:51 +0000 Subject: Remove the java property `exclude_static_libs` All usages of the property has been converted to using select syntax. Test: m nothing --no-skip-soong-tests Bug: 368127911 Change-Id: I130f15d8524b56b6905c4dd3e7283731f437f88d --- java/java_test.go | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'java/java_test.go') diff --git a/java/java_test.go b/java/java_test.go index e976b081e..db154ce98 100644 --- a/java/java_test.go +++ b/java/java_test.go @@ -2454,37 +2454,6 @@ java_test_host { } } -func TestJavaExcludeStaticLib(t *testing.T) { - ctx, _ := testJava(t, ` - java_library { - name: "bar", - } - java_library { - name: "foo", - } - java_library { - name: "baz", - static_libs: [ - "foo", - "bar", - ], - exclude_static_libs: [ - "bar", - ], - } - `) - - // "bar" not included as dependency of "baz" - CheckModuleDependencies(t, ctx, "baz", "android_common", []string{ - `core-lambda-stubs`, - `ext`, - `foo`, - `framework`, - `stable-core-platform-api-stubs-system-modules`, - `stable.core.platform.api.stubs`, - }) -} - func TestJavaLibraryWithResourcesStem(t *testing.T) { ctx, _ := testJavaWithFS(t, ` java_library { -- cgit v1.2.3-59-g8ed1b