1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/mtransport/third_party/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,73 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +include('/build/gyp.mozbuild') 1.11 + 1.12 +GYP_DIRS += [ 1.13 + 'nICEr', 1.14 + 'nrappkit', 1.15 +] 1.16 + 1.17 +# These files cannot be built in unified mode because of name clashes on RCSSTRING 1.18 +nICEr_non_unified_sources = [ 1.19 + 'nICEr/src/crypto/nr_crypto.c', 1.20 + 'nICEr/src/ice/ice_candidate.c', 1.21 + 'nICEr/src/ice/ice_candidate_pair.c', 1.22 + 'nICEr/src/ice/ice_component.c', 1.23 + 'nICEr/src/ice/ice_ctx.c', 1.24 + 'nICEr/src/ice/ice_media_stream.c', 1.25 + 'nICEr/src/ice/ice_parser.c', 1.26 + 'nICEr/src/ice/ice_peer_ctx.c', 1.27 + 'nICEr/src/ice/ice_socket.c', 1.28 + 'nICEr/src/net/nr_socket.c', 1.29 + 'nICEr/src/net/transport_addr.c', 1.30 + 'nICEr/src/net/transport_addr_reg.c', 1.31 + 'nICEr/src/stun/addrs.c', 1.32 + 'nICEr/src/stun/nr_socket_turn.c', 1.33 + 'nICEr/src/stun/stun_build.c', 1.34 + 'nICEr/src/stun/stun_client_ctx.c', 1.35 + 'nICEr/src/stun/stun_codec.c', 1.36 + 'nICEr/src/stun/stun_hint.c', 1.37 + 'nICEr/src/stun/stun_msg.c', 1.38 + 'nICEr/src/stun/stun_proc.c', 1.39 + 'nICEr/src/stun/stun_server_ctx.c', 1.40 + 'nICEr/src/stun/stun_util.c', 1.41 + 'nICEr/src/stun/turn_client_ctx.c', 1.42 + 'nICEr/src/util/cb_args.c', 1.43 + 'nICEr/src/util/ice_util.c', 1.44 +] 1.45 + 1.46 +# This file cannot be built in unified mode because it breaks Linux ASAN builds 1.47 +nICEr_non_unified_sources += [ 1.48 + 'nICEr/src/util/mbslen.c', 1.49 +] 1.50 +nrappkit_non_unified_sources = [ 1.51 + 'nrappkit/src/log/r_log.c', 1.52 + 'nrappkit/src/util/byteorder.c', 1.53 + 'nrappkit/src/util/hex.c', 1.54 + 'nrappkit/src/util/libekr/debug.c', 1.55 + 'nrappkit/src/util/libekr/r_assoc.c', 1.56 + 'nrappkit/src/util/libekr/r_bitfield.c', 1.57 + 'nrappkit/src/util/libekr/r_crc32.c', 1.58 + 'nrappkit/src/util/libekr/r_data.c', 1.59 + 'nrappkit/src/util/libekr/r_errors.c', 1.60 + 'nrappkit/src/util/libekr/r_list.c', 1.61 + 'nrappkit/src/util/libekr/r_memory.c', 1.62 + 'nrappkit/src/util/libekr/r_replace.c', 1.63 + 'nrappkit/src/util/libekr/r_time.c', 1.64 + 'nrappkit/src/util/p_buf.c', 1.65 + 'nrappkit/src/util/util.c', 1.66 +] 1.67 + 1.68 +GYP_DIRS['nICEr'].input = 'nICEr/nicer.gyp' 1.69 +GYP_DIRS['nICEr'].variables = gyp_vars 1.70 +GYP_DIRS['nICEr'].sandbox_vars['FINAL_LIBRARY'] = 'webrtc' 1.71 +GYP_DIRS['nICEr'].non_unified_sources += nICEr_non_unified_sources 1.72 + 1.73 +GYP_DIRS['nrappkit'].input = 'nrappkit/nrappkit.gyp' 1.74 +GYP_DIRS['nrappkit'].variables = gyp_vars 1.75 +GYP_DIRS['nrappkit'].sandbox_vars['FINAL_LIBRARY'] = 'webrtc' 1.76 +GYP_DIRS['nrappkit'].non_unified_sources += nrappkit_non_unified_sources