summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/native_client_sdk_untrusted.gyp
blob: 2cd3dc50e3f3f13d13c2ed76b67344b4b380555f (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
44
# Copyright 2013 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.

{
  'includes': [
    '../build/common_untrusted.gypi',
  ],
  'conditions': [
    ['disable_nacl==0 and disable_nacl_untrusted==0', {
      'targets': [
        {
          'target_name': 'nacl_io_untrusted',
          'type': 'none',
          'variables': {
            'nacl_untrusted_build': 1,
            'nlib_target': 'libnacl_io.a',
            'build_newlib': 1,
            'build_pnacl_newlib': 1,
          },
          'include_dirs': [
            '../native_client/src/untrusted/irt',
            'src/libraries',
            'src/libraries/nacl_io/include',
            'src/libraries/third_party/newlib-extras',
          ],
          'direct_dependent_settings': {
            'include_dirs': [
              'src/libraries',
              'src/libraries/nacl_io/include',
              'src/libraries/third_party/newlib-extras',
            ],
          },
          'sources': [
            '>!@pymod_do_main(dsc_info -s -l src/libraries/nacl_io nacl_io)',
          ],
          'dependencies': [
            '../ppapi/native_client/native_client.gyp:ppapi_lib',
          ],
        },
      ],
    }],
  ],
}