• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright 2022 The Android Open-Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17LOCAL_PATH:= $(call my-dir)
18include $(CLEAR_VARS)
19
20LOCAL_MODULE := android.hardware.graphics.composer3-service.ranchu
21
22LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
23LOCAL_LICENSE_CONDITIONS := notice
24LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../LICENSE
25
26LOCAL_MODULE_TAGS := optional
27LOCAL_MODULE_RELATIVE_PATH := hw
28LOCAL_VENDOR_MODULE := true
29
30LOCAL_SHARED_LIBRARIES := \
31    android.hardware.graphics.composer@2.1-resources \
32    android.hardware.graphics.composer@2.2-resources \
33    android.hardware.graphics.composer3-V1-ndk \
34    android.hardware.graphics.mapper@2.0 \
35    android.hardware.graphics.mapper@4.0 \
36    libbase \
37    libbinder \
38    libbinder_ndk \
39    libEGL \
40    libcutils \
41    libcuttlefish_device_config \
42    libcuttlefish_device_config_proto \
43    libcuttlefish_utils \
44    libcuttlefish_fs \
45    libdrm \
46    libgralloctypes \
47    libhardware \
48    libhidlbase \
49    libjsoncpp \
50    libjpeg \
51    liblog \
52    libsync \
53    libui \
54    libutils \
55    libutils \
56    libOpenglSystemCommon \
57    lib_renderControl_enc \
58    libui
59
60LOCAL_STATIC_LIBRARIES := \
61    libaidlcommonsupport \
62    libyuv_static
63
64LOCAL_C_INCLUDES := \
65    device/generic/goldfish-opengl/host/include/libOpenglRender \
66    device/generic/goldfish-opengl/android-emu \
67    device/generic/goldfish-opengl/shared/OpenglCodecCommon \
68    device/generic/goldfish-opengl/system/OpenglSystemCommon \
69    device/generic/goldfish-opengl/system/include \
70    device/generic/goldfish-opengl/system/renderControl_enc \
71    external/libdrm \
72    external/minigbm/cros_gralloc \
73    system/core/libsync \
74    system/core/libsync/include \
75
76LOCAL_SRC_FILES := \
77    ClientFrameComposer.cpp \
78    Common.cpp \
79    Composer.cpp \
80    ComposerClient.cpp \
81    ComposerResources.cpp \
82    Device.cpp \
83    Display.cpp \
84    DisplayConfig.cpp \
85    DisplayFinder.cpp \
86    Drm.cpp \
87    DrmPresenter.cpp \
88    Gralloc.cpp \
89    GuestFrameComposer.cpp \
90    HostFrameComposer.cpp \
91    HostUtils.cpp \
92    Layer.cpp \
93    Main.cpp \
94    NoOpFrameComposer.cpp \
95    VsyncThread.cpp \
96
97LOCAL_VINTF_FRAGMENTS := hwc3.xml
98LOCAL_INIT_RC := hwc3.rc
99
100include $(BUILD_EXECUTABLE)
101
102