forked from CyanogenMod/android_hardware_qcom_display-caf
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathAndroid.bp
119 lines (112 loc) · 2.44 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
soong_config_module_type {
name: "qtidisplay_cc_defaults",
module_type: "cc_defaults",
config_namespace: "qtidisplay",
bool_variables: [
"drmpp",
"headless",
"llvmsa",
"gralloc4",
"udfps",
"default",
],
properties: [
"cflags",
"srcs",
"header_libs",
],
}
qtidisplay_cc_defaults {
name: "qtidisplay_common_defaults",
cflags: [
"-Wno-missing-field-initializers",
"-Wall",
"-Werror",
],
shared_libs: [
"liblog",
"libcutils",
"libutils",
],
soong_config_variables: {
drmpp: {
cflags: ["-DPP_DRM_ENABLE"],
},
headless: {
cflags: ["-DTARGET_HEADLESS", "-DQMAA"],
},
llvmsa: {
cflags: [
"--compile-and-analyze",
"--analyzer-perf",
],
},
gralloc4: {
cflags: ["-DTARGET_USES_GRALLOC4"],
},
udfps: {
cflags: ["-DUDFPS_ZPOS"],
},
},
}
qtidisplay_cc_defaults {
name: "qtidisplay_defaults",
defaults: ["qtidisplay_common_defaults"],
soong_config_variables: {
default: {
header_libs: ["display_headers", "qti_kernel_headers"],
},
headless: {
header_libs: ["display_headers"],
},
},
}
qtidisplay_cc_defaults {
name: "qti_qmaa_display_defaults",
defaults: ["qtidisplay_common_defaults"],
header_libs: ["qmaa_display_headers"],
}
cc_library_headers {
name: "display_debug_headers",
vendor: true,
export_include_dirs: [
"libdebug",
],
}
cc_library_headers {
name: "display_headers",
vendor: true,
export_include_dirs: [
"include",
"libdrmutils",
"libqdutils",
"libqservice",
"gpu_tonemapper",
"sdm/include",
"gralloc",
"libhistogram",
"libmemutils",
],
header_libs: [
"libhardware_headers",
"display_intf_headers",
"display_debug_headers",
],
export_header_lib_headers: [
"libhardware_headers",
"display_intf_headers",
"display_debug_headers",
],
}
cc_library_headers {
name: "qmaa_display_headers",
vendor: true,
export_include_dirs: [
],
header_libs: [
"display_debug_headers",
],
export_header_lib_headers: [
"display_debug_headers",
],
}