Move hiddenapi to Soong
Perform hiddenapi CSV generation and dex encoding for Soong modules in Soong. This fixes an issue where dexpreopting was happening on a different jar than was being installed. Bug: 122856783 Test: m checkbuild Test: no change out/target/common/obj/PACKAGING/hiddenapi-flags.csv Test: only ordering change to out/target/common/obj/PACKAGING/hiddenapi-greylist.csv Test: cts/tests/signature/runSignatureTests.sh Change-Id: I4fc481efc29e73cb2bdaacf672e86d5f6f0075ae
This commit is contained in:
@@ -983,6 +983,18 @@ func (c *config) EnforceSystemCertificateWhitelist() []string {
|
||||
return c.productVariables.EnforceSystemCertificateWhitelist
|
||||
}
|
||||
|
||||
func (c *config) HiddenAPIPublicList() string {
|
||||
return String(c.productVariables.HiddenAPIPublicList)
|
||||
}
|
||||
|
||||
func (c *config) HiddenAPIFlags() string {
|
||||
return String(c.productVariables.HiddenAPIFlags)
|
||||
}
|
||||
|
||||
func (c *config) HiddenAPIExtraAppUsageJars() []string {
|
||||
return c.productVariables.HiddenAPIExtraAppUsageJars
|
||||
}
|
||||
|
||||
func stringSlice(s *[]string) []string {
|
||||
if s != nil {
|
||||
return *s
|
||||
|
Reference in New Issue
Block a user