summaryrefslogtreecommitdiffstats
path: root/jingle/jingle_nacl.gyp
blob: d622fbed50216ef0d5b9756b27c32cd63a24490f (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
43
# 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',
        '../native_client/tools.gyp:prep_toolchain',
        '../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',
      ],
    }
  ]
}