This CL only affects the SDK.
It reverts commit 91967398ad
and then updates the packaging source for android.jar to
the metalava jar.
It also packages the extracted annotations, annotations.zip.
Test: Manually built various apps with android.jar file
as well as some binary verification with javap
Bug: 78245848
Change-Id: I5614a7f5af11d12c99cf0275ae0a88d97cc0bbc7
(cherry-picked from f13bb3dab6)
Implicit rules are being deprecated, so explicitly specify which targets
to apply the pattern rules against.
Test: build-aosp_arm.ninja is identical before/after
Change-Id: I0b902dbbfa7a70abcdcce5ea1954e9e4fad25367
Stubs lib for the sdk library org.apache.http.legacy is renamed to
org.apache.http.legacy.stubs, because the lib is now built using the
standardized build script 'java_sdk_library' where stubs libs are
suffixed with .stubs.
Bug: 77577799
Test: m -j
Merged-In: I5f45410472b0e4003d2d3cda4c9c72af8d6b4919
Change-Id: I5f45410472b0e4003d2d3cda4c9c72af8d6b4919
(cherry picked from commit 5579c00e56)
Stubs lib for the sdk library org.apache.http.legacy is renamed to
org.apache.http.legacy.stubs, because the lib is now built using the
standardized build script 'java_sdk_library' where stubs libs are
suffixed with .stubs.
Bug: 77577799
Test: m -j
Merged-In: I5f45410472b0e4003d2d3cda4c9c72af8d6b4919
Change-Id: I5f45410472b0e4003d2d3cda4c9c72af8d6b4919
(cherry picked from commit 5579c00e56)
This file is being moved. Update this path so that the old file ca be
deleted.
Bug: 77525052
Test: make out/host/linux-x86/development/sdk/generated-api-versions.xml
Change-Id: I3802304a69cc21be26e13de63c5d459b803052dd
I6730e2d3ec38004874265b2a690442dec57b33f4 made it clear that we should
depend on classes.jar for static java libraries. However, due to the
existing references to javalib.jar, the build system has been copied
classes.jar to javalib.jar.
But, this is not the case for Soong-defined java libraries. Instead of
doing the same thing for Soong-defined modules, directly fixing the
case where javalib.jar is being referenced.
Test: m -j dist
Bug: b/70351683
Merged-In: Iabd04ba55411373c228ca4bf04fc99b7f155262c
Change-Id: Iabd04ba55411373c228ca4bf04fc99b7f155262c
(cherry-picked from cdd757f4da)
I6730e2d3ec38004874265b2a690442dec57b33f4 made it clear that we should
depend on classes.jar for static java libraries. However, due to the
existing references to javalib.jar, the build system has been copied
classes.jar to javalib.jar.
But, this is not the case for Soong-defined java libraries. Instead of
doing the same thing for Soong-defined modules, directly fixing the
case where javalib.jar is being referenced.
Test: m -j dist
Merged-In: Iabd04ba55411373c228ca4bf04fc99b7f155262c
Change-Id: Iabd04ba55411373c228ca4bf04fc99b7f155262c
Adds android.test.base.jar to the optional directory of the SDK.
Bug: 30188076
Test: build SDK and check optional directory
Change-Id: Idef6358ea435053ee08831cefa8be5d07c9c6f74
Adds android.test.mock.jar and android.test.runner.jar to
the optional directory of the SDK.
Bug: 30188076
Test: build SDK and check optional directory
Change-Id: I6fb0d8757c4b157ff2167f8fc4e50ff019449beb
Remove references to jack files that no longer exist.
Bug: 65302138
Test: m PRODUCT-sdk_phone_x86_64-sdk dist sdk_repo
Change-Id: I6e68fbffc49362ec691db966032e8e01d5f01756
Merged-In: I6e68fbffc49362ec691db966032e8e01d5f01756
(cherry picked from commit cfcfb28d9a)
Remove references to jack files that no longer exist.
Bug: 65302138
Test: m PRODUCT-sdk_phone_x86_64-sdk dist sdk_repo
Change-Id: I6e68fbffc49362ec691db966032e8e01d5f01756
core-lambda-stubs.jar will be used to provide an empty
LambdaMetafactory when compiling with javac.
Bug: 65210042
Test: m -j PRODUCT-sdk-win_sdk sdk_repo
Change-Id: Icfef901806b758a0ace2b1937b26b2c3ae00a3d1
Use make variables like $(JAVA) to access java tools in preparation
for moving java tools out of the path.
Test: builds
Bug: 62956999
Change-Id: I0bbe109437c80aca23d8e56188ad7e90c93ddaee
The new version produces api-versions.xml file with API removal
information. The format of the file is backward compatible.
Test: api-generator was tested as part of ag/2298689
Bug: 37127307
Change-Id: I0db84363b973a2c6076dcb42033a09a5566ff9f1
(cherry picked from commit 1c6c892938)
(cherry picked from commit a9bb8f2687f7c879be8b2bacf420e6e116ca245b)
The Support Library ships separately via SDK Manager. It should not be
included in the base SDK build. Also, the version was wrong and it was
missing several modules.
Bug: 36171385
Test: make sdk
Change-Id: I827429b13adc2bfebf1620413f879227513a294a
Also sorts the list of libraries so that it's easier to see when things
are missing.
Bug: 31645726
Test: built the SDK, verified build artifacts
Change-Id: Ic52e0fd6362087eb4653baf9137ff09b9945d994
am: 1a44969bce
* commit '1a44969bce4e65524feb4b4ba2679f20c8b6a398':
Add documents-archive to list of support libraries
Change-Id: I32d5b77959619b6e30a9f10be45b170a181da4c6
We need to keep the resoruce generated class files in the support
libraries' built jar files when compiling with javac,
with the introduction of LOCAL_SHARED_ANDROID_LIBRARIES support of aapt2.
We strip them when packaging up the SDK package in this change.
Bug: 28454725
Bug: 22775504
Change-Id: Id5fb30915e698887e5a8d92f26d4ac8f3159613a
A few LOCAL_ADDITIONAL_DEPENDENCIES were required, where
LOCAL_REQUIRED_MODULES would be nicer, but you can't require a module of
the same name. It would create a dependency loop with the current
require implementation, so it's filtered by the build system.
Also translate monkey from ALL_PREBUILTS to a prebuilt like the rest of
the tools. This doesn't change anything, since 'monkey' is already in
build/target/product/base.mk.
ACP is being removed, so use the standard build system macros to copy
files.
Change-Id: I4f73c6b35c0d7ae25467145b0a9d5c32ba4578d2