summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJihoon Kang <jihoonkang@google.com>2024-02-06 00:04:21 +0000
committerJihoon Kang <jihoonkang@google.com>2024-02-06 00:04:21 +0000
commit91b79851528a3dff712f45678afd906fa8aa7e70 (patch)
treea463fc8f79eea3e1d17f2a294f67c82c31ebf60e
parenta832ba0258ebc3fc2cf9a46883bfc2733fdc74f0 (diff)
downloaddevelopment-91b79851528a3dff712f45678afd906fa8aa7e70.tar.gz
Generate full_target from the exportable stubs
full_target is the SDK jar file of the stubs. Instead of setting its value as the classes.jar file of the everything stubs, this change set its value as the classes.jar file of the exportable stubs. Test: patch in git_main, lunch aosp_arm-ap31-eng && m sdk dist and inspect that the disabled apis are not included Bug: 323261972 Change-Id: Ib82e1f0a88adbb699d93014487779f7f2da24a5a
-rw-r--r--build/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/Android.mk b/build/Android.mk
index 9c1d7b5c1..b873c59d3 100644
--- a/build/Android.mk
+++ b/build/Android.mk
@@ -51,7 +51,7 @@ $(sample_props) : $(HOST_OUT)/development/samples/%_source.properties : $(TOPDIR
# ===== SDK jar file of stubs =====
# A.k.a the "current" version of the public SDK (android.jar inside the SDK package).
-full_target := $(call intermediates-dir-for,JAVA_LIBRARIES,$(ANDROID_PUBLIC_STUBS),,COMMON)/classes.jar
+full_target := $(call intermediates-dir-for,JAVA_LIBRARIES,$(ANDROID_PUBLIC_EXPORTABLE_STUBS),,COMMON)/classes.jar
full_src_target := $(call intermediates-dir-for,ETC,frameworks-base-api-current.srcjar)/frameworks-base-api-current.srcjar
# android.jar is what we put in the SDK package.