Merge "Remove the hardcoded list of api libraries" into main
This commit is contained in:
@@ -343,9 +343,6 @@ type config struct {
|
||||
// modules that aren't mixed-built for at least one variant will cause a build
|
||||
// failure
|
||||
ensureAllowlistIntegrity bool
|
||||
|
||||
// List of Api libraries that contribute to Api surfaces.
|
||||
apiLibraries map[string]struct{}
|
||||
}
|
||||
|
||||
type deviceConfig struct {
|
||||
@@ -595,40 +592,6 @@ func NewConfig(cmdArgs CmdArgs, availableEnv map[string]string) (Config, error)
|
||||
setBuildMode(cmdArgs.ModuleGraphFile, GenerateModuleGraph)
|
||||
setBuildMode(cmdArgs.DocFile, GenerateDocFile)
|
||||
|
||||
// TODO(b/276958307): Replace the hardcoded list to a sdk_library local prop.
|
||||
config.apiLibraries = map[string]struct{}{
|
||||
"android.net.ipsec.ike": {},
|
||||
"art.module.public.api": {},
|
||||
"conscrypt.module.public.api": {},
|
||||
"framework-adservices": {},
|
||||
"framework-appsearch": {},
|
||||
"framework-bluetooth": {},
|
||||
"framework-configinfrastructure": {},
|
||||
"framework-connectivity": {},
|
||||
"framework-connectivity-t": {},
|
||||
"framework-devicelock": {},
|
||||
"framework-graphics": {},
|
||||
"framework-healthfitness": {},
|
||||
"framework-location": {},
|
||||
"framework-media": {},
|
||||
"framework-mediaprovider": {},
|
||||
"framework-nfc": {},
|
||||
"framework-ondevicepersonalization": {},
|
||||
"framework-pdf": {},
|
||||
"framework-pdf-v": {},
|
||||
"framework-permission": {},
|
||||
"framework-permission-s": {},
|
||||
"framework-scheduling": {},
|
||||
"framework-sdkextensions": {},
|
||||
"framework-statsd": {},
|
||||
"framework-sdksandbox": {},
|
||||
"framework-tethering": {},
|
||||
"framework-uwb": {},
|
||||
"framework-virtualization": {},
|
||||
"framework-wifi": {},
|
||||
"i18n.module.public.api": {},
|
||||
}
|
||||
|
||||
config.productVariables.Build_from_text_stub = boolPtr(config.BuildFromTextStub())
|
||||
|
||||
return Config{config}, err
|
||||
|
Reference in New Issue
Block a user