Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 EXPORTS.snappy += [
8 'snappy-stubs-public.h',
9 'src/snappy-c.h',
10 'src/snappy.h',
11 ]
13 UNIFIED_SOURCES += [
14 'src/snappy-c.cc',
15 'src/snappy-sinksource.cc',
16 'src/snappy-stubs-internal.cc',
17 'src/snappy.cc',
18 ]
20 FINAL_LIBRARY = 'xul'
22 # Suppress warnings in third-party code.
23 if CONFIG['GNU_CXX']:
24 CXXFLAGS += [
25 '-Wno-sign-compare',
26 '-Wno-unused-function'
27 ]