diff -r 000000000000 -r 6474c204b198 media/webrtc/trunk/build/linux/system.gyp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media/webrtc/trunk/build/linux/system.gyp Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,637 @@ +# Copyright (c) 2012 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'variables': { + 'conditions': [ + ['sysroot!=""', { + 'pkg-config': './pkg-config-wrapper "<(sysroot)" "<(target_arch)"', + }, { + 'pkg-config': 'pkg-config' + }] + ], + }, + 'conditions': [ + [ 'os_posix==1 and OS!="mac"', { + 'variables': { + # We use our own copy of libssl3, although we still need to link against + # the rest of NSS. + 'use_system_ssl%': 0, + }, + }, { + 'variables': { + 'use_system_ssl%': 1, + }, + }], + [ 'chromeos==0', { + # Hide GTK and related dependencies for Chrome OS, so they won't get + # added back to Chrome OS. Don't try to use GTK on Chrome OS. + 'targets': [ + { + 'target_name': 'gtk', + 'type': 'none', + 'toolsets': ['host', 'target'], + 'variables': { + # gtk requires gmodule, but it does not list it as a dependency + # in some misconfigured systems. + 'gtk_packages': 'gmodule-2.0 gtk+-2.0 gthread-2.0', + }, + 'conditions': [ + ['_toolset=="target"', { + 'direct_dependent_settings': { + 'cflags': [ + '= <(ibus_min_version)")', + ], + }, + 'link_settings': { + 'ldflags': [ + '= <(ibus_min_version)")', + ], + 'libraries': [ + '= <(ibus_min_version)")', + ], + }, + }], + ], + }, + { + 'target_name': 'udev', + 'type': 'none', + 'conditions': [ + # libudev is not available on *BSD + ['_toolset=="target" and os_bsd!=1', { + 'direct_dependent_settings': { + 'cflags': [ + '