2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:22 -08:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2013-12-12 06:41:05 -08:00
|
|
|
include('/build/gyp.mozbuild')
|
|
|
|
|
|
|
|
GYP_DIRS += ['trunk']
|
|
|
|
|
|
|
|
GYP_DIRS['trunk'].input = 'trunk/peerconnection.gyp'
|
|
|
|
GYP_DIRS['trunk'].variables = gyp_vars
|
2013-12-13 18:38:53 -08:00
|
|
|
GYP_DIRS['trunk'].sandbox_vars['FINAL_LIBRARY'] = 'webrtc'
|
2013-12-12 06:41:05 -08:00
|
|
|
|
|
|
|
if CONFIG['MOZ_WEBRTC_SIGNALING']:
|
|
|
|
GYP_DIRS += ['signaling']
|
|
|
|
GYP_DIRS['signaling'].input = 'signaling/signaling.gyp'
|
|
|
|
GYP_DIRS['signaling'].variables = gyp_vars.copy()
|
|
|
|
GYP_DIRS['signaling'].variables.update(
|
|
|
|
build_for_test=0
|
|
|
|
)
|
2013-12-13 18:38:53 -08:00
|
|
|
GYP_DIRS['signaling'].sandbox_vars['FINAL_LIBRARY'] = 'xul'
|
2013-02-25 12:47:22 -08:00
|
|
|
|
2013-03-19 13:02:44 -07:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk':
|
2013-12-12 06:41:05 -08:00
|
|
|
GYP_DIRS += ['trunk/testing']
|
|
|
|
GYP_DIRS['trunk/testing'].input = 'trunk/testing/gtest.gyp'
|
|
|
|
GYP_DIRS['trunk/testing'].variables = gyp_vars
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WEBRTC_SIGNALING']:
|
|
|
|
GYP_DIRS += ['signalingtest']
|
|
|
|
GYP_DIRS['signalingtest'].input = 'signaling/signaling.gyp'
|
|
|
|
GYP_DIRS['signalingtest'].variables = gyp_vars.copy()
|
|
|
|
GYP_DIRS['signalingtest'].variables.update(
|
|
|
|
build_for_test=1
|
|
|
|
)
|