From 1e7f04d7c47451829e79f4122a12878007a30e12 Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Sun, 7 Nov 2021 07:07:27 -0800 Subject: [PATCH] soong: Fix conflicted executable file names --- src/build/soong.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/build/soong.ts b/src/build/soong.ts index 0d58e0a..1883b33 100644 --- a/src/build/soong.ts +++ b/src/build/soong.ts @@ -32,6 +32,7 @@ export interface SharedLibraryModule { export interface ExecutableModule { srcs: Array + stem: string relative_install_path?: string check_elf_files: boolean prefer: boolean @@ -133,6 +134,7 @@ export function blobToSoongModule( moduleSpecific = { _type: 'cc_prebuilt_binary', srcs: [entry.srcPath], + stem: path.basename(entry.path), ...(relPath && { relative_install_path: relPath }), check_elf_files: false, prefer: true,