This is a combined cherry-pick of the 10 commits 34f1a750a128e02aa3191e36a2c0b28371e96287 "sal: initial osl::File sand-boxing commit for Unix.", 55243a397add76fcff8c67284ba57205a1512ca5 "lok: import allowed paths from the SAL_ALLOWED_PATHS.", 148915ef6d4bfc38deb6d98fb14429d7e6e27129 "sal: osl::File allow to create files in sandbox", 479e2f5cb69ceef2ef6832630a342d7673d6782a "unconditionally include vector", f04d38d5a88f422b80d2a37d1a1252ce59c4f892 "Fix SDK build", 52e0838a8f35837a92e7b0277544995e477fe8b6 "sal: fix various clang loplugin warnings", 3ed325340d14cb28602fb03eb6a46b37cdb8bb99 "[loplugin:unreffun]", 242ccc31d5a2c8be900828523de145e173900514 "Avoid extending the sal UNO API", 3c633a88c5212d8dd665d7bcb9678fa1eac1464f "Stick to sal_uInt32 for osl_File_OpenFlags", and f4d48ac9cdb822e2c2d3fc1f239fe0958f608cc2 "Fix linking new CppunitTest_sal_osl_file_details on macOS/Windows". Co-authored-by: Andras Timar <andras.timar@collabora.com> Co-authored-by: Caolán McNamara <caolan.mcnamara@collabora.com> Co-authored-by: Michael Meeks <michael.meeks@collabora.com> Co-authored-by: Mike Kaganski <mike.kaganski@collabora.com> Co-authored-by: Miklos Vajna <vmiklos@collabora.com> Co-authored-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I5220bef367350d8fac8c25d7f40988664b9a8bd5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187411 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
44 lines
1.3 KiB
Makefile
44 lines
1.3 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_Module_Module,sal))
|
|
|
|
$(eval $(call gb_Module_add_targets,sal,\
|
|
$(if $(CROSS_COMPILING),,$(if $(filter TRUE,$(DISABLE_DYNLOADING)),,Executable_cppunittester)) \
|
|
$(if $(filter $(OS),ANDROID EMSCRIPTEN), \
|
|
Library_lo-bootstrap) \
|
|
Library_sal \
|
|
$(call gb_CondLibSalTextenc,Library_sal_textenc) \
|
|
))
|
|
|
|
ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
|
|
|
|
ifneq (EMSCRIPTEN,$(OS))
|
|
$(eval $(call gb_Module_add_targets,sal,\
|
|
Executable_osl_process_child \
|
|
))
|
|
endif
|
|
|
|
$(eval $(call gb_Module_add_check_targets,sal,\
|
|
$(if $(filter TRUE,$(DISABLE_DYNLOADING)),,CppunitTest_Module_DLL) \
|
|
$(if $(filter WNT,$(OS)),CppunitTest_sal_comtools) \
|
|
$(if $(filter WNT,$(OS)),CppunitTest_sal_retry_if_failed) \
|
|
CppunitTest_sal_osl_security \
|
|
CppunitTest_sal_osl \
|
|
CppunitTest_sal_osl_file_details \
|
|
CppunitTest_sal_rtl \
|
|
CppunitTest_sal_types \
|
|
$(if $(COM_IS_CLANG),$(if $(COMPILER_EXTERNAL_TOOL)$(COMPILER_PLUGIN_TOOL),, \
|
|
CompilerTest_sal_rtl_oustring)) \
|
|
))
|
|
|
|
endif
|
|
|
|
# vim: set noet sw=4 ts=4:
|