browserui.pri
author hgs
Fri, 15 Oct 2010 17:30:59 -0400
changeset 16 3c88a81ff781
parent 14 6aeb7a756187
permissions -rw-r--r--
201041
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     1
#
3
hgs
parents: 0
diff changeset
     2
# Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). 
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     3
# All rights reserved.
3
hgs
parents: 0
diff changeset
     4
#
hgs
parents: 0
diff changeset
     5
# This program is free software: you can redistribute it and/or modify
hgs
parents: 0
diff changeset
     6
# it under the terms of the GNU Lesser General Public License as published by
hgs
parents: 0
diff changeset
     7
# the Free Software Foundation, version 2.1 of the License.
hgs
parents: 0
diff changeset
     8
# 
hgs
parents: 0
diff changeset
     9
# This program is distributed in the hope that it will be useful,
hgs
parents: 0
diff changeset
    10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
hgs
parents: 0
diff changeset
    11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
hgs
parents: 0
diff changeset
    12
# GNU Lesser General Public License for more details.
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    13
#
3
hgs
parents: 0
diff changeset
    14
# You should have received a copy of the GNU Lesser General Public License
hgs
parents: 0
diff changeset
    15
# along with this program.  If not, 
hgs
parents: 0
diff changeset
    16
# see "http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html/".
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    17
#
3
hgs
parents: 0
diff changeset
    18
# Description:
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    19
#
3
hgs
parents: 0
diff changeset
    20
#   BrowserUi - common settings - browserui.pri
hgs
parents: 0
diff changeset
    21
#
hgs
parents: 0
diff changeset
    22
#   any edits made here that are common to app and mw should also be made 
hgs
parents: 0
diff changeset
    23
