summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas McGuire <thomas.mcguire.qnx@kdab.com>2012-07-19 14:43:04 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-20 06:01:15 +0200
commitea770b339693476399b03023656499b4a19733c0 (patch)
tree43f504937e41643a20176516b61991a764293796
parent359d4411b22801e91978c121cd77bc440ee55e7e (diff)
Blackberry: Don't build the generic and dummy plugins.
Change-Id: I12b14975bae9bf834f82e0f04d72baa9b506cbef Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
-rw-r--r--src/plugins/sensors/sensors.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/sensors/sensors.pro b/src/plugins/sensors/sensors.pro
index 45a8f197..41fc6fdc 100644
--- a/src/plugins/sensors/sensors.pro
+++ b/src/plugins/sensors/sensors.pro
@@ -1,5 +1,11 @@
TEMPLATE = subdirs
+# Don't build dummy and generic plugins by default, the Blackberry backend has real implementations
+# of these. This reduces compile time and plugin loading time.
+blackberry {
+ isEmpty(SENSORS_PLUGINS): SENSORS_PLUGINS = blackberry
+}
+
isEmpty(SENSORS_PLUGINS)|contains(SENSORS_PLUGINS, dummy):SUBDIRS += dummy
isEmpty(SENSORS_PLUGINS)|contains(SENSORS_PLUGINS, generic):SUBDIRS += generic
isEmpty(SENSORS_PLUGINS)|contains(SENSORS_PLUGINS, simulator):simulator:SUBDIRS += simulator