-
Notifications
You must be signed in to change notification settings - Fork 1
/
Android.bp
63 lines (57 loc) · 1.63 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
62
63
cc_binary_host {
name: "unifdef",
srcs: ["scripts/unifdef.c"],
sanitize: {
never: true,
},
}
gensrcs {
name: "gen-headers_install.sh",
srcs: ["scripts/headers_install.sh"],
tools: ["unifdef"],
cmd: "sed 's+scripts/unifdef+$(location unifdef)+g' $(in) > $(out)",
output_extension: "sh",
}
cc_prebuilt_binary {
name: "headers_install.sh",
device_supported: false,
host_supported: true,
srcs: [":gen-headers_install.sh"],
}
gensrcs {
name: "qcom-kernel-includes",
cmd: "$(location headers_install.sh) `dirname $(out)` `dirname $(in)` `basename $(in)`",
tools: ["headers_install.sh"],
export_include_dirs: ["include/uapi"],
srcs: [
"include/uapi/**/*.h",
],
output_extension: "h",
}
gensrcs {
name: "qseecom-kernel-includes",
cmd: "$(location headers_install.sh) `dirname $(out)` `dirname $(in)` `basename $(in)`",
tools: ["headers_install.sh"],
export_include_dirs: ["include/uapi"],
srcs: [
"include/uapi/linux/qseecom.h",
"include/uapi/linux/msm_ion.h",
"include/uapi/linux/ion.h",
"include/uapi/linux/msm_kgsl.h",
"include/uapi/media/msm_media_info.h",
],
output_extension: "h",
}
cc_library_headers {
name: "qseecom-kernel-headers",
generated_headers: ["qseecom-kernel-includes"],
vendor_available: true,
export_generated_headers: ["qseecom-kernel-includes"],
}
cc_library_headers {
name: "qcom_kernel_headers",
generated_headers: ["qcom-kernel-includes"],
export_generated_headers: ["qcom-kernel-includes"],
vendor: true,
recovery_available: true,
}