#   in the mw\browser\browser.pri file
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    24
#
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    25
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    26
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    27
isEmpty(_BROWSERUI_PRI_INCLUDED_): {
3
hgs
parents: 0
diff changeset
    28
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    29
    _BROWSERUI_PRI_INCLUDED_=1
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    30
16
hgs
parents: 14
diff changeset
    31
    # ;;; Temporary
hgs
parents: 14
diff changeset
    32
    maemo {
hgs
parents: 14
diff changeset
    33
        DEFINES += Q_WS_MAEMO_5
hgs
parents: 14
diff changeset
    34
    }
hgs
parents: 14
diff changeset
    35
    
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    36
    symbian {
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    37
        CONFIG += debug_and_release
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    38
        MMP_RULES += EXPORTUNFROZEN
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    39
    }
3
hgs
parents: 0
diff changeset
    40
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    41
    CONFIG(debug, debug|release) {
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    42
        SUBDIRPART = Debug
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    43
    } else {
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    44
        SUBDIRPART = Release
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    45
    }
3
hgs
parents: 0
diff changeset
    46
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    47
    # Figure out the root of where stuff should go (this could be done via configure)
3
hgs
parents: 0
diff changeset
    48
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    49
    symbian {
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    50
        OUTPUT_DIR = $$PWD
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    51
    } else {
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    52
        OUTPUT_DIR = $$PWD/../../..
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    53
    }    
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    54
    OBJECTS_DIR = $$OUTPUT_DIR/WrtBuild/$$SUBDIRPART/$$TARGET/tmp
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    55
    MOC_DIR = $$OUTPUT_DIR/WrtBuild/$$SUBDIRPART/$$TARGET/tmp
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    56
    RCC_DIR = $$OUTPUT_DIR/WrtBuild/$$SUBDIRPART/$$TARGET/tmp
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    57
    UI_DIR = $$OUTPUT_DIR/WrtBuild/$$SUBDIRPART/$$TARGET/tmp
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    58
    TEMPDIR= $$OUTPUT_DIR/WrtBuild/$$SUBDIRPART/$$TARGET/build
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    59
    DESTDIR = $$OUTPUT_DIR/WrtBuild/$$SUBDIRPART/bin
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    60
    QMAKE_RPATHDIR = $$DESTDIR $$QMAKE_RPATHDIR
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    61
    QMAKE_LIBDIR = $$DESTDIR $$QMAKE_LIBDIR
3
hgs
parents: 0
diff changeset
    62
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    63
    # Add the output dirs to the link path too
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    64
    LIBS += -L$$DESTDIR
3
hgs
parents: 0
diff changeset
    65
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    66
    DEPENDPATH += .
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    67
    INCLUDEPATH += .
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    68
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    69
    QMAKE_CXXFLAGS_DEBUG += -g
3
hgs
parents: 0
diff changeset
    70
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    71
    CONFIG(gcov)   {
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    72
       LIBS +=   -lgcov
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    73
       QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    74
    }
3
hgs
parents: 0
diff changeset
    75
    #########################
hgs
parents: 0
diff changeset
    76
    # Feature Flags     
hgs
parents: 0
diff changeset
    77
    #########################
hgs
parents: 0
diff changeset
    78
    br_mobility_bearer=no
hgs
parents: 0
diff changeset
    79
    br_mobility_sysinfo=no
12
hgs
parents: 9
diff changeset
    80
    br_mobility_serviceframework=no
3
hgs
parents: 0
diff changeset
    81
    br_fast_allocator=no
hgs
parents: 0
diff changeset
    82
    br_default_iap=no
hgs
parents: 0
diff changeset
    83
    br_orbit_ui=no
hgs
parents: 0
diff changeset
    84
    br_openurl=no
9
hgs
parents: 3
diff changeset
    85
    br_qthighway=no
16
hgs
parents: 14
diff changeset
    86
    br_tiled_backing_store=yes
hgs
parents: 14
diff changeset
    87
    br_geolocation=no
hgs
parents: 14
diff changeset
    88
    # Use browser localization file.
hgs
parents: 14
diff changeset
    89
    br_platform_localization=no
hgs
parents: 14
diff changeset
    90
12
hgs
parents: 9
diff changeset
    91
    br_layout=default
3
hgs
parents: 0
diff changeset
    92
    
hgs
parents: 0
diff changeset
    93
    # For now Symbian only, Windows, Maemo will use the defaults    
hgs
parents: 0
diff changeset
    94
    symbian {
hgs
parents: 0
diff changeset
    95
       contains (browser_addon, fivezero) {
hgs
parents: 0
diff changeset
    96
          br_fast_allocator=yes
hgs
parents: 0
diff changeset
    97
          br_mobility_sysinfo=yes
hgs
parents: 0
diff changeset
    98
          br_mobility_bearer=yes
hgs
parents: 0
diff changeset
    99
       }
hgs
parents: 0
diff changeset
   100
       contains (browser_addon, ninetwo) {
hgs
parents: 0
diff changeset
   101
          br_fast_allocator=yes
16
hgs
parents: 14
diff changeset
   102
          br_mobility_sysinfo=no
hgs
parents: 14
diff changeset
   103
          br_mobility_bearer=no
3
hgs
parents: 0
diff changeset
   104
       }
hgs
parents: 0
diff changeset
   105
       isEmpty (browser_addon){
hgs
parents: 0
diff changeset
   106
          browser_addon=no
hgs
parents: 0
diff changeset
   107
          br_mobility_sysinfo=yes
hgs
parents: 0
diff changeset
   108
          br_mobility_bearer=yes
12
hgs
parents: 9
diff changeset
   109
          br_mobility_serviceframework=yes
3
hgs
parents: 0
diff changeset
   110
          br_orbit_ui=yes
hgs
parents: 0
diff changeset
   111
          br_openurl=yes
9
hgs
parents: 3
diff changeset
   112
          br_qthighway=yes
16
hgs
parents: 14
diff changeset
   113
          br_geolocation=no
12
hgs
parents: 9
diff changeset
   114
          br_layout=tenone
16
hgs
parents: 14
diff changeset
   115
          # Use platform localization file.
hgs
parents: 14
diff changeset
   116
          br_platform_localization=yes
3
hgs
parents: 0
diff changeset
   117
       }
hgs
parents: 0
diff changeset
   118
    }
16
hgs
parents: 14
diff changeset
   119
    maemo {
hgs
parents: 14
diff changeset
   120
    	 br_layout=maemolayout
hgs
parents: 14
diff changeset
   121
    }
0
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   122
}
1450b09d0cfd Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   123