office-gobmx/avmedia/Library_avmedia.mk
Jan-Marek Glogowski a6fae99466 Disable epoxy test with --disable-gui
Instead of always testing for DISABLE_GUI, just disable the epoxy
test and handle !ENABLE_EPOXY in RepositoryExternal.mk.

Change-Id: I38213ffa77353bc93f32caa1b4164c5fa88170ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127999
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-01-05 18:00:59 +01:00

71 lines
1.6 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# 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/.
#
$(eval $(call gb_Library_Library,avmedia))
$(eval $(call gb_Library_set_include,avmedia,\
$$(INCLUDE) \
-I$(SRCDIR)/avmedia/inc \
-I$(SRCDIR)/avmedia/source/inc \
))
$(eval $(call gb_Library_use_libraries,avmedia,\
comphelper \
cppu \
cppuhelper \
sal \
svl \
ucbhelper \
vcl \
))
$(eval $(call gb_Library_use_sdk_api,avmedia,))
$(eval $(call gb_Library_use_externals,avmedia,\
boost_headers \
))
$(eval $(call gb_Library_add_defs,avmedia,\
-DAVMEDIA_DLLIMPLEMENTATION \
))
$(eval $(call gb_Library_add_exception_objects,avmedia,\
avmedia/source/framework/mediaitem \
))
ifneq (,$(filter AVMEDIA,$(BUILD_TYPE)))
$(eval $(call gb_Library_use_externals,avmedia,\
epoxy \
))
$(eval $(call gb_Library_set_componentfile,avmedia,avmedia/util/avmedia,services))
$(eval $(call gb_Library_use_libraries,avmedia,\
i18nlangtag \
sfx \
svt \
tl \
utl \
))
$(eval $(call gb_Library_add_exception_objects,avmedia,\
avmedia/source/framework/mediacontrol \
avmedia/source/framework/MediaControlBase \
avmedia/source/framework/mediaplayer \
avmedia/source/framework/mediatoolbox \
avmedia/source/framework/soundhandler \
avmedia/source/viewer/mediaevent_impl \
avmedia/source/viewer/mediawindow \
avmedia/source/viewer/mediawindow_impl \
))
endif # AVMEDIA
# vim: set noet sw=4 ts=4: