Avoids an extra aggregation step in the creation of the API sources.
Test: m nothing
Bug: 142935992
Change-Id: Ia15c3ceb9fc59e7945687536c60ce265ec95781e
- Stop generating api version XML file
- Stop reading api version XML file
Testing with:
touch frameworks/base/core/java/android/view/View.java && time make -j framework
Before patch:
Run #1: 118.7 seconds
Run #2: 118.8 seconds
Run #3: 117.7 seconds
Average: 118.4 seconds
After patch:
Run #1: 107.8 seconds
Run #2: 106.5 seconds
Run #3: 108.3 seconds
Average: 107.5 seconds
Savings of 10.7 seconds (~9.2%)
Test: make framework
Bug: 151160048
Change-Id: Ie3a7e078844d1d1cac7976142e2069704d4c1545
Merged-in: Ie3a7e078844d1d1cac7976142e2069704d4c1545
droidstubs dist now dists the api file, so convert these manual
mk rules into bp dist instead.
Bug: 149293194
Test: m dist sdk && find out/dist/apistubs -name /android\.txt
Change-Id: I96052b427dc01a6d24b040ad0006129d4d1e48fb
Makes these artifacts available for the update_prebuilts script.
Bug: 149293194
Test: m win_sdk dist && find out/dist -type f
Change-Id: Ia1064e50e987433e5e308527c6770ba2d3e8bde3
Merged-In: Ia1064e50e987433e5e308527c6770ba2d3e8bde3
(cherry picked from commit 7b0414beb7)
This had the consequence of making two large metalava invocations
run in sequence rather than parallell.
For now, add back the dependency on framework-all instead. Building
framework-all should be a lot faster than the sdk stubs.
Also move the module stubs dep from framework_defaults to
framework-minus-apex. framework-all does not need this dep.
Bug: 151092414
Test: m
Test: NINJA_ARGS="-t path out/soong/.intermediates/frameworks/base/module-lib-api-stubs-docs/android_common/module-lib-api-stubs-docs-stubs.srcjar \
out/soong/.intermediates/frameworks/base/system-api-stubs-docs/android_common/system-api-stubs-docs-stubs.srcjar" m
Change-Id: Ifdf8823d374254e594330b43ae3a39a76c7b90c5
Merged-In: Ifdf8823d374254e594330b43ae3a39a76c7b90c5
(cherry picked from commit 92d79fddd4)
This had the consequence of making two large metalava invocations
run in sequence rather than parallell.
For now, add back the dependency on framework-all instead. Building
framework-all should be a lot faster than the sdk stubs.
Also move the module stubs dep from framework_defaults to
framework-minus-apex. framework-all does not need this dep.
Bug: 151092414
Test: m
Test: NINJA_ARGS="-t path out/soong/.intermediates/frameworks/base/module-lib-api-stubs-docs/android_common/module-lib-api-stubs-docs-stubs.srcjar \
out/soong/.intermediates/frameworks/base/system-api-stubs-docs/android_common/system-api-stubs-docs-stubs.srcjar" m
Change-Id: Ifdf8823d374254e594330b43ae3a39a76c7b90c5
Makes these artifacts available for the update_prebuilts script.
Bug: 149293194
Test: m win_sdk dist && find out/dist -type f
Change-Id: Ia1064e50e987433e5e308527c6770ba2d3e8bde3
This allows modules components to depend on internals of other
module components, by specifying the non-stub version of that
library.
Bug: 151092414
Test: m
Change-Id: Ia39b2686de7619ccb1ec154588c11a8b1b322647
Merged-In: Ia39b2686de7619ccb1ec154588c11a8b1b322647
Testing with:
touch frameworks/base/core/java/android/view/View.java && time make -j framework
Before patch:
Run #1: 107.8 seconds
Run #2: 106.5 seconds
Run #3: 108.3 seconds
Average: 107.5 seconds
After patch:
Run #1: 105.5 seconds
Run #2: 105.6 seconds
Run #3: 105.0 seconds
Average: 105.4 seconds
Savings of 2.2 seconds (~2%)
Test: make framework
Bug: 151160048
Change-Id: Ic58875a315c9d1dc09b029d3de405a5f5648c46e
- Stop generating api version XML file
- Stop reading api version XML file
Testing with:
touch frameworks/base/core/java/android/view/View.java && time make -j framework
Before patch:
Run #1: 118.7 seconds
Run #2: 118.8 seconds
Run #3: 117.7 seconds
Average: 118.4 seconds
After patch:
Run #1: 107.8 seconds
Run #2: 106.5 seconds
Run #3: 108.3 seconds
Average: 107.5 seconds
Savings of 10.7 seconds (~9.2%)
Test: make framework
Bug: 151160048
Change-Id: Ie3a7e078844d1d1cac7976142e2069704d4c1545
This allows modules components to depend on internals of other
module components, by specifying the non-stub version of that
library.
Bug: 151092414
Test: m
Change-Id: Ia39b2686de7619ccb1ec154588c11a8b1b322647
Module IPsec(IKE) will not be in bootclasspath or expose API
from frameworks/base anymore. Instead it will be built as a
java_sdk_library and expose APIs under its own directory.
This commit:
- Removes API from frameworks/base
- Adds ike to FrameworksNetTests manifest so that VpnTest is
able to load it.
Bug: 145995723
Test: build, flash, boot
Test: atest FramewokrsIkeTests (passed)
Test: m mts && mts-tradefed run mts-ipsec (passed)
Test: manually tested that FrameworksNetTests can use ike.jar
Change-Id: I37ba02eb3003ea28e66f50ca0b612597ef48f6d5
Merged-In: I37ba02eb3003ea28e66f50ca0b612597ef48f6d5
Module IPsec(IKE) will not be in bootclasspath or expose API
from frameworks/base anymore. Instead it will be built as a
java_sdk_library and expose APIs under its own directory.
This commit:
- Removes API from frameworks/base
- Adds ike to FrameworksNetTests manifest so that VpnTest is
able to load it.
Bug: 145995723
Test: build, flash, boot
Test: atest FramewokrsIkeTests (passed)
Test: m mts && mts-tradefed run mts-ipsec (passed)
Test: manually tested that FrameworksNetTests can use ike.jar
Change-Id: I37ba02eb3003ea28e66f50ca0b612597ef48f6d5
These were previously turned off as there were no previous
releases to compare it to. Check in empty files as comparison.
The new tethering APIs fail lint -- I have filed a release
blocking bug to get these cleaned up.
Bug: 149430003
Bug: 147559833
Test: m module-lib-api-api-lint
Test: m module-lib-api-check-last-released-api (with+without incompatibilities)
Change-Id: I2b171dc836ca121502fb345d8dd512a05c566a49
Merged-In: I2b171dc836ca121502fb345d8dd512a05c566a49
(cherry picked from commit 79e35c3beb)
These were previously turned off as there were no previous
releases to compare it to. Check in empty files as comparison.
The new tethering APIs fail lint -- I have filed a release
blocking bug to get these cleaned up.
Bug: 149430003
Bug: 147559833
Test: m module-lib-api-api-lint
Test: m module-lib-api-check-last-released-api (with+without incompatibilities)
Change-Id: I2b171dc836ca121502fb345d8dd512a05c566a49
- Don't depend on framework-all (we depend on srcs)
- Set sdk_version to core_current
Bug: 146757305
Test: m
Change-Id: I9f14d35ba657045e99190b7a651781a5b87d490d
Merged-In: I9f14d35ba657045e99190b7a651781a5b87d490d
- Don't depend on framework-all (we depend on srcs)
- Set sdk_version to core_current
Bug: 146757305
Test: m
Change-Id: I9f14d35ba657045e99190b7a651781a5b87d490d
It's been abandoned for now. Also remove the process attribute
requirement as it's no longer in use.
Bug: 148177503
Test: m
Change-Id: I2b1444105c670f1ef5bc214aa7b0a7ac06d84a37
These APIs should really leave in individual .txt files,
but had them here for the moment to make sure there is *some*
tracking of the surface.
Bug: 147768409
Test: m module-app-api-check-current-api
Test: m module-lib-api-check-current-api
Test: patch I97ef83f7f9b4c1376f373713036f5256318f1050 && the above `m`
Change-Id: Ia0a48b9f6e45fccbe67b369b61660d88b5000a44
Merged-In: Ia0a48b9f6e45fccbe67b369b61660d88b5000a44
(cherry picked from commit 970c053315)
android.jar is the historical name of the framework stubs, so stick
with that.
Test: m
Change-Id: I1ef40b0e426c51d697f1efdabdc87096555e26e8
Merged-In: I1ef40b0e426c51d697f1efdabdc87096555e26e8
(cherry picked from commit 81b3e1e1680847f44782eb053dfbd7d7022cef58)
android.jar is the historical name of the framework stubs, so stick
with that.
Exempt-From-Owner-Approval: comment-only changes irrelvant to statsd team
Test: m
Change-Id: I1ef40b0e426c51d697f1efdabdc87096555e26e8
These APIs should really leave in individual .txt files,
but had them here for the moment to make sure there is *some*
tracking of the surface.
Bug: 147768409
Test: m module-app-api-check-current-api
Test: m module-lib-api-check-current-api
Test: patch I97ef83f7f9b4c1376f373713036f5256318f1050 && the above `m`
Change-Id: Ia0a48b9f6e45fccbe67b369b61660d88b5000a44
The following two stub libraries are added:
- android_module_app_stubs_current: @SystemApis that are available for
modules implemented as apps. @SystemApis with client=PRIVILEGED_APPS
and client=MODULE_APPS are included here.
- android_module_lib_stubs_current: @SystemApis that are available for
modules implemented as bootclasspath jars. @SystemApis with
client=PRIVILEGED_APPS, MODULE_APPS, and MODULE_LIBRARIES are all
included here.
For now, the compatibility check against the last release API is not
done, but this is not a problem because this is the first time these
APIs are released.
Exempt-From-Owner-Approval: cherry-pick from internal
Bug: 139391334
Bug: 140202860
Bug: 146727827
Test: m
Merged-In: I0254a5f7751c58029fa7a8d5c342b731a7deb69a
Change-Id: I0254a5f7751c58029fa7a8d5c342b731a7deb69a
(cherry picked from commit e309516406)
The following two stub libraries are added:
- android_module_app_stubs_current: @SystemApis that are available for
modules implemented as apps. @SystemApis with client=PRIVILEGED_APPS
and client=MODULE_APPS are included here.
- android_module_lib_stubs_current: @SystemApis that are available for
modules implemented as bootclasspath jars. @SystemApis with
client=PRIVILEGED_APPS, MODULE_APPS, and MODULE_LIBRARIES are all
included here.
For now, the compatibility check against the last release API is not
done, but this is not a problem because this is the first time these
APIs are released.
Bug: 139391334
Bug: 140202860
Bug: 146727827
Test: m
Change-Id: I0254a5f7751c58029fa7a8d5c342b731a7deb69a
frameworks/base/Android.bp became too big. Modularize it into multiple
files for better readability and extensibility.
droidstubs and java_library modules for API stub libraries are moved to
StubLibraries.bp.
droidstubs and droiddoc modules for API documents are moved to
ApiDocs.bp
Also, added some documentation to explain the roles of the many modules
and how they are related with each other.
Bug: N/A
Test: m
Exempt-From-Owner-Approval: cherry-pick from internal
Merged-In: I285e8c82078d5bd3ed85b0343db2f6375ce7ffb7
(cherry picked from commit 0d7e86d03c)
Change-Id: I285e8c82078d5bd3ed85b0343db2f6375ce7ffb7