-
Notifications
You must be signed in to change notification settings - Fork 129
/
Android.bp
58 lines (52 loc) · 1.43 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
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",
],
output_extension: "h",
}
cc_library_headers {
name: "qseecom-kernel-headers",
generated_headers: ["qseecom-kernel-includes"],
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,
}