diff options
Diffstat (limited to 'libshims')
-rw-r--r-- | libshims/Android.mk | 12 | ||||
-rw-r--r-- | libshims/MediaBuffer.c | 19 |
2 files changed, 31 insertions, 0 deletions
diff --git a/libshims/Android.mk b/libshims/Android.mk index 5bf3e5b..5eba3ec 100644 --- a/libshims/Android.mk +++ b/libshims/Android.mk @@ -44,3 +44,15 @@ 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 new file mode 100644 index 0000000..1ba3f72 --- /dev/null +++ b/libshims/MediaBuffer.c @@ -0,0 +1,19 @@ +/* + * 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() {} |