diff options
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 | 24 |
2 files changed, 0 insertions, 108 deletions
diff --git a/media/omx-plugin/lib/ics/libutils/libutils.cpp b/media/omx-plugin/lib/ics/libutils/libutils.cpp deleted file mode 100644 index 67f5a540a..000000000 --- a/media/omx-plugin/lib/ics/libutils/libutils.cpp +++ /dev/null @@ -1,84 +0,0 @@ -/* -*- 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 deleted file mode 100644 index 7fa617fb3..000000000 --- a/media/omx-plugin/lib/ics/libutils/moz.build +++ /dev/null @@ -1,24 +0,0 @@ -# -*- 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 - -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'] |