diff options
| author | 2019-11-01 15:28:00 +0900 | |
|---|---|---|
| committer | 2019-11-01 15:29:15 +0900 | |
| commit | 75b83b0a81f2dbe55a1146118d0a4eff11c4ea87 (patch) | |
| tree | e0fe98e4a5ec04b572f1750f3cfa1249d791fd8c /java/app_test.go | |
| parent | 5d0b3b7195e35199f48bc8cd685f0b5786487cfe (diff) | |
Link type will be check in android_library also
For now, Soong checks link-type in java_library, so it cannot block hidden api usage from android_library that app links with.
So we should add check in 'android_library'
Test: m nothing
Change-Id: Ic040270ec668bdd693b690ac8a88be1048922c3b
Diffstat (limited to 'java/app_test.go')
| -rw-r--r-- | java/app_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/app_test.go b/java/app_test.go index 05ab856e4..e99e17ca3 100644 --- a/java/app_test.go +++ b/java/app_test.go @@ -399,18 +399,21 @@ func TestAndroidResources(t *testing.T) { android_library { name: "lib", + sdk_version: "current", resource_dirs: ["lib/res"], static_libs: ["lib2"], } android_library { name: "lib2", + sdk_version: "current", resource_dirs: ["lib2/res"], } // This library has the same resources as lib (should not lead to dupe RROs) android_library { name: "lib3", + sdk_version: "current", resource_dirs: ["lib/res"] } ` |