diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /media/omx-plugin/lib/ics/libutils | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'media/omx-plugin/lib/ics/libutils')
-rw-r--r-- | media/omx-plugin/lib/ics/libutils/libutils.cpp | 84 | ||||
-rw-r--r-- | media/omx-plugin/lib/ics/libutils/moz.build | 25 |
2 files changed, 109 insertions, 0 deletions
diff --git a/media/omx-plugin/lib/ics/libutils/libutils.cpp b/media/omx-plugin/lib/ics/libutils/libutils.cpp new file mode 100644 index 000000000..67f5a540a --- /dev/null +++ b/media/omx-plugin/lib/ics/libutils/libutils.cpp @@ -0,0 +1,84 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* vim:set ts=2 sw=2 sts=2 et cindent: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include "mozilla/Types.h" +#include "utils/RefBase.h" +#include "utils/String16.h" +#include "utils/String8.h" +#include "utils/Vector.h" + +namespace android { +MOZ_EXPORT RefBase::RefBase() : mRefs(0) +{ +} + +MOZ_EXPORT RefBase::~RefBase() +{ +} + +MOZ_EXPORT void RefBase::incStrong(const void *id) const +{ +} + +MOZ_EXPORT void RefBase::decStrong(const void *id) const +{ +} + +MOZ_EXPORT void RefBase::onFirstRef() +{ +} + +MOZ_EXPORT void RefBase::onLastStrongRef(const void* id) +{ +} + +MOZ_EXPORT bool RefBase::onIncStrongAttempted(uint32_t flags, const void* id) +{ + return false; +} + +MOZ_EXPORT void RefBase::onLastWeakRef(void const* id) +{ +} + +MOZ_EXPORT String16::String16(char const*) +{ +} + +MOZ_EXPORT String16::~String16() +{ +} + +MOZ_EXPORT String8::String8() +{ +} + +MOZ_EXPORT String8::String8(const String8 &) +{ +} + +MOZ_EXPORT String8::~String8() +{ +} + +MOZ_EXPORT VectorImpl::VectorImpl(size_t, uint32_t) + : mFlags(0), mItemSize(0) +{ +} + +MOZ_EXPORT VectorImpl::VectorImpl(const VectorImpl &) + : mFlags(0), mItemSize(0) +{ +} + +MOZ_EXPORT VectorImpl::~VectorImpl() +{ +} + +MOZ_EXPORT void VectorImpl::finish_vector() +{ +} + +} diff --git a/media/omx-plugin/lib/ics/libutils/moz.build b/media/omx-plugin/lib/ics/libutils/moz.build new file mode 100644 index 000000000..efce12194 --- /dev/null +++ b/media/omx-plugin/lib/ics/libutils/moz.build @@ -0,0 +1,25 @@ +# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- +# vim: set filetype=python: +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +DIST_INSTALL = False + +if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk': + SOURCES += [ + 'libutils.cpp', + ] + +SharedLibrary('utils') + +LOCAL_INCLUDES += [ + '/media/omx-plugin/include/ics', + '/media/omx-plugin/include/ics/media/stagefright/openmax', +] + +# Don't use STL wrappers; this isn't Gecko code +DISABLE_STL_WRAPPING = True +NO_VISIBILITY_FLAGS = True + +if CONFIG['GNU_CXX']: + CXXFLAGS += ['-Wno-shadow'] |