diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2014-04-27 15:54:58 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2014-05-01 17:03:10 +0000 |
commit | f82f7bf3dd5053049259f6933d1335f6c9e314dd (patch) | |
tree | 6360e4c6c66efbb3631a2c0ad9c0d6f6ff8f4b33 /filter/Library_storagefd.mk | |
parent | b44ca2f45e86abb62718534fad43cdd3741101ba (diff) |
Introduce centralized detection for storage-based files
This will allow us to get rid of the duplicated code,
and simplify the type detectors.
Also this commit fixes fdo#46310 and fdo#74978.
Change-Id: I08e958ab10d05e1036cdc2bed5ce14bf73b6245c
Reviewed-on: https://gerrit.libreoffice.org/9221
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'filter/Library_storagefd.mk')
-rw-r--r-- | filter/Library_storagefd.mk | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/filter/Library_storagefd.mk b/filter/Library_storagefd.mk new file mode 100644 index 000000000000..5b05e7e5c4ee --- /dev/null +++ b/filter/Library_storagefd.mk @@ -0,0 +1,36 @@ +# -*- 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,storagefd)) + +$(eval $(call gb_Library_set_componentfile,storagefd,filter/source/storagefilterdetect/storagefd)) + +$(eval $(call gb_Library_use_external,storagefd,boost_headers)) + +$(eval $(call gb_Library_use_sdk_api,storagefd)) + +$(eval $(call gb_Library_use_libraries,storagefd,\ + comphelper \ + cppuhelper \ + cppu \ + sal \ + sfx \ + tl \ + utl \ + $(gb_UWINAPI) \ +)) + +$(eval $(call gb_Library_add_exception_objects,storagefd,\ + filter/source/storagefilterdetect/fdcomp \ + filter/source/storagefilterdetect/filterdetect \ +)) + +# vim: set noet sw=4 ts=4: |