media/mtransport/third_party/moz.build

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

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.

michael@0 1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
michael@0 2 # vim: set filetype=python:
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6
michael@0 7 include('/build/gyp.mozbuild')
michael@0 8
michael@0 9 GYP_DIRS += [
michael@0 10 'nICEr',
michael@0 11 'nrappkit',
michael@0 12 ]
michael@0 13
michael@0 14 # These files cannot be built in unified mode because of name clashes on RCSSTRING
michael@0 15 nICEr_non_unified_sources = [
michael@0 16 'nICEr/src/crypto/nr_crypto.c',
michael@0 17 'nICEr/src/ice/ice_candidate.c',
michael@0 18 'nICEr/src/ice/ice_candidate_pair.c',
michael@0 19 'nICEr/src/ice/ice_component.c',
michael@0 20 'nICEr/src/ice/ice_ctx.c',
michael@0 21 'nICEr/src/ice/ice_media_stream.c',
michael@0 22 'nICEr/src/ice/ice_parser.c',
michael@0 23 'nICEr/src/ice/ice_peer_ctx.c',
michael@0 24 'nICEr/src/ice/ice_socket.c',
michael@0 25 'nICEr/src/net/nr_socket.c',
michael@0 26 'nICEr/src/net/transport_addr.c',
michael@0 27 'nICEr/src/net/transport_addr_reg.c',
michael@0 28 'nICEr/src/stun/addrs.c',
michael@0 29 'nICEr/src/stun/nr_socket_turn.c',
michael@0 30 'nICEr/src/stun/stun_build.c',
michael@0 31 'nICEr/src/stun/stun_client_ctx.c',
michael@0 32 'nICEr/src/stun/stun_codec.c',
michael@0 33 'nICEr/src/stun/stun_hint.c',
michael@0 34 'nICEr/src/stun/stun_msg.c',
michael@0 35 'nICEr/src/stun/stun_proc.c',
michael@0 36 'nICEr/src/stun/stun_server_ctx.c',
michael@0 37 'nICEr/src/stun/stun_util.c',
michael@0 38 'nICEr/src/stun/turn_client_ctx.c',
michael@0 39 'nICEr/src/util/cb_args.c',
michael@0 40 'nICEr/src/util/ice_util.c',
michael@0 41 ]
michael@0 42
michael@0 43 # This file cannot be built in unified mode because it breaks Linux ASAN builds
michael@0 44 nICEr_non_unified_sources += [
michael@0 45 'nICEr/src/util/mbslen.c',
michael@0 46 ]
michael@0 47 nrappkit_non_unified_sources = [
michael@0 48 'nrappkit/src/log/r_log.c',
michael@0 49 'nrappkit/src/util/byteorder.c',
michael@0 50 'nrappkit/src/util/hex.c',
michael@0 51 'nrappkit/src/util/libekr/debug.c',
michael@0 52 'nrappkit/src/util/libekr/r_assoc.c',
michael@0 53 'nrappkit/src/util/libekr/r_bitfield.c',
michael@0 54 'nrappkit/src/util/libekr/r_crc32.c',
michael@0 55 'nrappkit/src/util/libekr/r_data.c',
michael@0 56 'nrappkit/src/util/libekr/r_errors.c',
michael@0 57 'nrappkit/src/util/libekr/r_list.c',
michael@0 58 'nrappkit/src/util/libekr/r_memory.c',
michael@0 59 'nrappkit/src/util/libekr/r_replace.c',
michael@0 60 'nrappkit/src/util/libekr/r_time.c',
michael@0 61 'nrappkit/src/util/p_buf.c',
michael@0 62 'nrappkit/src/util/util.c',
michael@0 63 ]
michael@0 64
michael@0 65 GYP_DIRS['nICEr'].input = 'nICEr/nicer.gyp'
michael@0 66 GYP_DIRS['nICEr'].variables = gyp_vars
michael@0 67 GYP_DIRS['nICEr'].sandbox_vars['FINAL_LIBRARY'] = 'webrtc'
michael@0 68 GYP_DIRS['nICEr'].non_unified_sources += nICEr_non_unified_sources
michael@0 69
michael@0 70 GYP_DIRS['nrappkit'].input = 'nrappkit/nrappkit.gyp'
michael@0 71 GYP_DIRS['nrappkit'].variables = gyp_vars
michael@0 72 GYP_DIRS['nrappkit'].sandbox_vars['FINAL_LIBRARY'] = 'webrtc'
michael@0 73 GYP_DIRS['nrappkit'].non_unified_sources += nrappkit_non_unified_sources

mercurial