diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-10-14 15:43:34 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-10-15 08:26:59 +0200 |
commit | 4704acf63f4fed3a99fc95ff63c82eb5a9ae3908 (patch) | |
tree | 4766526f4e060537e8fb965e5dbc6c1e24e4b465 /vcl | |
parent | 46d630f98f1c07ec2048da35d1a4804181148ac5 (diff) |
move HAVE_FEATURE_DESKTOP/OPENCL to their dedicated headers
HAVE_FEATURE_OPENCL is included by a common Calc header
and HAVE_FEATURE_DESKTOP is included by a common Writer header,
causing pretty much their full rebuilds if any feature changes.
Change-Id: If29bf78bd4fd70b37981e0826a577777fd255c89
Reviewed-on: https://gerrit.libreoffice.org/80776
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/app/svmain.cxx | 1 | ||||
-rw-r--r-- | vcl/source/helper/svtaccessiblefactory.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/builder.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/dialog.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/mouse.cxx | 1 |
5 files changed, 5 insertions, 3 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx index afeaaf6848b8..e032edcc710f 100644 --- a/vcl/source/app/svmain.cxx +++ b/vcl/source/app/svmain.cxx @@ -76,6 +76,7 @@ #include <displayconnectiondispatch.hxx> #include <config_features.h> +#include <config_feature_opencl.h> #include <osl/process.h> #include <com/sun/star/lang/XComponent.hpp> diff --git a/vcl/source/helper/svtaccessiblefactory.cxx b/vcl/source/helper/svtaccessiblefactory.cxx index 460241e121e9..5b966d48620c 100644 --- a/vcl/source/helper/svtaccessiblefactory.cxx +++ b/vcl/source/helper/svtaccessiblefactory.cxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <config_features.h> +#include <config_feature_desktop.h> #include <vcl/svtaccessiblefactory.hxx> #include <vcl/accessiblefactory.hxx> diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 389b153e73e7..e592a7fbf2cc 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -7,7 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <config_features.h> +#include <config_feature_desktop.h> #include <memory> #include <unordered_map> diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index 714141ea8131..f956303bba5b 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <config_features.h> +#include <config_feature_desktop.h> #ifdef IOS #include <premac.h> diff --git a/vcl/source/window/mouse.cxx b/vcl/source/window/mouse.cxx index 1190c6ba0f95..a3a06ecf1f31 100644 --- a/vcl/source/window/mouse.cxx +++ b/vcl/source/window/mouse.cxx @@ -19,6 +19,7 @@ #include <config_features.h> +#include <config_feature_desktop.h> #include <tools/time.hxx> |