blob: cdd8d075b5599369d839d8def2b1a8636f86a9ca [file] [log] [blame]
Mathias Agopiana8a75162009-04-10 14:24:31 -07001# Copyright (C) 2008 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15
16LOCAL_PATH := $(call my-dir)
17
Iliyan Malchev14e36412011-03-14 14:02:15 -070018# HAL module implemenation stored in
Mathias Agopiana8a75162009-04-10 14:24:31 -070019# hw/<OVERLAY_HARDWARE_MODULE_ID>.<ro.product.board>.so
20include $(CLEAR_VARS)
Iliyan Malchev14e36412011-03-14 14:02:15 -070021
Colin Cross3557aba2014-01-24 21:00:32 -080022LOCAL_MODULE_RELATIVE_PATH := hw
Po-Chien Hsuehc535b2f2017-03-02 15:44:24 +080023LOCAL_PROPRIETARY_MODULE := true
Mathias Agopiana8a75162009-04-10 14:24:31 -070024LOCAL_SHARED_LIBRARIES := liblog libcutils
Mathias Agopian8c4ab1f2009-06-11 16:32:05 -070025
26LOCAL_SRC_FILES := \
Mathias Agopian8c4ab1f2009-06-11 16:32:05 -070027 gralloc.cpp \
28 framebuffer.cpp \
29 mapper.cpp
Colin Crossfebaaa92014-02-05 18:21:09 -080030
Mathias Agopiana8a75162009-04-10 14:24:31 -070031LOCAL_MODULE := gralloc.default
Colin Crossfebaaa92014-02-05 18:21:09 -080032LOCAL_CFLAGS:= -DLOG_TAG=\"gralloc\" -Wno-missing-field-initializers
Bernhard Rosenkraenzer56416422014-02-25 13:50:34 +053033ifeq ($(TARGET_USE_PAN_DISPLAY),true)
34LOCAL_CFLAGS += -DUSE_PAN_DISPLAY=1
35endif
Jean-Baptiste Queru118b5d72010-10-14 18:04:30 -070036
Mathias Agopiana8a75162009-04-10 14:24:31 -070037include $(BUILD_SHARED_LIBRARY)