|
1 # |
|
2 # Copyright (c) 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 # |
|
16 |
|
17 # Build using default nestwork access mgr |
|
18 #DEFINES+=NO_NETWORK_ACCESS_MANAGER |
|
19 |
|
20 # Build without page resizing on load |
|
21 #DEFINES+=NO_RESIZE_ON_LOAD |
|
22 |
|
23 # Build without gestures |
|
24 DEFINES += NO_QSTM_GESTURE |
|
25 |
|
26 # Build without chrome |
|
27 #DEFINES += __gva_no_chrome__ |
|
28 |
|
29 # Enable setting Default IAP |
|
30 symbian: { |
|
31 !contains(what, plat_101) { |
|
32 # Enable setting Default IAP |
|
33 DEFINES += SET_DEFAULT_IAP |
|
34 } |
|
35 } |
|
36 |
|
37 # Enable perfTracer |
|
38 #DEFINES += ENABLE_PERF_TRACE |
|
39 |
|
40 isEmpty(_BROWSERUI_PRI_INCLUDED_): { |
|
41 |
|
42 _BROWSERUI_PRI_INCLUDED_=1 |
|
43 |
|
44 symbian { |
|
45 CONFIG += debug_and_release |
|
46 MMP_RULES += EXPORTUNFROZEN |
|
47 } |
|
48 |
|
49 CONFIG(debug, debug|release) { |
|
50 SUBDIRPART = Debug |
|
51 } else { |
|
52 SUBDIRPART = Release |
|
53 } |
|
54 |
|
55 # Figure out the root of where stuff should go (this could be done via configure) |
|
56 |
|
57 symbian { |
|
58 OUTPUT_DIR = $$PWD |
|
59 } else { |
|
60 OUTPUT_DIR = $$PWD/../../.. |
|
61 } |
|
62 OBJECTS_DIR = $$OUTPUT_DIR/WrtBuild/$$SUBDIRPART/$$TARGET/tmp |
|
63 MOC_DIR = $$OUTPUT_DIR/WrtBuild/$$SUBDIRPART/$$TARGET/tmp |
|
64 RCC_DIR = $$OUTPUT_DIR/WrtBuild/$$SUBDIRPART/$$TARGET/tmp |
|
65 UI_DIR = $$OUTPUT_DIR/WrtBuild/$$SUBDIRPART/$$TARGET/tmp |
|
66 TEMPDIR= $$OUTPUT_DIR/WrtBuild/$$SUBDIRPART/$$TARGET/build |
|
67 DESTDIR = $$OUTPUT_DIR/WrtBuild/$$SUBDIRPART/bin |
|
68 QMAKE_RPATHDIR = $$DESTDIR $$QMAKE_RPATHDIR |
|
69 QMAKE_LIBDIR = $$DESTDIR $$QMAKE_LIBDIR |
|
70 |
|
71 # Add the output dirs to the link path too |
|
72 LIBS += -L$$DESTDIR |
|
73 |
|
74 DEPENDPATH += . |
|
75 INCLUDEPATH += . |
|
76 |
|
77 QMAKE_CXXFLAGS_DEBUG += -g |
|
78 |
|
79 CONFIG(gcov) { |
|
80 LIBS += -lgcov |
|
81 QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage |
|
82 } |
|
83 } |
|
84 |