Commit Graph

13 Commits

Author SHA1 Message Date
Anton Hansson
5579fed193 Remove references to win_sdk
This goal doesn't exist anymore. The build system automatically
translates it to "sdk".

Test: m win_sdk dist && inspect out/dist/apistubs
Change-Id: Ia54e92c96ef91250351735827ab07e339fe26c15
2022-01-04 09:10:36 +00:00
paulhu
cb20205e85 Make framework-module-defaults visible to ConnectivityT
Bug: 206893064
Test: m
Change-Id: Ia55a98c9a7dbb8b9ae7e148a9ebaaa5423f91f1f
2021-12-10 13:39:42 +08:00
Samiul Islam
4fd10a5a90 Add visibility to test artifacts used for apexd_test
Bug: 187444679
Test: atest ApexTestCases
Test: atest StagedInstallInternalTest
Change-Id: I5f098a7df76a165791e1d72119297ac5b8e315fe
2021-10-13 17:24:32 +01:00
Anton Hansson
ee390f26eb Enhance documentation in mainline stubs
Metalava has a feature to "enhance documentation" which is mostly based
on auto-generating documentation text based on source-retention
annotations. This is turned on automatically for doc stubs, but here
we are enabling it for module's jar stubs as well.

The point of this is to be able to replace the module source code with
module jar stub source code when generating doc stubs -- something
previously not possible because most source-retention annotations are
not present in the jar stubs.

In order for the enhancement to work properly, metalava needs to be
passed the annotation source code rather than the annotations library.
This is because of various javadoc tags controlling what documentation
is generated, e.g. @paramDoc, @returnDoc etc.

Bug: 186197911
Test: manually inspect module stub source code is enhanced
Change-Id: I3fda4cd64e49c1da33fe614c30aafd9fa0dba3b9
2021-09-20 15:11:55 +01:00
Colin Cross
8573dc4a41 Set dist_group: "android" for module java_sdk_libraries
dist_group replaces owner and the default is going to change, set it
to the current default "android" for module java_sdk_libraries.

Bug: 186723288
Test: m checkbuild
Change-Id: Id4d20471a8106718fb1529f5c83c9ca5ffb2a569
2021-06-01 14:29:40 -07:00
Anton Hansson
8eb42eecbf Add build rules for updated SDK 30 android.jars
These build rules are work-in-progress libraries to produce SDK jars
based on SDK 30 but with updated mainline module stubs.

They aren't yet ready to be used, as some of the components need
tweaking (for example, the android-non-updatable prebuilt does not
have resources in it)

Migrate in the android.jar defaults from frameworks/base to avoid taking
a dependency on that repository.

Bug: 184839225
Test: m android_30_modules_current{,_system}
Change-Id: Ie696406c57f437c9c46d727311ff2956b2c8c4ea
2021-04-22 18:39:53 +01:00
Anton Hansson
807c08357a Move module defaults into a dedicated .bp file
I'm adding some other modules in a follow up, and to avoid creating
a large messy bp file, do some re-organization ahead of time.

Bug: 184839225
Bug: 185128417
Test: m
Change-Id: Icd655e680f7138582ddf34fb0e0e78e9bdd7a927
2021-04-14 19:07:15 +01:00
Chris Wailes
0f36225c44 Add libartservice to the visibility for system server defaults
Test: m update-api
Bug: 177273468
Merged-In: Ica7ec614d5463225a3895a1bc7d96cd10a6eed4c
Change-Id: Ica7ec614d5463225a3895a1bc7d96cd10a6eed4c
2021-03-30 12:39:43 -07:00
Anton Hansson
d2cbe05c06 Build system_server jars with system_server api
modules_current is the correct API for bootclasspath module
libraries, but it is unnecessarily restrictive for system server jars.

Test: m
Change-Id: Ic84f4c5edb4444e4c3042e19cada0caca9b16e1d
2021-03-18 10:40:33 +00:00
Bob Badour
f3aa76929d [LSC] Add LOCAL_LICENSE_KINDS to packages/modules/common
Added SPDX-license-identifier-Apache-2.0 to:
  java/com/android/modules/annotation/Android.bp
  sdk/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work

Change-Id: Ia45708593b339ddbc4e7643b9974bf60fd9a4e2d
Merged-in: I2934cb172c2a335a8fa0044219f362d80cb44a0e
2021-02-17 09:46:27 -08:00
Remi NGUYEN VAN
bf85235779 Add visibility for packages/Connectivity
For modularization of connectivity classes, connectivity classes in
frameworks/base are planned to move to packages/modules/Connectivity.
To facilitate the work, classes are first moved to
frameworks/base/packages/Connectivity, so they can then be moved all
together with their history to packages/modules/Connectivity.

Bug: 171540887
Test: m
Change-Id: I78c7adbfe2242b1d3179d07d3cb1f0ff8a203d65
2021-02-17 12:27:42 +09:00
Anton Hansson
ebcfa668d0 Remove reference to whitelist
Test: No
Change-Id: I402c1a2e9f9e0e26124d5fb807dff353136699a5
2021-02-03 18:59:14 +00:00
Anton Hansson
e7a9d09ac5 Move shared module build rules to common repo
This decouples modules from frameworks/base, and this repo also has
a different automerger strategy.

Add //frameworks/base/apex:__subpackages__ to the defaults_visibility
to preserve the existing behavior.

Test: m
Merged-In: I1cf8cbbccf042a8503bf751ab057742cca357585
Change-Id: I1cf8cbbccf042a8503bf751ab057742cca357585
2021-02-03 16:56:06 +00:00