diff options
Diffstat (limited to 'StubLibraries.bp')
| -rw-r--r-- | StubLibraries.bp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/StubLibraries.bp b/StubLibraries.bp index 0e084968410f..272b4f6e36e6 100644 --- a/StubLibraries.bp +++ b/StubLibraries.bp @@ -328,10 +328,12 @@ java_library { java_library { name: "android_test_stubs_current", - // Modules do not have test APIs, but we want to include their SystemApis, like we include - // the SystemApi of framework-non-updatable-sources. static_libs: [ - "all-modules-system-stubs", + // Updatable modules do not have test APIs, but we want to include their SystemApis, like we + // include the SystemApi of framework-non-updatable-sources. + "all-updatable-modules-system-stubs", + // Non-updatable modules on the other hand can have test APIs, so include their test-stubs. + "all-non-updatable-modules-test-stubs", "android-non-updatable.stubs.test", "private-stub-annotations-jar", ], |