media/omx-plugin/Makefile.in
author Ed Morley <emorley@mozilla.com>
Thu, 26 Jul 2012 13:04:00 +0100
changeset 100555 20db7c6d82cc5bcb0e916bfe72d1ab04d3c3be2d
parent 99767 d2265454057b702decbcc26e15a8946e16f4e4b9
child 101418 2ef51674316aadfe26a46877b16794f758bf4b6d
permissions -rw-r--r--
Merge last PGO-green changeset of mozilla-inbound to mozilla-central

# 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   = ../..
topsrcdir = @top_srcdir@
srcdir    = @srcdir@
VPATH   = @srcdir@

include $(DEPTH)/config/autoconf.mk

MODULE = omxplugin
MODULE_NAME = omxplugin
LIBRARY_NAME = omxplugin
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

CPPSRCS = \
    OmxPlugin.cpp \
    $(NULL)

include $(topsrcdir)/config/rules.mk

INCLUDES        += \
                -I$(srcdir)/../../content/media/plugins \
                -I$(ANDROID_SOURCE)/dalvik/libnativehelper/include/nativehelper \
                -I$(ANDROID_SOURCE)/frameworks/base/include/ \
                -I$(ANDROID_SOURCE)/frameworks/base/include/binder/ \
                -I$(ANDROID_SOURCE)/frameworks/base/include/utils/ \
                -I$(ANDROID_SOURCE)/frameworks/base/include/media/ \
                -I$(ANDROID_SOURCE)/frameworks/base/include/media/stagefright/openmax \
                -I$(ANDROID_SOURCE)/frameworks/base/media/libstagefright/include \
                $(NULL)

EXTRA_DSO_LDOPTS += \
		-lutils -lstagefright -lmedia -lstagefright_omx -lbinder -lui \
		-lhardware -lcutils \
		$(NULL)

libs::	$(DLL_PREFIX)$(LIBRARY_NAME)$(DLL_SUFFIX)
	$(INSTALL) $< $(DEPTH)/dist/bin

libs:: $(PROGRAMS)