Skip to content
Snippets Groups Projects
Commit 2fcce159 authored by Alberto97's avatar Alberto97 Committed by TheScarastic
Browse files

mido: Add IMS shim

Change-Id: I6ea1662d2fa478a460ea107f79f75171bf390d7e
parent fd6ed027
No related branches found
No related tags found
No related merge requests found
......@@ -190,6 +190,10 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/sec_config:system/etc/sec_config
# Libshims
PRODUCT_PACKAGES += \
libshims_ims
# Lights
PRODUCT_PACKAGES += \
lights.msm8953
......
# Copyright (C) 2016 The CyanogenMod Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := MediaBuffer.c
LOCAL_SHARED_LIBRARIES := libstagefright_foundation
LOCAL_MODULE := libshims_ims
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
/*
* Copyright (C) 2016 The CyanogenMod Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* TODO: Actually provide implementations for these function! */
void _ZNK7android11MediaBuffer8refcountEv() {}
......@@ -35,6 +35,8 @@ on early-init
chmod 0755 /sys/kernel/debug
on init
export LD_SHIM_LIBS /system/vendor/lib64/lib-imsvt.so|libshims_ims.so
# Set permissions for persist partition
mkdir /persist 0771 root system
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment