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/openssl/openssl_nacl.gyp:openssl_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 '../testing/gtest/include',
55 './<(libjingle_source)',
57 'includes': ['libjingle_common.gypi', ],
59 # Compiled as part of libjingle_p2p_constants_nacl.
60 '<(libjingle_source)/talk/p2p/base/constants.cc',
61 '<(libjingle_source)/talk/p2p/base/constants.h',
63 'direct_dependent_settings': {
66 './<(libjingle_source)',
67 '../../third_party/webrtc/overrides',
68 '../../testing/gtest/include',
70 '../../third_party/webrtc',
73 'EXPAT_RELATIVE_PATH',
75 'GTEST_RELATIVE_PATH',
76 'NO_MAIN_THREAD_WRAPPING',
81 'USE_WEBRTC_DEV_BRANCH',
84 'export_dependent_settings': [
85 '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted',
87 }, # end of target 'libjingle_nacl'
90 'target_name': 'libjingle_p2p_constants_nacl',
93 'nlib_target': 'libjingle_p2p_constants_nacl.a',
96 'build_pnacl_newlib': 1,
101 # TODO(sergeyu): Fix libjingle to use NDEBUG instead of
102 # _DEBUG and remove this define. See below as well.
108 './<(libjingle_source)',
111 '<(libjingle_source)/talk/p2p/base/constants.cc',
112 '<(libjingle_source)/talk/p2p/base/constants.h',
114 }, # end of target 'libjingle_p2p_constants_nacl'