media/omx-plugin/Makefile.in
author Jeff Gilbert <jgilbert@mozilla.com>
Tue, 25 Feb 2014 14:53:34 -0800
changeset 170553 8d12def2f8fd3a034180bc82a7e9cf6967de90c4
parent 168061 3e252a679f72adfdd5fc2a8d527add97b4e312d1
child 171645 36bd9996d6556b1682713da6f15d2599e8f3fd40
permissions -rw-r--r--
Bug 974719 - Purge configure.in of trailing whitespace and all tabs. - r=gps

# 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.

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

include $(topsrcdir)/config/rules.mk

ifdef GNU_CXX
# Stagefright header files define many multichar constants.
CXXFLAGS += -Wno-multichar
endif

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

CXXFLAGS += \
                -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 \
                -I$(ANDROID_SOURCE)/frameworks/base/native/include \
                -I$(ANDROID_SOURCE)/system/core/include \
                -I$(ANDROID_SOURCE)/hardware/libhardware/include \
                $(NULL)
else
EXTRA_DSO_LDOPTS += \
		-L$(DEPTH)/media/omx-plugin/lib/ics/libutils \
		-lutils \
		-L$(DEPTH)/media/omx-plugin/lib/ics/libstagefright \
		-lstagefright \
		-L$(DEPTH)/media/omx-plugin/lib/ics/libvideoeditorplayer \
		-lvideoeditorplayer \
		$(NULL)
endif