1 # |
1 # |
2 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
2 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
3 # All rights reserved. |
3 # All rights reserved. |
4 # This component and the accompanying materials are made available |
4 # |
5 # under the terms of "Eclipse Public License v1.0" |
5 # This program is free software: you can redistribute it and/or modify |
6 # which accompanies this distribution, and is available |
6 # it under the terms of the GNU Lesser General Public License as published by |
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 # the Free Software Foundation, version 2.1 of the License. |
8 # |
8 # |
9 # Initial Contributors: |
9 # This program is distributed in the hope that it will be useful, |
10 # Nokia Corporation - initial contribution. |
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 # |
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 # Contributors: |
12 # GNU Lesser General Public License for more details. |
13 # |
13 # |
14 # Description: |
14 # You should have received a copy of the GNU Lesser General Public License |
|
15 # along with this program. If not, |
|
16 # see "http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html/". |
|
17 # |
|
18 # Description: |
15 # |
19 # |
16 |
20 |
17 |
21 |
18 QT += webkit |
22 QT += webkit |
19 |
23 |
28 |
32 |
29 # establish relative root dir |
33 # establish relative root dir |
30 ROOT_DIR = $$PWD/../.. |
34 ROOT_DIR = $$PWD/../.. |
31 |
35 |
32 QT += webkit |
36 QT += webkit |
|
37 include($$ROOT_DIR/flags.pri) |
33 include($$ROOT_DIR/browserui.pri) |
38 include($$ROOT_DIR/browserui.pri) |
|
39 |
|
40 contains(DEFINES, ENABLE_PERF_TRACE) { |
|
41 message("core.pro: Tracing is ON") |
|
42 LIBS += -lbrperftrace |
|
43 INCLUDEPATH += $$ROOT_DIR/internal/tests/perfTracing |
|
44 } |
34 |
45 |
35 isEmpty(WRT_OUTPUT_DIR) { |
46 isEmpty(WRT_OUTPUT_DIR) { |
36 symbian { |
47 symbian { |
37 CONFIG(release, debug|release):WRT_OUTPUT_DIR=$$PWD/../../WrtBuild/Release |
48 CONFIG(release, debug|release):WRT_OUTPUT_DIR=$$PWD/../../WrtBuild/Release |
38 CONFIG(debug, debug|release):WRT_OUTPUT_DIR=$$PWD/../../WrtBuild/Debug |
49 CONFIG(debug, debug|release):WRT_OUTPUT_DIR=$$PWD/../../WrtBuild/Debug |
54 } else { |
65 } else { |
55 DEFINES += SYMBIAN_PUB_SDK |
66 DEFINES += SYMBIAN_PUB_SDK |
56 } |
67 } |
57 #LIBS += -llibpthread -letel -lsysutil -lWrtTelService -lsendui -letext -lcommonengine -lcone -lefsrv |
68 #LIBS += -llibpthread -letel -lsysutil -lWrtTelService -lsendui -letext -lcommonengine -lcone -lefsrv |
58 LIBS += -llibpthread -letel -lsysutil -lsendui -letext -lcommonengine -lcommonui -lcone -lefsrv -lServiceHandler -lapmime -lapparc |
69 LIBS += -llibpthread -letel -lsysutil -lsendui -letext -lcommonengine -lcommonui -lcone -lefsrv -lServiceHandler -lapmime -lapparc |
59 |
70 |
60 isEmpty(SYMBIAN_PUB_SDK) { |
71 isEmpty(SYMBIAN_PUB_SDK) { |
61 LIBS += \ |
72 LIBS += \ |
62 -laiwdialdata |
73 -laiwdialdata |
63 } |
74 } |
64 |
75 |
65 AIWResource = \ |
76 AIWResource = \ |
66 "START RESOURCE WrtTelService.rss" \ |
77 "START RESOURCE WrtTelService.rss" \ |
67 "HEADER" \ |
78 "HEADER" \ |
68 "TARGETPATH resource/apps" \ |
79 "TARGETPATH resource/apps" \ |
69 "END" |
80 "END" |
|
81 |
70 MMP_RULES += AIWResource |
82 MMP_RULES += AIWResource |
71 |
83 |
72 |
84 |
73 browsercorelibs.sources = browsercore.dll |
85 browsercorelibs.sources = BrowserCore.dll |
74 |
86 |
75 browsercorelibs.path = /sys/bin |
87 browsercorelibs.path = /sys/bin |
76 |
88 |
77 #browsercoreresources.sources = /epoc32/data/z/resource/apps/WrtTelService.rsc |
89 #browsercoreresources.sources = /epoc32/data/z/resource/apps/WrtTelService.rsc |
78 #browsercoreresources.path = /resource/apps |
90 #browsercoreresources.path = /resource/apps |
108 |
124 |
109 CONFIG(release, debug|release):!CONFIG(QTDIR_build){ |
125 CONFIG(release, debug|release):!CONFIG(QTDIR_build){ |
110 contains(QT_CONFIG, reduce_exports): CONFIG += hide_symbols |
126 contains(QT_CONFIG, reduce_exports): CONFIG += hide_symbols |
111 unix : contains(QT_CONFIG, reduce_relocations): CONFIG += bsymbolic_functions |
127 unix : contains(QT_CONFIG, reduce_relocations): CONFIG += bsymbolic_functions |
112 } |
128 } |
|
129 |
|
130 contains(br_tiled_backing_store, yes) { |
|
131 DEFINES += BEDROCK_TILED_BACKING_STORE |
|
132 } |
|
133 |
113 |
134 |
114 CONFIG -= warn_on |
135 CONFIG -= warn_on |
115 *-g++* : QMAKE_CXXFLAGS += -Wreturn-type -fno-strict-aliasing |
136 *-g++* : QMAKE_CXXFLAGS += -Wreturn-type -fno-strict-aliasing |
116 |
137 |
117 CONFIG(gcov) { |
138 CONFIG(gcov) { |
134 DEFINES += _WCHAR_T_DECLARED |
155 DEFINES += _WCHAR_T_DECLARED |
135 QMAKE_CXXFLAGS.CW = -O1 -wchar_t on |
156 QMAKE_CXXFLAGS.CW = -O1 -wchar_t on |
136 TARGET.CAPABILITY = All -TCB -DRM -AllFiles |
157 TARGET.CAPABILITY = All -TCB -DRM -AllFiles |
137 TARGET.UID3 = 0x200267BB |
158 TARGET.UID3 = 0x200267BB |
138 TARGET.VID = VID_DEFAULT |
159 TARGET.VID = VID_DEFAULT |
|
160 MMP_RULES += EXPORTUNFROZEN |
139 } |
161 } |
140 |
162 |
141 |
163 |
142 # Import pre-built binary components. |
164 # Import pre-built binary components. |
143 include($$PWD/../../../../../import/import.pri) |
165 symbian: { |
|
166 contains (br_download_mgr, yes) { |
|
167 DEFINES += USE_DOWNLOAD_MANAGER=1 |
|
168 INCLUDEPATH += /epoc32/include/applications |
|
169 LIBS += -lBrServiceIPCClient |
|
170 LIBS += -lBrDownloadMgr |
|
171 } |
|
172 } else { |
|
173 include($$PWD/../../../../../import/import.pri) |
|
174 } |
144 |
175 |
145 |
176 |
146 # |
177 # |
147 # SOURCE and HEADER lists |
178 # SOURCE and HEADER lists |
148 # |
179 # |
149 |
180 |
150 include(core.pri) |
181 include(core.pri) |
151 include($$PWD/../appfw/appfw-includepath.pri) |
182 include($$PWD/../appfw/appfw-includepath.pri) |
152 |
183 |
153 # TEMP until appfw is its own dll |
184 # TEMP until appfw is its own dll |
154 DEFINES += BUILDING_BWF_CORE |
185 # DEFINES += BUILDING_BWF_CORE |
155 include(../appfw/appfw.pri) |
186 include(../appfw/appfw.pri) |
156 |
187 |
157 QT += network |
188 QT += network |
158 QT += webkit |
189 QT += webkit |
159 |
190 |