// Copyright (C) 2021 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package { default_applicable_licenses: ["Android-Apache-2.0"], } filegroup { name: "gs201_libhwc2_1_srcs", srcs: [ "libdevice/HistogramController.cpp", "libdisplayinterface/ExynosDisplayDrmInterfaceModule.cpp", "libresource/ExynosMPPModule.cpp", ], } filegroup { name: "gs201_for_zuma_zumapro_libhwc2_1_srcs", srcs: [ "libdisplayinterface/ExynosDisplayDrmInterfaceModule.cpp", "libresource/ExynosMPPModule.cpp", ], } cc_library_shared { name: "libexynosdisplay", srcs: [ "//hardware/google/graphics/gs101/libhwc2.1:gs101_for_gs201_libhwc2_1_srcs", ":gs201_libhwc2_1_srcs", ], cflags: [ "-DDISPLAY_COLOR_LIB=\"libdisplaycolor.so\"", ], header_libs: [ "gs201_graphics_histogram_header", "//hardware/google/graphics/gs101:gs101_graphics_header", ], include_dirs: [ // From original common which will use each soc's own folder. "hardware/google/graphics/gs201/libhwc2.1", "hardware/google/graphics/gs201/libhwc2.1/libmaindisplay", "hardware/google/graphics/gs201/libhwc2.1/libexternaldisplay", "hardware/google/graphics/gs201/libhwc2.1/libvirtualdisplay", "hardware/google/graphics/gs201/libhwc2.1/libresource", "hardware/google/graphics/gs201/libhwc2.1/libcolormanager", "hardware/google/graphics/gs201/libhwc2.1/libdevice", "hardware/google/graphics/gs201/libhwc2.1/libresource", "hardware/google/graphics/gs201/libhwc2.1/libdisplayinterface", "hardware/google/graphics/gs201", ], defaults: [ "libexynosdisplay_common_cc_default", ], }