blob: d05cc1f1e42909d3d30b06b7b671113c3f930c7f (
plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
# Platform independent interface to platform dependent code :)
TARGET = platform
TEMPLATE = lib
CONFIG += staticlib warn_on
ROOT_DIR = ..
include($$ROOT_DIR/common.pri)
INCLUDEPATH += $$ROOT_DIR/3party/jansson/src
!iphone*:!android*:!tizen {
QT *= core
SOURCES += platform_qt.cpp \
wifi_location_service.cpp \
location_service.cpp
HEADERS += wifi_info.hpp \
location_service.hpp
!macx-* {
QT *= network
SOURCES += http_thread_qt.cpp
HEADERS += http_thread_qt.hpp
}
win32* {
SOURCES += platform_win.cpp \
wifi_info_windows.cpp
} else:macx-* {
OBJECTIVE_SOURCES += platform_mac.mm \
apple_location_service.mm
} else:linux* {
SOURCES += platform_linux.cpp
}
} else:iphone* {
OBJECTIVE_SOURCES += platform_ios.mm
} else:android* {
SOURCES += platform_android.cpp \
} else:tizen* {
HEADERS += tizen_utils.hpp \
http_thread_tizen.hpp
SOURCES += platform_tizen.cpp \
tizen_utils.cpp \
http_thread_tizen.cpp \
}
macx-*|iphone* {
HEADERS += http_thread_apple.h
OBJECTIVE_SOURCES += \
http_thread_apple.mm \
http_client_apple.mm \
socket_apple.mm \
QMAKE_OBJECTIVE_CFLAGS += -fobjc-arc
}
linux*|win* {
SOURCES += http_client_curl.cpp
}
!win32* {
HEADERS += platform_unix_impl.hpp
SOURCES += platform_unix_impl.cpp
}
# common sources for all platforms
HEADERS += \
chunks_download_strategy.hpp \
constants.hpp \
country_defines.hpp \
country_file.hpp \
file_logging.hpp \
get_text_by_id.hpp \
http_request.hpp \
http_thread_callback.hpp \
http_client.hpp \
local_country_file.hpp \
local_country_file_utils.hpp \
location.hpp \
measurement_utils.hpp \
mwm_traits.hpp \
mwm_version.hpp \
platform.hpp \
preferred_languages.hpp \
servers_list.hpp \
settings.hpp \
socket.hpp \
SOURCES += \
chunks_download_strategy.cpp \
country_defines.cpp \
country_file.cpp \
file_logging.cpp \
get_text_by_id.cpp \
http_client.cpp \
http_request.cpp \
local_country_file.cpp \
local_country_file_utils.cpp \
measurement_utils.cpp \
mwm_traits.cpp \
mwm_version.cpp \
platform.cpp \
preferred_languages.cpp \
servers_list.cpp \
settings.cpp \
|