aboutsummaryrefslogtreecommitdiff
path: root/libshims
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2017-12-13 15:44:41 +0100
committerDavide Garberi <dade.garberi@gmail.com>2017-12-17 09:51:29 +0100
commit66f97a607bea0d2d0f8723282ce1d8a949eaa99c (patch)
tree16ed795aa5e570f0b12fec7a6f6b5e8b1f2f6642 /libshims
parent94796aa5531111434d67b242675da5edc30657f1 (diff)
msm8996-common: Nuke MediaBuffer shim
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Diffstat (limited to 'libshims')
-rw-r--r--libshims/Android.mk12
-rw-r--r--libshims/MediaBuffer.c21
2 files changed, 0 insertions, 33 deletions
diff --git a/libshims/Android.mk b/libshims/Android.mk
index 6d76d02..3347ab6 100644
--- a/libshims/Android.mk
+++ b/libshims/Android.mk
@@ -34,15 +34,3 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MULTILIB := 32
include $(BUILD_SHARED_LIBRARY)
-
-# media buffer shim
-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)
diff --git a/libshims/MediaBuffer.c b/libshims/MediaBuffer.c
deleted file mode 100644
index d8df24f..0000000
--- a/libshims/MediaBuffer.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * 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 functions! */
-
-void _ZNK7android11MediaBuffer8refcountEv() {}
-void _ZN7android13GraphicBufferC1EP19ANativeWindowBufferb() {}
-void _ZN7android11BufferQueue17createBufferQueueEPNS_2spINS_22IGraphicBufferProducerEEEPNS1_INS_22IGraphicBufferConsumerEEERKNS1_INS_19IGraphicBufferAllocEEE () {}