Vishal Bhoj | 78e9049 | 2015-12-07 01:36:32 +0530 | [diff] [blame] | 1 | # Copyright (C) 2010 ARM Limited. All rights reserved. |
Vishal Bhoj | 78e9049 | 2015-12-07 01:36:32 +0530 | [diff] [blame] | 2 | # 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 Bhoj | 78e9049 | 2015-12-07 01:36:32 +0530 | [diff] [blame] | 16 | LOCAL_PATH := $(call my-dir) |
| 17 | |
| 18 | # HAL module implemenation, not prelinked and stored in |
| 19 | # hw/<OVERLAY_HARDWARE_MODULE_ID>.<ro.product.board>.so |
| 20 | include $(CLEAR_VARS) |
Vishal Bhoj | 78e9049 | 2015-12-07 01:36:32 +0530 | [diff] [blame] | 21 | |
Vishal Bhoj | 78e9049 | 2015-12-07 01:36:32 +0530 | [diff] [blame] | 22 | SHARED_MEM_LIBS := libion libhardware |
| 23 | LOCAL_SHARED_LIBRARIES := liblog libcutils libGLESv1_CM $(SHARED_MEM_LIBS) |
John Stultz | 3728745 | 2016-01-20 20:08:46 -0800 | [diff] [blame] | 24 | LOCAL_C_INCLUDES := system/core/include/ |
Vishal Bhoj | 78e9049 | 2015-12-07 01:36:32 +0530 | [diff] [blame] | 25 | LOCAL_CFLAGS := -DLOG_TAG=\"gralloc\" -DGRALLOC_32_BITS -DSTANDARD_LINUX_SCREEN -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION) |
| 26 | |
| 27 | LOCAL_SRC_FILES := \ |
| 28 | gralloc_module.cpp \ |
| 29 | alloc_device.cpp \ |
| 30 | framebuffer_device.cpp |
| 31 | |
John Stultz | 51d2a0d | 2017-05-26 22:06:58 -0700 | [diff] [blame] | 32 | LOCAL_MODULE := gralloc.hikey |
John Stultz | 3728745 | 2016-01-20 20:08:46 -0800 | [diff] [blame] | 33 | LOCAL_MODULE_RELATIVE_PATH := hw |
| 34 | |
Vishal Bhoj | 78e9049 | 2015-12-07 01:36:32 +0530 | [diff] [blame] | 35 | include $(BUILD_SHARED_LIBRARY) |