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 /desktop | |
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 'desktop')
-rw-r--r-- | desktop/source/app/app.cxx | 2 | ||||
-rw-r--r-- | desktop/source/app/officeipcthread.cxx | 1 | ||||
-rw-r--r-- | desktop/source/app/opencl.cxx | 2 | ||||
-rw-r--r-- | desktop/source/deployment/registry/help/dp_help.cxx | 2 |
4 files changed, 5 insertions, 2 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index b39f6931ec56..4f68f9edac27 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -19,6 +19,8 @@ #include <memory> #include <config_features.h> +#include <config_feature_desktop.h> +#include <config_feature_opencl.h> #include <config_java.h> #include <config_folders.h> #include <config_extensions.h> diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx index 679d95f94601..e375c17f683c 100644 --- a/desktop/source/app/officeipcthread.cxx +++ b/desktop/source/app/officeipcthread.cxx @@ -21,6 +21,7 @@ #include <config_dbus.h> #include <config_features.h> +#include <config_feature_desktop.h> #include <app.hxx> #include "officeipcthread.hxx" diff --git a/desktop/source/app/opencl.cxx b/desktop/source/app/opencl.cxx index 34e4d59b5732..6edb7c077180 100644 --- a/desktop/source/app/opencl.cxx +++ b/desktop/source/app/opencl.cxx @@ -15,7 +15,7 @@ #include <app.hxx> #include <config_version.h> -#include <config_features.h> +#include <config_feature_opencl.h> #include <config_folders.h> #include <rtl/bootstrap.hxx> diff --git a/desktop/source/deployment/registry/help/dp_help.cxx b/desktop/source/deployment/registry/help/dp_help.cxx index 2d9107d7c9b0..5d2541ab0f3a 100644 --- a/desktop/source/deployment/registry/help/dp_help.cxx +++ b/desktop/source/deployment/registry/help/dp_help.cxx @@ -18,7 +18,7 @@ */ #include <memory> -#include <config_features.h> +#include <config_feature_desktop.h> #include <strings.hrc> #include <dp_backend.h> |