blob: fc62685acf817f69c4cc252423fe1d9fa004284c [file] [log] [blame]
Vishal Bhoj78e90492015-12-07 01:36:32 +05301# Copyright (C) 2010 ARM Limited. All rights reserved.
Vishal Bhoj78e90492015-12-07 01:36:32 +05302# Copyright (C) 2008 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
Vishal Bhoj78e90492015-12-07 01:36:32 +053016LOCAL_PATH := $(call my-dir)
17
18# HAL module implemenation, not prelinked and stored in
19# hw/<OVERLAY_HARDWARE_MODULE_ID>.<ro.product.board>.so
20include $(CLEAR_VARS)
Vishal Bhoj78e90492015-12-07 01:36:32 +053021
Vishal Bhoj78e90492015-12-07 01:36:32 +053022SHARED_MEM_LIBS := libion libhardware
23LOCAL_SHARED_LIBRARIES := liblog libcutils libGLESv1_CM $(SHARED_MEM_LIBS)
John Stultz37287452016-01-20 20:08:46 -080024LOCAL_C_INCLUDES := system/core/include/
Vishal Bhoj78e90492015-12-07 01:36:32 +053025LOCAL_CFLAGS := -DLOG_TAG=\"gralloc\" -DGRALLOC_32_BITS -DSTANDARD_LINUX_SCREEN -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
26
27LOCAL_SRC_FILES := \
28 gralloc_module.cpp \
29 alloc_device.cpp \
30 framebuffer_device.cpp
31
John Stultz51d2a0d2017-05-26 22:06:58 -070032LOCAL_MODULE := gralloc.hikey
John Stultz37287452016-01-20 20:08:46 -080033LOCAL_MODULE_RELATIVE_PATH := hw
34
Vishal Bhoj78e90492015-12-07 01:36:32 +053035include $(BUILD_SHARED_LIBRARY)