-
Notifications
You must be signed in to change notification settings - Fork 1
/
Android.bp
50 lines (47 loc) · 1.31 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
headers_src = [
"include/uapi/*/**/*.h",
]
camera_headers_out = [
"media/cam_cpas.h",
"media/cam_custom.h",
"media/cam_defs.h",
"media/cam_fd.h",
"media/cam_icp.h",
"media/cam_isp.h",
"media/cam_isp_ife.h",
"media/cam_isp_tfe.h",
"media/cam_isp_vfe.h",
"media/cam_jpeg.h",
"media/cam_lrme.h",
"media/cam_ope.h",
"media/cam_req_mgr.h",
"media/cam_sensor.h",
"media/cam_sync.h",
"media/cam_tfe.h",
]
camera_kernel_headers_verbose = "--verbose "
genrule {
name: "qti_generate_camera_kernel_headers",
tools: ["headers_install.sh",
"unifdef"
],
tool_files: [
"camera_kernel_headers.py",
],
srcs: headers_src,
cmd: "python3 -u $(location camera_kernel_headers.py) " +
camera_kernel_headers_verbose +
"--header_arch arm64 " +
"--gen_dir $(genDir) " +
"--camera_include_uapi $(locations include/uapi/*/**/*.h) " +
"--unifdef $(location unifdef) " +
"--headers_install $(location headers_install.sh)",
out: camera_headers_out,
}
cc_library_headers {
name: "qti_camera_kernel_uapi",
generated_headers: ["qti_generate_camera_kernel_headers"],
export_generated_headers: ["qti_generate_camera_kernel_headers"],
vendor: true,
recovery_available: true
}