|
| 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 | +} |
0 commit comments