Mathias Agopian | a8a7516 | 2009-04-10 14:24:31 -0700 | [diff] [blame] | 1 | # 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 | |
| 16 | LOCAL_PATH := $(call my-dir) |
| 17 | |
Iliyan Malchev | 14e3641 | 2011-03-14 14:02:15 -0700 | [diff] [blame] | 18 | # HAL module implemenation stored in |
Mathias Agopian | a8a7516 | 2009-04-10 14:24:31 -0700 | [diff] [blame] | 19 | # hw/<OVERLAY_HARDWARE_MODULE_ID>.<ro.product.board>.so |
| 20 | include $(CLEAR_VARS) |
Iliyan Malchev | 14e3641 | 2011-03-14 14:02:15 -0700 | [diff] [blame] | 21 | |
Colin Cross | 3557aba | 2014-01-24 21:00:32 -0800 | [diff] [blame] | 22 | LOCAL_MODULE_RELATIVE_PATH := hw |
Mathias Agopian | a8a7516 | 2009-04-10 14:24:31 -0700 | [diff] [blame] | 23 | LOCAL_SHARED_LIBRARIES := liblog libcutils |
Mathias Agopian | 8c4ab1f | 2009-06-11 16:32:05 -0700 | [diff] [blame] | 24 | |
| 25 | LOCAL_SRC_FILES := \ |
Mathias Agopian | 8c4ab1f | 2009-06-11 16:32:05 -0700 | [diff] [blame] | 26 | gralloc.cpp \ |
| 27 | framebuffer.cpp \ |
| 28 | mapper.cpp |
Colin Cross | febaaa9 | 2014-02-05 18:21:09 -0800 | [diff] [blame] | 29 | |
Mathias Agopian | a8a7516 | 2009-04-10 14:24:31 -0700 | [diff] [blame] | 30 | LOCAL_MODULE := gralloc.default |
Colin Cross | febaaa9 | 2014-02-05 18:21:09 -0800 | [diff] [blame] | 31 | LOCAL_CFLAGS:= -DLOG_TAG=\"gralloc\" -Wno-missing-field-initializers |
Bernhard Rosenkraenzer | 5641642 | 2014-02-25 13:50:34 +0530 | [diff] [blame] | 32 | ifeq ($(TARGET_USE_PAN_DISPLAY),true) |
| 33 | LOCAL_CFLAGS += -DUSE_PAN_DISPLAY=1 |
| 34 | endif |
Jean-Baptiste Queru | 118b5d7 | 2010-10-14 18:04:30 -0700 | [diff] [blame] | 35 | |
Mathias Agopian | a8a7516 | 2009-04-10 14:24:31 -0700 | [diff] [blame] | 36 | include $(BUILD_SHARED_LIBRARY) |