Merge "Add mainline dev certificate dir to config"
This commit is contained in:
commit
e0ac9f74a6
2 changed files with 11 additions and 1 deletions
|
@ -798,6 +798,15 @@ func (c *config) ApexKeyDir(ctx ModuleContext) SourcePath {
|
|||
return PathForSource(ctx, filepath.Dir(defaultCert))
|
||||
}
|
||||
|
||||
// Certificate for the NetworkStack sepolicy context
|
||||
func (c *config) MainlineSepolicyDevCertificatesDir(ctx ModuleContext) SourcePath {
|
||||
cert := String(c.productVariables.MainlineSepolicyDevCertificates)
|
||||
if cert != "" {
|
||||
return PathForSource(ctx, cert)
|
||||
}
|
||||
return c.DefaultAppCertificateDir(ctx)
|
||||
}
|
||||
|
||||
// AllowMissingDependencies configures Blueprint/Soong to not fail when modules
|
||||
// are configured to depend on non-existent modules. Note that this does not
|
||||
// affect missing input dependencies at the Ninja level.
|
||||
|
|
|
@ -249,7 +249,8 @@ type productVariables struct {
|
|||
AAPTPreferredConfig *string `json:",omitempty"`
|
||||
AAPTPrebuiltDPI []string `json:",omitempty"`
|
||||
|
||||
DefaultAppCertificate *string `json:",omitempty"`
|
||||
DefaultAppCertificate *string `json:",omitempty"`
|
||||
MainlineSepolicyDevCertificates *string `json:",omitempty"`
|
||||
|
||||
AppsDefaultVersionName *string `json:",omitempty"`
|
||||
|
||||
|
|
Loading…
Reference in a new issue