diff options
| author | 2024-10-02 18:58:53 +0000 | |
|---|---|---|
| committer | 2024-10-02 18:58:53 +0000 | |
| commit | adbee2ccb6051085c5ce74f90630c0c0e65a0da0 (patch) | |
| tree | dc15298aa934374377b23107642eee0b24a0d426 /java/java_test.go | |
| parent | 7e9718b696819186f1654f98ff0b649feda4220f (diff) | |
| parent | 8bce3818334988d4ac7da979c7a8a529613c455b (diff) | |
Remove the java property `exclude_static_libs` am: 8bce381833
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3288255
Change-Id: I36957328241dab24dc370fb96a894572abe8359c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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 { |