Merge "Add mainline dev certificate dir to config"
This commit is contained in:
@@ -798,6 +798,15 @@ func (c *config) ApexKeyDir(ctx ModuleContext) SourcePath {
|
|||||||
return PathForSource(ctx, filepath.Dir(defaultCert))
|
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
|
// AllowMissingDependencies configures Blueprint/Soong to not fail when modules
|
||||||
// are configured to depend on non-existent modules. Note that this does not
|
// are configured to depend on non-existent modules. Note that this does not
|
||||||
// affect missing input dependencies at the Ninja level.
|
// affect missing input dependencies at the Ninja level.
|
||||||
|
@@ -249,7 +249,8 @@ type productVariables struct {
|
|||||||
AAPTPreferredConfig *string `json:",omitempty"`
|
AAPTPreferredConfig *string `json:",omitempty"`
|
||||||
AAPTPrebuiltDPI []string `json:",omitempty"`
|
AAPTPrebuiltDPI []string `json:",omitempty"`
|
||||||
|
|
||||||
DefaultAppCertificate *string `json:",omitempty"`
|
DefaultAppCertificate *string `json:",omitempty"`
|
||||||
|
MainlineSepolicyDevCertificates *string `json:",omitempty"`
|
||||||
|
|
||||||
AppsDefaultVersionName *string `json:",omitempty"`
|
AppsDefaultVersionName *string `json:",omitempty"`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user