build/macosx/mozconfig.common

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 # This Source Code Form is subject to the terms of the Mozilla Public
     2 # License, v. 2.0. If a copy of the MPL was not distributed with this
     3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     5 MOZ_AUTOMATION_L10N_CHECK=0
     7 if [ "x$IS_NIGHTLY" = "xyes" ]; then
     8   MOZ_AUTOMATION_UPLOAD_SYMBOLS=1
     9   MOZ_AUTOMATION_UPDATE_PACKAGING=1
    10 fi
    11 . "$topsrcdir/build/mozconfig.common"
    13 if [ -d "$topsrcdir/clang" ]; then
    14     # mozilla-central based build
    15     export CC=$topsrcdir/clang/bin/clang
    16     export CXX=$topsrcdir/clang/bin/clang++
    17 elif [ -d "$topsrcdir/../clang" ]; then
    18     # comm-central based build
    19     export CC=$topsrcdir/../clang/bin/clang
    20     export CXX=$topsrcdir/../clang/bin/clang++
    21 fi
    23 # If not set use the system default clang
    24 if [ -z "$CC" ]; then
    25     export CC=clang
    26 fi
    28 # If not set use the system default clang++
    29 if [ -z "$CXX" ]; then
    30     export CXX=clang++
    31 fi
    33 ac_add_options --with-ccache

mercurial