-
Notifications
You must be signed in to change notification settings - Fork 1
/
Android.bp
35 lines (32 loc) · 973 Bytes
/
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
headers_src = [
"include/uapi/*/**/*.h",
]
video_headers_out = [
"vidc/media/v4l2_vidc_extensions.h",
]
video_kernel_headers_verbose = "--verbose "
genrule {
name: "qti_generate_video_kernel_headers",
tools: ["headers_install.sh",
"unifdef"
],
tool_files: [
"video_kernel_headers.py",
],
srcs: headers_src,
cmd: "python3 -u $(location video_kernel_headers.py) " +
video_kernel_headers_verbose +
"--header_arch arm64 " +
"--gen_dir $(genDir) " +
"--video_include_uapi $(locations include/uapi/*/**/*.h) " +
"--unifdef $(location unifdef) " +
"--headers_install $(location headers_install.sh)",
out: video_headers_out,
}
cc_library_headers {
name: "qti_video_kernel_uapi",
generated_headers: ["qti_generate_video_kernel_headers"],
export_generated_headers: ["qti_generate_video_kernel_headers"],
vendor: true,
recovery_available: true
}