-
Notifications
You must be signed in to change notification settings - Fork 15
/
common-config.pri
55 lines (45 loc) · 1.19 KB
/
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
46
47
48
49
50
51
52
53
54
55
#
# 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-qt$${QT_MAJOR_VERSION}
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
}
}
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
}
}