forked from ubports/sensorfw
-
Notifications
You must be signed in to change notification settings - Fork 1
/
common-config.pri
46 lines (36 loc) · 961 Bytes
/
common-config.pri
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# Common configuration options
#
#
QT += dbus
QT -= gui
CONFIG += debug
CONFIG += thread
# Maemo specific options
#CONFIG += contextprovider
# DEPRECATED: CompassChain is now provided by separate package
# sensorfw-plugins-compasslogic
### Note: compass now works for x86 and armel both. debian/rules takes care
### of figuring out which platform binary to pick. If building manually, the
### default is armel. If internal sensors are included in manual build for x86,
### uncomment the following line:
#### CONFIG+= x86build
profile {
QMAKE_CXXFLAGS += -pg
QMAKE_LFLAGS += -pg
}
profile-libc {
QMAKE_LFLAGS += -lc_p
}
TARGET = $$TARGET-qt5
OTHER_FILES += \
../../common.pri
contains(CONFIG,hybris) {
CONFIG += link_pkgconfig
contains(CONFIG,binder) {
DEFINES += USE_BINDER=1
PKGCONFIG += libgbinder libglibutil gobject-2.0 glib-2.0
} else {
PKGCONFIG += android-headers libhardware
}
}