1# 2# Copyright (C) 2015 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# 16 17ifeq ($(TARGET_BUILD_PDK),true) 18ifeq ($(TARGET_BOARD_PLATFORM),msm8992) 19 20#---------------------------------------------------------------------- 21# Fixup libandroid dependency 22#---------------------------------------------------------------------- 23 24LOCAL_PATH := $(call my-dir) 25include $(CLEAR_VARS) 26LOCAL_MODULE := libandroid 27LOCAL_MODULE_SUFFIX := .so 28LOCAL_MODULE_CLASS := SHARED_LIBRARIES 29LOCAL_MODULE_TAGS := optional 30LOCAL_SRC_FILES_arm := ../../../../$(PRODUCT_OUT)/obj/PACKAGING/pdk_fusion_intermediates/system/lib/libandroid.so 31LOCAL_SRC_FILES_arm64 := ../../../../$(PRODUCT_OUT)/obj/PACKAGING/pdk_fusion_intermediates/system/lib64/libandroid.so 32LOCAL_MULTILIB := both 33LOCAL_MODULE_OWNER := qcom 34 35include $(BUILD_PREBUILT) 36 37$(LOCAL_PATH)/../../../../$(PRODUCT_OUT)/obj/PACKAGING/pdk_fusion_intermediates/system/lib/libandroid.so : $(PRODUCT_OUT)/obj/PACKAGING/pdk_fusion_intermediates/pdk_fusion.stamp 38$(LOCAL_PATH)/../../../../$(PRODUCT_OUT)/obj/PACKAGING/pdk_fusion_intermediates/system/lib64/libandroid.so : $(PRODUCT_OUT)/obj/PACKAGING/pdk_fusion_intermediates/pdk_fusion.stamp 39 40endif 41endif 42