soong: Remove support for namespace sub-imports
Namespaces can be imported in device.mk.
This commit is contained in:
parent
7726c33d8f
commit
6aa1665061
1 changed files with 0 additions and 3 deletions
|
@ -87,7 +87,6 @@ export interface RroModule {
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SoongNamespace {
|
export interface SoongNamespace {
|
||||||
imports: Array<string>
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type SoongModuleSpecific = {
|
export type SoongModuleSpecific = {
|
||||||
|
@ -124,7 +123,6 @@ export type SoongModule = {
|
||||||
|
|
||||||
export interface SoongBlueprint {
|
export interface SoongBlueprint {
|
||||||
noNamespace?: boolean
|
noNamespace?: boolean
|
||||||
imports?: Array<string>
|
|
||||||
|
|
||||||
modules: Iterable<SoongModule>
|
modules: Iterable<SoongModule>
|
||||||
}
|
}
|
||||||
|
@ -335,7 +333,6 @@ export function serializeBlueprint(bp: SoongBlueprint) {
|
||||||
if (!bp.noNamespace) {
|
if (!bp.noNamespace) {
|
||||||
serializedModules.push(serializeModule({
|
serializedModules.push(serializeModule({
|
||||||
_type: 'soong_namespace',
|
_type: 'soong_namespace',
|
||||||
...(bp.imports != undefined && { imports: bp.imports })
|
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue