media/omx-plugin/lib/gb235/libstagefright/Makefile.in
author Gregory Szorc <gps@mozilla.com>
Mon, 25 Feb 2013 12:47:20 -0800
changeset 129664 008e20cf742a2332f84f698317ce23e613594b0d
parent 120204 a484ad290cc303ec47201a571abaac25a688278a
child 131944 97e443115162450609702fc72c99b6d88d8703d6
permissions -rw-r--r--
Bug 784841 - Part 18m: Convert /embedding; r=glandium f=Ms2ger

# Copyright 2012 Mozilla Foundation and Mozilla contributors
#
# 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.
DEPTH   = @DEPTH@
topsrcdir = @top_srcdir@
srcdir    = @srcdir@
VPATH   = @srcdir@

include $(DEPTH)/config/autoconf.mk

MODULE = libandroidstagefrightgb234
MODULE_NAME = libandroidstagefrightgb234
LIBRARY_NAME = stagefright
FORCE_SHARED_LIB = 1

# Don't use STL wrappers; this isn't Gecko code
STL_FLAGS =

# must link statically with the CRT; this isn't Gecko code
USE_STATIC_LIBS = 1

# Need to custom install OMX media plugin
NO_DIST_INSTALL = 1
NO_INSTALL = 1

ifneq ($(MOZ_WIDGET_TOOLKIT),gonk)
CPPSRCS = \
	libstagefright.cpp \
	$(NULL)
endif

include $(topsrcdir)/config/rules.mk

ifdef GNU_CXX
# Turn off C++ 11 features due to conflicts with Android OS headers and char16_t definition
CXXFLAGS += -std=gnu++98
endif

INCLUDES        += \
                -I$(topsrcdir)/media/omx-plugin/include/gb \
                -I$(topsrcdir)/media/omx-plugin/include/gb/media/stagefright/openmax \
                $(NULL)

EXTRA_DSO_LDOPTS += \
		-L$(DEPTH)/media/omx-plugin/lib/gb/libutils \
		-lutils \
		$(NULL)