1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
7 'libjingle_source': "source",
10 '../../native_client/build/untrusted.gypi',
14 'target_name': 'libjingle_nacl',
17 'nlib_target': 'libjingle_nacl.a',
18 'nacl_untrusted_build': 1,
21 'build_pnacl_newlib': 1,
25 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
26 '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted',
27 '<(DEPTH)/third_party/expat/expat_nacl.gyp:expat_nacl',
28 '<(DEPTH)/third_party/boringssl/boringssl_nacl.gyp:boringssl_nacl',
29 'libjingle_p2p_constants_nacl',
32 'EXPAT_RELATIVE_PATH',
34 'GTEST_RELATIVE_PATH',
36 'NO_MAIN_THREAD_WRAPPING',
41 'USE_WEBRTC_DEV_BRANCH',
47 # TODO(sergeyu): Fix libjingle to use NDEBUG instead of
48 # _DEBUG and remove this define. See below as well.
54 './<(libjingle_source)',
56 'includes': ['libjingle_common.gypi', ],
58 # Compiled as part of libjingle_p2p_constants_nacl.
59 '<(libjingle_source)/talk/p2p/base/constants.cc',
60 '<(libjingle_source)/talk/p2p/base/constants.h',
62 'direct_dependent_settings': {
65 './<(libjingle_source)',
66 '../../third_party/webrtc/overrides',
68 '../../third_party/webrtc',
71 'EXPAT_RELATIVE_PATH',
73 'GTEST_RELATIVE_PATH',
74 'NO_MAIN_THREAD_WRAPPING',
79 'USE_WEBRTC_DEV_BRANCH',
82 'export_dependent_settings': [
83 '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted',
85 }, # end of target 'libjingle_nacl'
88 'target_name': 'libjingle_p2p_constants_nacl',
91 'nlib_target': 'libjingle_p2p_constants_nacl.a',
94 'build_pnacl_newlib': 1,
99 # TODO(sergeyu): Fix libjingle to use NDEBUG instead of
100 # _DEBUG and remove this define. See below as well.
106 './<(libjingle_source)',
109 '<(libjingle_source)/talk/p2p/base/constants.cc',
110 '<(libjingle_source)/talk/p2p/base/constants.h',
112 }, # end of target 'libjingle_p2p_constants_nacl'