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_MODULE_RELATIVE_PATH := hw
22LOCAL_VENDOR_MODULE := true
23LOCAL_SRC_FILES := allocator3.cpp
24LOCAL_INIT_RC := android.hardware.graphics.allocator@3.0-service.rc
25
26LOCAL_SHARED_LIBRARIES += \
27    android.hardware.graphics.allocator@3.0 \
28    android.hardware.graphics.mapper@3.0 \
29    libOpenglSystemCommon \
30    libOpenglCodecCommon$(GOLDFISH_OPENGL_LIB_SUFFIX) \
31    libbase \
32    libcutils \
33    libhidlbase \
34    liblog \
35    libutils
36
37LOCAL_STATIC_LIBRARIES += libqemupipe.ranchu libGoldfishAddressSpace$(GOLDFISH_OPENGL_LIB_SUFFIX)
38LOCAL_HEADER_LIBRARIES += libgralloc_cb.ranchu
39
40LOCAL_C_INCLUDES += \
41    device/generic/goldfish-opengl/system/include \
42    device/generic/goldfish-opengl/system/OpenglSystemCommon \
43    device/generic/goldfish-opengl/shared/GoldfishAddressSpace/include \
44    device/generic/goldfish-opengl/shared/OpenglCodecCommon \
45    device/generic/goldfish-opengl/host/include/libOpenglRender \
46    device/generic/goldfish-opengl/system/renderControl_enc \
47
48include $(BUILD_EXECUTABLE)
49
50include $(CLEAR_VARS)
51
52LOCAL_MODULE := android.hardware.graphics.mapper@3.0-impl-ranchu
53LOCAL_MODULE_RELATIVE_PATH := hw
54LOCAL_VENDOR_MODULE := true
55LOCAL_SRC_FILES := mapper3.cpp
56
57#     [email protected] \
58
59LOCAL_SHARED_LIBRARIES += \
60    android.hardware.graphics.mapper@3.0 \
61    libOpenglSystemCommon \
62    libOpenglCodecCommon$(GOLDFISH_OPENGL_LIB_SUFFIX) \
63    libbase \
64    libcutils \
65    libhidlbase \
66    liblog \
67    libutils \
68    libsync
69
70LOCAL_STATIC_LIBRARIES += libqemupipe.ranchu libGoldfishAddressSpace$(GOLDFISH_OPENGL_LIB_SUFFIX)
71LOCAL_HEADER_LIBRARIES += libgralloc_cb.ranchu
72
73LOCAL_C_INCLUDES += \
74    device/generic/goldfish-opengl/system/include \
75    device/generic/goldfish-opengl/system/OpenglSystemCommon \
76    device/generic/goldfish-opengl/shared/GoldfishAddressSpace/include \
77    device/generic/goldfish-opengl/shared/OpenglCodecCommon \
78    device/generic/goldfish-opengl/host/include/libOpenglRender \
79    device/generic/goldfish-opengl/system/renderControl_enc \
80
81include $(BUILD_SHARED_LIBRARY)
82
83