1 # Copyright (C) 2016 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 LOCAL_PATH := $(call my-dir) 16 17 # HAL module implemenation stored in 18 # hw/<OVERLAY_HARDWARE_MODULE_ID>.<ro.product.board>.so 19 20 # Old hwcomposer, relies on GLES composition 21 include $(CLEAR_VARS) 22 include $(LOCAL_PATH)/hwcomposer.mk 23 LOCAL_CFLAGS += -DUSE_OLD_HWCOMPOSER -Wall -Werror 24 LOCAL_MODULE := hwcomposer.vsoc-deprecated 25 26 # See b/67109557 27 ifeq (true, $(TARGET_TRANSLATE_2ND_ARCH)) 28 LOCAL_MULTILIB := first 29 endif 30 31 include $(BUILD_SHARED_LIBRARY) 32 33 # New hwcomposer, performs software composition 34 include $(CLEAR_VARS) 35 include $(LOCAL_PATH)/hwcomposer.mk 36 LOCAL_MODULE := hwcomposer.vsoc 37 LOCAL_VENDOR_MODULE := true 38 39 # See b/67109557 40 ifeq (true, $(TARGET_TRANSLATE_2ND_ARCH)) 41 LOCAL_MULTILIB := first 42 endif 43 44 include $(BUILD_SHARED_LIBRARY) 45