Commit Graph

9 Commits

Author SHA1 Message Date
Anton Hansson
69353afb48 Remove StubLibraries.bp
The new targets defined here ended up not being used for the purpose
I had in mind -- delete them and move the android.jar defaults back
to frameworks/base, where the only user now is.

Test: m
Merged-In: I9612c5c13ea38705ea949cf0836a790eafaf447f
Change-Id: I9612c5c13ea38705ea949cf0836a790eafaf447f
2022-03-03 15:14:59 +00: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