Skip to content

Commit c337f56

Browse files
mikeNGme-cafebabe
authored andcommitted
sdm: Convert hwcomposer.qcom to soong
Change-Id: I391710dc335639ce66b4fd798f4bcaecb428cda5
1 parent f6e4d6d commit c337f56

File tree

2 files changed

+70
-54
lines changed

2 files changed

+70
-54
lines changed

sdm/libs/hwc2/Android.bp

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
cc_library_shared {
2+
name: "hwcomposer.qcom",
3+
vendor: true,
4+
relative_install_path: "hw",
5+
6+
header_libs: [
7+
"display_headers",
8+
"qti_kernel_headers",
9+
],
10+
11+
cflags: [
12+
"-Wno-missing-field-initializers",
13+
"-Wno-unused-parameter",
14+
"-fcolor-diagnostics",
15+
"-DLOG_TAG=\"SDM\"",
16+
] + select(soong_config_variable("qtidisplay", "target_kernel_version"), {
17+
"4.14": ["-DTARGET_MIN_KERNEL_4_14"],
18+
"4.19": ["-DTARGET_MIN_KERNEL_4_14"],
19+
default: [],
20+
}) + select(soong_config_variable("qtidisplay", "wide_color"), {
21+
"true": ["-DFEATURE_WIDE_COLOR"],
22+
default: [],
23+
}),
24+
25+
shared_libs: [
26+
"libsdmcore",
27+
"libqservice",
28+
"libbinder",
29+
"libhardware",
30+
"libhardware_legacy",
31+
"libutils",
32+
"libcutils",
33+
"libsync",
34+
"libqdutils",
35+
"libqdMetaData",
36+
"libdl",
37+
"libdrmutils",
38+
"libsdmutils",
39+
"libc++",
40+
"liblog",
41+
"libgrallocutils",
42+
"libdl",
43+
"vendor.display.config@2.0",
44+
"libhidlbase",
45+
"libdisplayconfig.qti",
46+
"libui",
47+
"libgpu_tonemapper",
48+
],
49+
50+
srcs: [
51+
"hwc_session.cpp",
52+
"hwc_session_services.cpp",
53+
"hwc_display.cpp",
54+
"hwc_display_primary.cpp",
55+
"hwc_display_external.cpp",
56+
"hwc_display_dummy.cpp",
57+
"hwc_display_external_test.cpp",
58+
"hwc_display_virtual.cpp",
59+
"hwc_debugger.cpp",
60+
"hwc_buffer_sync_handler.cpp",
61+
"hwc_color_manager.cpp",
62+
"hwc_layers.cpp",
63+
"hwc_callbacks.cpp",
64+
"cpuhint.cpp",
65+
"hwc_tonemapper.cpp",
66+
"display_null.cpp",
67+
"hwc_socket_handler.cpp",
68+
"hwc_buffer_allocator.cpp",
69+
],
70+
}

sdm/libs/hwc2/Android.mk

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)