Add 'qcom/opensource/audio-kernel/' from commit '0ee387dfadf349618494d6f82ec8cec796ebef70'
git-subtree-dir: qcom/opensource/audio-kernel git-subtree-mainline:99ab089c55
git-subtree-split:0ee387dfad
Change-Id: repo: https://git.codelinaro.org/clo/la/platform/vendor/qcom/opensource/audio-kernel-ar tag: AUDIO.LA.9.0.r1-07400-lanai.0
This commit is contained in:
43
qcom/opensource/audio-kernel/Android.bp
Normal file
43
qcom/opensource/audio-kernel/Android.bp
Normal file
@@ -0,0 +1,43 @@
|
||||
headers_src = [
|
||||
"include/uapi/audio/*/**/*.h",
|
||||
]
|
||||
|
||||
audio_headers_out = [
|
||||
"linux/msm_audio.h",
|
||||
"sound/audio_effects.h",
|
||||
"sound/audio_slimslave.h",
|
||||
"sound/devdep_params.h",
|
||||
"sound/lsm_params.h",
|
||||
"sound/msmcal-hwdep.h",
|
||||
"sound/voice_params.h",
|
||||
"sound/wcd-dsp-glink.h",
|
||||
"linux/msm_audio_calibration.h",
|
||||
]
|
||||
|
||||
audio_kernel_headers_verbose = "--verbose "
|
||||
genrule {
|
||||
name: "qti_generate_audio_kernel_headers",
|
||||
tools: ["headers_install.sh",
|
||||
"unifdef"
|
||||
],
|
||||
tool_files: [
|
||||
"audio_kernel_headers.py",
|
||||
],
|
||||
srcs: headers_src,
|
||||
cmd: "python3 -u $(location audio_kernel_headers.py) " +
|
||||
audio_kernel_headers_verbose +
|
||||
"--header_arch arm64 " +
|
||||
"--gen_dir $(genDir) " +
|
||||
"--audio_include_uapi $(locations include/uapi/audio/*/**/*.h) " +
|
||||
"--unifdef $(location unifdef) " +
|
||||
"--headers_install $(location headers_install.sh)",
|
||||
out: audio_headers_out,
|
||||
}
|
||||
|
||||
cc_library_headers {
|
||||
name: "qti_audio_kernel_uapi",
|
||||
generated_headers: ["qti_generate_audio_kernel_headers"],
|
||||
export_generated_headers: ["qti_generate_audio_kernel_headers"],
|
||||
vendor: true,
|
||||
recovery_available: true
|
||||
}
|
Reference in New Issue
Block a user