soong: Fix conflicted shared library file names

This commit is contained in:
Danny Lin 2021-11-07 07:04:59 -08:00
parent 2c4c90e15f
commit 761a7b14df

View file

@ -1,3 +1,4 @@
import * as path from 'path'
import * as util from 'util'
import { BlobEntry, partPathToSrcPath } from '../blobs/entry'
@ -15,6 +16,7 @@ export interface TargetSrcs {
}
export interface SharedLibraryModule {
stem: string
relative_install_path?: string
strip: {
none: boolean
@ -185,6 +187,7 @@ export function blobToSoongModule(
moduleSpecific = {
_type: 'cc_prebuilt_library_shared',
stem: path.basename(entry.path, '.so'),
...(relPath && { relative_install_path: relPath }),
strip: {
none: true,