blob: 07493c601d31627cab459307bc7a752b281e895c (
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
|
# 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*:!bada {
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_video_timer.mm \
apple_location_service.mm
} else:linux* {
SOURCES += platform_linux.cpp
}
} else:iphone* {
OBJECTIVE_SOURCES += ios_video_timer.mm \
platform_ios.mm
} else:android* {
SOURCES += platform_android.cpp \
pthread_video_timer.cpp
}
macx-*|iphone* {
HEADERS += http_thread_apple.h
OBJECTIVE_SOURCES += http_thread_apple.mm
}
!win32* {
HEADERS += platform_unix_impl.hpp
SOURCES += platform_unix_impl.cpp
}
# common sources for all platforms
HEADERS += \
platform.hpp \
location.hpp \
preferred_languages.hpp \
settings.hpp \
video_timer.hpp \
http_request.hpp \
http_thread_callback.hpp \
chunks_download_strategy.hpp \
servers_list.hpp \
constants.hpp \
SOURCES += \
preferred_languages.cpp \
settings.cpp \
video_timer.cpp \
http_request.cpp \
chunks_download_strategy.cpp \
platform.cpp \
servers_list.cpp \
|