Commit Graph

10 Commits

Author SHA1 Message Date
paulhu
63ab31bff7 Remove framework-module-defaults visibility to ConnectivityT
The framework-connectivity-t is using framework-module-defaults
to build sdk library. But framework-connectivity-t is located on
packages/modules/Connectivity not f/b/packages/ConnectivityT
which has the visibility already. So remove the unused directory
from framework-module-defaults visibility.

Bug: 208914639
Test: m
Change-Id: I8187cdfd6c92080a5555e70d9ddea3ebf206fbdc
2022-03-04 10:17:38 +08:00
Anton Hansson
26621734ae Update visibility to impl jars
The "merged" impl jar definition is moving to a new directory.

Bug: 169103987
Test: m nothing
Merged-In: I8eee60259f00fed281f0c579b12e9e99a4f6612e
Change-Id: I8eee60259f00fed281f0c579b12e9e99a4f6612e
(cherry picked from commit 711e0ef744b8c67fbab4815e040ea3726cb284ad)
2022-02-07 08:57:28 +00:00
Anton Hansson
023527e0a9 Remove dead code
This variable was not used.

Test: presubmit
Change-Id: I382c1fe5279450c2f1600328e5e01f435f1572b0
2022-01-17 20:09:57 +00:00
Anton Hansson
ea32306404 Remove duplicate --hide arguments
sdk_library.go already adds these automatically, so they make no
difference.

Test: m
Change-Id: If812d0b840a7142f108ed3e33b96ae5f395481e8
2022-01-17 19:47:03 +00:00
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
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