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.
4
5{
6  'variables': {
7    'chromium_code': 1,
8  },
9  'includes': [
10    '../native_client/build/untrusted.gypi',
11    'jingle.gypi',
12  ],
13  'targets': [
14    {
15      'target_name': 'jingle_glue_nacl',
16      'type': 'none',
17      'variables': {
18        'nacl_untrusted_build': 1,
19        'nlib_target': 'libjingle_glue_nacl.a',
20        'build_glibc': 0,
21        'build_newlib': 0,
22        'build_pnacl_newlib': 1,
23      },
24      'sources': [
25        '<@(jingle_glue_sources)',
26      ],
27      'sources!': [
28        'glue/chrome_async_socket.cc',
29        'glue/proxy_resolving_client_socket.cc',
30        'glue/xmpp_client_socket_factory.cc',
31      ],
32      'dependencies': [
33        '../base/base_nacl.gyp:base_nacl',
34        '../native_client/tools.gyp:prep_toolchain',
35        '../net/net_nacl.gyp:net_nacl',
36        '../third_party/libjingle/libjingle_nacl.gyp:libjingle_nacl',
37      ],
38      'export_dependent_settings': [
39        '../third_party/libjingle/libjingle_nacl.gyp:libjingle_nacl',
40      ],
41    }
42  ]
43}
44