soong: Fix conflicted executable file names
This commit is contained in:
parent
761a7b14df
commit
1e7f04d7c4
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@ export interface SharedLibraryModule {
|
||||||
|
|
||||||
export interface ExecutableModule {
|
export interface ExecutableModule {
|
||||||
srcs: Array<string>
|
srcs: Array<string>
|
||||||
|
stem: string
|
||||||
relative_install_path?: string
|
relative_install_path?: string
|
||||||
check_elf_files: boolean
|
check_elf_files: boolean
|
||||||
prefer: boolean
|
prefer: boolean
|
||||||
|
@ -133,6 +134,7 @@ export function blobToSoongModule(
|
||||||
moduleSpecific = {
|
moduleSpecific = {
|
||||||
_type: 'cc_prebuilt_binary',
|
_type: 'cc_prebuilt_binary',
|
||||||
srcs: [entry.srcPath],
|
srcs: [entry.srcPath],
|
||||||
|
stem: path.basename(entry.path),
|
||||||
...(relPath && { relative_install_path: relPath }),
|
...(relPath && { relative_install_path: relPath }),
|
||||||
check_elf_files: false,
|
check_elf_files: false,
|
||||||
prefer: true,
|
prefer: true,
|
||||||
|
|
Loading…
Reference in a new issue