* Split into two targets as there's two files with name default.conf. FAILED: ninja: out/soong/build.aosp_rpi5.5.ninja:1487321: multiple rules generate out/soong/.intermediates/external/alsa-lib/src/conf/libasound-config/android_arm64_armv8-a_cortex-a76/default.conf [-wdupbuild=err]
33 lines
716 B
Text
33 lines
716 B
Text
//
|
|
// Copyright (C) 2025 KonstaKANG
|
|
//
|
|
// SPDX-License-Identifier: LGPL-2.1
|
|
//
|
|
|
|
cc_library_shared {
|
|
name: "libasound",
|
|
vendor: true,
|
|
export_include_dirs: [
|
|
"include",
|
|
],
|
|
srcs: [
|
|
"src/**/*.c",
|
|
],
|
|
exclude_srcs: [
|
|
"src/control/ctl_symbols_list.c",
|
|
"src/pcm/scopes/*.c",
|
|
"src/pcm/pcm_dmix_generic.c",
|
|
"src/pcm/pcm_dmix_i386.c",
|
|
"src/pcm/pcm_dmix_x86_64.c",
|
|
"src/pcm/pcm_symbols_list.c",
|
|
],
|
|
cflags: [
|
|
"-O2",
|
|
"-DPIC",
|
|
"-fPIC",
|
|
"-Wno-pointer-arith",
|
|
"-Wno-pointer-bool-conversion",
|
|
"-Wno-single-bit-bitfield-constant-conversion",
|
|
],
|
|
required: ["libasound-config"],
|
|
}
|