Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb5bf2e2 authored by David Brazdil's avatar David Brazdil
Browse files

Remove android.test.{mock,runner}.stubs from private-list.txt

Generation of the full list of non-SDK APIs resolves public API
stubs against the boot class path. Remove stubs which do not
correspond to libraries on the boot class path.

This removes "Unresolved" warnings while building the API lists.

Bug: 112002105
Bug: 79409988
Test: m out/target/common/obj/PACKAGING/hiddenapi-private-list.txt
Change-Id: I1a73ed9ee50affed5284692e829a433ec1484f01
parent 2e0fb33a
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -97,9 +97,7 @@ hiddenapi_stubs_jar = $(call intermediates-dir-for,JAVA_LIBRARIES,$(1),,COMMON)/
# Public API stubs
HIDDENAPI_STUBS := \
    $(call hiddenapi_stubs_jar,android_stubs_current) \
    $(call hiddenapi_stubs_jar,android.test.base.stubs) \
    $(call hiddenapi_stubs_jar,android.test.mock.stubs) \
    $(call hiddenapi_stubs_jar,android.test.runner.stubs)
    $(call hiddenapi_stubs_jar,android.test.base.stubs)

# System API stubs
HIDDENAPI_STUBS += \