-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.bp
61 lines (58 loc) · 1.72 KB
/
Android.bp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
headers_src = [
"include/uapi/audio/*/**/*.h",
]
audio_headers_out = [
"linux/avtimer.h",
"linux/msm_audio.h",
"linux/msm_audio_aac.h",
"linux/msm_audio_ac3.h",
"linux/msm_audio_alac.h",
"linux/msm_audio_amrnb.h",
"linux/msm_audio_amrwb.h",
"linux/msm_audio_amrwbplus.h",
"linux/msm_audio_ape.h",
"linux/msm_audio_calibration.h",
"linux/msm_audio_g711.h",
"linux/msm_audio_g711_dec.h",
"linux/msm_audio_mvs.h",
"linux/msm_audio_qcp.h",
"linux/msm_audio_sbc.h",
"linux/msm_audio_voicememo.h",
"linux/msm_audio_wma.h",
"linux/msm_audio_wmapro.h",
"linux/wcd-spi-ac-params.h",
"sound/audio_compressed_formats.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",
]
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
}