31
|
1 |
#
|
|
2 |
# Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
# All rights reserved.
|
|
4 |
# This component and the accompanying materials are made available
|
|
5 |
# under the terms of "Eclipse Public License v1.0"
|
|
6 |
# which accompanies this distribution, and is available
|
|
7 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
#
|
|
9 |
# Initial Contributors:
|
|
10 |
# Nokia Corporation - initial contribution.
|
|
11 |
#
|
|
12 |
# Contributors:
|
|
13 |
#
|
|
14 |
# Description:
|
|
15 |
# Test library for WlanQtUtils class.
|
|
16 |
#
|
|
17 |
|
|
18 |
QT += testlib
|
|
19 |
|
|
20 |
TEMPLATE = app
|
|
21 |
TARGET = t_wlanqtutils
|
|
22 |
|
|
23 |
TARGET.CAPABILITY = ALL -TCB
|
|
24 |
|
|
25 |
DEPENDPATH += .
|
|
26 |
|
|
27 |
#Store generated .moc files to their own directory
|
|
28 |
MOC_DIR = moc
|
|
29 |
|
|
30 |
# Temporary solution to fix tracecompiler
|
|
31 |
# When tracecompiler is fixed, this can be removed
|
|
32 |
symbian: {
|
|
33 |
MMP_RULES += "USERINCLUDE traces"
|
|
34 |
}
|
|
35 |
|
|
36 |
#BUILD_DLL macro is used to define export macro
|
|
37 |
DEFINES += BUILD_WLANQTUTILITIES_DLL
|
|
38 |
|
|
39 |
INCLUDEPATH += \
|
|
40 |
. \
|
|
41 |
../base/inc \
|
|
42 |
../wrapper/inc \
|
|
43 |
../traces
|
|
44 |
|
|
45 |
# Input
|
|
46 |
HEADERS += \
|
|
47 |
testwlanqtutils.h \
|
|
48 |
context/wlanqtutilstestcontext.h \
|
|
49 |
../base/inc/wlanqtutils.h \
|
|
50 |
../base/inc/wlanqtutils_p.h \
|
|
51 |
../base/inc/wlanqtutilsiap.h \
|
|
52 |
../base/inc/wlanqtutilsiapsettings.h \
|
|
53 |
../base/inc/wlanqtutilsap.h \
|
|
54 |
../base/inc/wlanqtutilsconnection.h \
|
|
55 |
../wrapper/inc/wlanqtutilsconmonwrapper.h \
|
|
56 |
../wrapper/inc/wlanqtutilsconntestwrapper.h \
|
|
57 |
../wrapper/inc/wlanqtutilsesockwrapper.h \
|
|
58 |
../traces/OstTraceDefinitions.h
|
|
59 |
|
|
60 |
SOURCES += \
|
|
61 |
testwlanqtutils.cpp \
|
|
62 |
context/wlanqtutilstestcontext.cpp \
|
|
63 |
../base/src/wlanqtutils.cpp \
|
|
64 |
../base/src/wlanqtutils_p.cpp \
|
|
65 |
../base/src/wlanqtutilsiap.cpp \
|
|
66 |
../base/src/wlanqtutilsap.cpp \
|
|
67 |
../base/src/wlanqtutilsconnection.cpp \
|
|
68 |
../base/src/wlanqtutilsiapsettings.cpp \
|
|
69 |
../wrapper/src/wlanqtutilsconmonwrapper.cpp \
|
|
70 |
../wrapper/src/wlanqtutilsconntestwrapper.cpp \
|
|
71 |
../wrapper/src/wlanqtutilsesockwrapper.cpp
|
|
72 |
|
|
73 |
symbian: {
|
|
74 |
HEADERS += \
|
|
75 |
../wrapper/inc/wlanqtutilsconmonwrapperdisconnect_s60_p.h \
|
|
76 |
../wrapper/inc/wlanqtutilsconmonwrapperinfo_s60_p.h \
|
|
77 |
../wrapper/inc/wlanqtutilsconmonwrapperscan_s60_p.h \
|
|
78 |
../wrapper/inc/wlanqtutilsconntestwrapper_s60_p.h \
|
|
79 |
../wrapper/inc/wlanqtutilsesockwrapper_s60_p.h
|
|
80 |
|
|
81 |
SOURCES += \
|
|
82 |
../wrapper/src/wlanqtutilsconmonwrapperdisconnect_s60.cpp \
|
|
83 |
../wrapper/src/wlanqtutilsconmonwrapperinfo_s60.cpp \
|
|
84 |
../wrapper/src/wlanqtutilsconmonwrapperscan_s60.cpp \
|
|
85 |
../wrapper/src/wlanqtutilsconntestwrapper_s60.cpp \
|
|
86 |
../wrapper/src/wlanqtutilsesockwrapper_s60.cpp \
|
|
87 |
stubs/wlanqtutilsconnmonstub.cpp \
|
|
88 |
stubs/wlanqtutilsconnteststub.cpp \
|
|
89 |
stubs/wlanqtutilsesockstub.cpp
|
|
90 |
}
|
|
91 |
|
|
92 |
LIBS += -lconnmon -lconnection_settings_shim -lextendedconnpref -lnetmeta -lesock -lictsclientinterface
|
|
93 |
|
|
94 |
#UT flag is set, used in stub codes
|
|
95 |
DEFINES += WLANQTUTILS_T_WLANQTUTILS_UT_FLAG
|