diff options
| author | 2024-10-02 19:17:07 +0000 | |
|---|---|---|
| committer | 2024-10-02 19:17:07 +0000 | |
| commit | e576c4a5a2bda382575025188a906ba6706d6a97 (patch) | |
| tree | a254b8c5a8012c0667788c6e598f46b2f44b3ac1 /java/java_test.go | |
| parent | 426e117ebc5f2793f65ee51f1ad7596d251b9b16 (diff) | |
| parent | adbee2ccb6051085c5ce74f90630c0c0e65a0da0 (diff) | |
Remove the java property `exclude_static_libs` am: 8bce381833 am: adbee2ccb6
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3288255
Change-Id: Iea04fcfd08ae34c10509d6c1f72f4e7156bac404
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 { |