mfbt/double-conversion/update.sh

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rwxr-xr-x

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 # Usage: ./update.sh <double-conversion-src-directory>
     2 #
     3 # Copies the needed files from a directory containing the original
     4 # double-conversion source that we need.
     6 # This was last updated with git rev 04cae7a8d5ef3d62ceffb03cdc3d38f258457a52.
     8 set -e
    10 cp $1/LICENSE ./
    11 cp $1/README ./
    13 # Includes
    14 cp $1/src/*.h ./
    16 # Source
    17 cp $1/src/*.cc ./
    19 patch -p3 < add-mfbt-api-markers.patch
    20 patch -p3 < use-StandardInteger.patch
    21 patch -p3 < use-mozilla-assertions.patch
    22 patch -p3 < use-static_assert.patch
    23 patch -p3 < ToPrecision-exponential.patch
    24 patch -p3 < fix-gcc-warnings.patch
    26 # Merged upstream, part of 2.0.1 version
    27 patch -p3 < fix-aarch64-macro.patch

mercurial