soong: Remove support for namespace sub-imports

Namespaces can be imported in device.mk.
This commit is contained in:
Danny Lin 2021-11-11 18:41:40 -08:00
parent 7726c33d8f
commit 6aa1665061

View file

@ -87,7 +87,6 @@ export interface RroModule {
}
export interface SoongNamespace {
imports: Array<string>
}
export type SoongModuleSpecific = {
@ -124,7 +123,6 @@ export type SoongModule = {
export interface SoongBlueprint {
noNamespace?: boolean
imports?: Array<string>
modules: Iterable<SoongModule>
}
@ -335,7 +333,6 @@ export function serializeBlueprint(bp: SoongBlueprint) {
if (!bp.noNamespace) {
serializedModules.push(serializeModule({
_type: 'soong_namespace',
...(bp.imports != undefined && { imports: bp.imports })
}))
}