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 '../../testing/gtest/include',
69 '../../third_party/webrtc',
72 'EXPAT_RELATIVE_PATH',
74 'GTEST_RELATIVE_PATH',
75 'NO_MAIN_THREAD_WRAPPING',
80 'USE_WEBRTC_DEV_BRANCH',
83 'export_dependent_settings': [
84 '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted',
86 }, # end of target 'libjingle_nacl'
89 'target_name': 'libjingle_p2p_constants_nacl',
92 'nlib_target': 'libjingle_p2p_constants_nacl.a',
95 'build_pnacl_newlib': 1,
100 # TODO(sergeyu): Fix libjingle to use NDEBUG instead of
101 # _DEBUG and remove this define. See below as well.
107 './<(libjingle_source)',
110 '<(libjingle_source)/talk/p2p/base/constants.cc',
111 '<(libjingle_source)/talk/p2p/base/constants.h',
113 }, # end of target 'libjingle_p2p_constants_nacl'