1a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopian# Copyright (C) 2008 The Android Open Source Project 2a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopian# 3a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopian# Licensed under the Apache License, Version 2.0 (the "License"); 4a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopian# you may not use this file except in compliance with the License. 5a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopian# You may obtain a copy of the License at 6a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopian# 7a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopian# http://www.apache.org/licenses/LICENSE-2.0 8a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopian# 9a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopian# Unless required by applicable law or agreed to in writing, software 10a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopian# distributed under the License is distributed on an "AS IS" BASIS, 11a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopian# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopian# See the License for the specific language governing permissions and 13a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopian# limitations under the License. 14a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopian 15a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopian 16a8a75166a2d3c7639a7432a67075c98796165206Mathias AgopianLOCAL_PATH := $(call my-dir) 17a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopian 1814e3641c32377daabb1e2bf5940957bc9fd04a98Iliyan Malchev# HAL module implemenation stored in 19a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopian# hw/<OVERLAY_HARDWARE_MODULE_ID>.<ro.product.board>.so 20a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopianinclude $(CLEAR_VARS) 2114e3641c32377daabb1e2bf5940957bc9fd04a98Iliyan Malchev 22a8a75166a2d3c7639a7432a67075c98796165206Mathias AgopianLOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw 23a8a75166a2d3c7639a7432a67075c98796165206Mathias AgopianLOCAL_SHARED_LIBRARIES := liblog libcutils 248c4ab1fa14cc13c324bde91c0271f9ab5f4663d3Mathias Agopian 258c4ab1fa14cc13c324bde91c0271f9ab5f4663d3Mathias AgopianLOCAL_SRC_FILES := \ 268c4ab1fa14cc13c324bde91c0271f9ab5f4663d3Mathias Agopian gralloc.cpp \ 278c4ab1fa14cc13c324bde91c0271f9ab5f4663d3Mathias Agopian framebuffer.cpp \ 288c4ab1fa14cc13c324bde91c0271f9ab5f4663d3Mathias Agopian mapper.cpp 298c4ab1fa14cc13c324bde91c0271f9ab5f4663d3Mathias Agopian 30a8a75166a2d3c7639a7432a67075c98796165206Mathias AgopianLOCAL_MODULE := gralloc.default 31a8a75166a2d3c7639a7432a67075c98796165206Mathias AgopianLOCAL_CFLAGS:= -DLOG_TAG=\"gralloc\" 32118b5d7961a4abc29c8bd592956007f40ad4fc6dJean-Baptiste Queru 33a8a75166a2d3c7639a7432a67075c98796165206Mathias Agopianinclude $(BUILD_SHARED_LIBRARY) 34