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 += [
8 'mozpngconf.h',
9 'png.h',
10 'pngconf.h'
11 ]
13 UNIFIED_SOURCES += [
14 'png.c',
15 'pngerror.c',
16 'pngget.c',
17 'pngmem.c',
18 'pngpread.c',
19 'pngread.c',
20 'pngrio.c',
21 'pngrtran.c',
22 'pngrutil.c',
23 'pngset.c',
24 'pngtrans.c',
25 'pngwio.c',
26 'pngwrite.c',
27 'pngwutil.c'
28 ]
30 if CONFIG['MOZ_PNG_ARM_NEON']:
31 DEFINES['MOZ_PNG_HAVE_ARM_NEON'] = True
32 UNIFIED_SOURCES += [
33 'arm/arm_init.c',
34 'arm/filter_neon_intrinsics.c'
35 ]
37 SOURCES += [
38 'arm/filter_neon.S'
39 ]
41 LIBRARY_NAME = 'mozpng'
43 MSVC_ENABLE_PGO = True
45 if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
46 NO_VISIBILITY_FLAGS = True
48 FINAL_LIBRARY = 'gkmedias'