diff options
author | 2024-09-30 18:46:51 +0000 | |
---|---|---|
committer | 2024-10-02 17:19:18 +0000 | |
commit | 8bce3818334988d4ac7da979c7a8a529613c455b (patch) | |
tree | dc15298aa934374377b23107642eee0b24a0d426 /java/java_test.go | |
parent | 46694ccbbd2207e3346b2580206862640ca11734 (diff) |
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
Diffstat (limited to 'java/java_test.go')
-rw-r--r-- | java/java_test.go | 31 |
1 files changed, 0 insertions, 31 deletions
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 { |