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