office-gobmx/scripting/Library_protocolhandler.mk
Samuel Mehrbrodt 730e588b5e Fix option to disable macros
so that it indeeds disables any macro execution.
Before, you could still add macros to the toolbar and execute them from there (and probably many more places).
Now, if this option is set, any macro will no longer be executed.
This includes Javascript, Beanshell and Python scripts

Change-Id: Icfa845e836782c8e1b670a67694f79a60ad74fad
Reviewed-on: https://gerrit.libreoffice.org/82052
Reviewed-by: Serge Krot (CIB) <Serge.Krot@cib.de>
Tested-by: Serge Krot (CIB) <Serge.Krot@cib.de>
2019-11-05 15:06:25 +01:00

42 lines
1.1 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,protocolhandler))
$(eval $(call gb_Library_set_componentfile,protocolhandler,scripting/source/protocolhandler/protocolhandler))
$(eval $(call gb_Library_set_include,protocolhandler,\
$$(INCLUDE) \
-I$(SRCDIR)/scripting/source/inc \
))
$(eval $(call gb_Library_use_external,protocolhandler,boost_headers))
$(eval $(call gb_Library_use_sdk_api,protocolhandler))
$(eval $(call gb_Library_use_custom_headers,protocolhandler,\
officecfg/registry \
))
$(eval $(call gb_Library_use_libraries,protocolhandler,\
comphelper \
cppu \
cppuhelper \
fwe \
sal \
sfx \
tl \
vcl \
))
$(eval $(call gb_Library_add_exception_objects,protocolhandler,\
scripting/source/protocolhandler/scripthandler \
))
# vim: set noet sw=4 ts=4: