• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright 2015 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
16LOCAL_PATH:= $(call my-dir)
17
18include $(CLEAR_VARS)
19
20LOCAL_MODULE := android.hardware.graphics.allocator@3.0-service
21LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
22LOCAL_LICENSE_CONDITIONS := notice
23LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../LICENSE
24LOCAL_MODULE_RELATIVE_PATH := hw
25LOCAL_VENDOR_MODULE := true
26LOCAL_SRC_FILES := allocator3.cpp
27LOCAL_INIT_RC := android.hardware.graphics.allocator@3.0-service.rc
28
29LOCAL_SHARED_LIBRARIES += \
30    android.hardware.graphics.allocator@3.0 \
31    android.hardware.graphics.mapper@3.0 \
32    libOpenglSystemCommon \
33    libOpenglCodecCommon$(GOLDFISH_OPENGL_LIB_SUFFIX) \
34    libbase \
35    libcutils \
36    libhidlbase \
37    liblog \
38    libutils \
39
40LOCAL_STATIC_LIBRARIES += libqemupipe.ranchu libGoldfishAddressSpace$(GOLDFISH_OPENGL_LIB_SUFFIX)
41LOCAL_HEADER_LIBRARIES += libgralloc_cb.ranchu
42
43LOCAL_C_INCLUDES += \
44    device/generic/goldfish-opengl/system/include \
45    device/generic/goldfish-opengl/system/OpenglSystemCommon \
46    device/generic/goldfish-opengl/shared/GoldfishAddressSpace/include \
47    device/generic/goldfish-opengl/shared/OpenglCodecCommon \
48    device/generic/goldfish-opengl/host/include/libOpenglRender \
49    device/generic/goldfish-opengl/system/renderControl_enc \
50
51LOCAL_CFLAGS += -DVIRTIO_GPU
52LOCAL_C_INCLUDES += external/libdrm external/minigbm/cros_gralloc
53LOCAL_SHARED_LIBRARIES += libdrm
54
55include $(BUILD_EXECUTABLE)
56
57include $(CLEAR_VARS)
58
59LOCAL_MODULE := android.hardware.graphics.mapper@3.0-impl-ranchu
60LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
61LOCAL_LICENSE_CONDITIONS := notice
62LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../LICENSE
63LOCAL_MODULE_RELATIVE_PATH := hw
64LOCAL_VENDOR_MODULE := true
65LOCAL_SRC_FILES := mapper3.cpp
66
67#     android.hardware.graphics.allocator@3.0 \
68
69LOCAL_SHARED_LIBRARIES += \
70    android.hardware.graphics.mapper@3.0 \
71    libOpenglSystemCommon \
72    libOpenglCodecCommon$(GOLDFISH_OPENGL_LIB_SUFFIX) \
73    libbase \
74    libcutils \
75    libhidlbase \
76    liblog \
77    libutils \
78    libsync \
79	libandroidemu \
80
81LOCAL_STATIC_LIBRARIES += libqemupipe.ranchu libGoldfishAddressSpace$(GOLDFISH_OPENGL_LIB_SUFFIX)
82LOCAL_HEADER_LIBRARIES += libgralloc_cb.ranchu
83
84LOCAL_C_INCLUDES += \
85    device/generic/goldfish-opengl/system/include \
86    device/generic/goldfish-opengl/system/OpenglSystemCommon \
87    device/generic/goldfish-opengl/shared/GoldfishAddressSpace/include \
88    device/generic/goldfish-opengl/shared/OpenglCodecCommon \
89    device/generic/goldfish-opengl/host/include/libOpenglRender \
90    device/generic/goldfish-opengl/system/renderControl_enc \
91
92LOCAL_CFLAGS += -DVIRTIO_GPU
93LOCAL_C_INCLUDES += external/libdrm external/minigbm/cros_gralloc
94LOCAL_SHARED_LIBRARIES += libdrm
95
96include $(BUILD_SHARED_LIBRARY)
97