Port Android relocation packer to chromium build
[chromium-blink-merge.git] / native_client_sdk / native_client_sdk_untrusted.gyp
blob140664f50a792d2a9b3cbb45006dad0ea81c8dce
1 # Copyright 2013 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.
6   'includes': [
7     '../build/common_untrusted.gypi',
8   ],
9   'conditions': [
10     ['disable_nacl==0 and disable_nacl_untrusted==0', {
11       'targets': [
12         {
13           'target_name': 'nacl_io_untrusted',
14           'type': 'none',
15           'variables': {
16             'nacl_untrusted_build': 1,
17             'nlib_target': 'libnacl_io.a',
18             'build_newlib': 1,
19             'build_pnacl_newlib': 1,
20           },
21           'include_dirs': [
22             '../native_client/src/untrusted/irt',
23             'src/libraries',
24             'src/libraries/nacl_io/include',
25             'src/libraries/third_party/newlib-extras',
26           ],
27           'direct_dependent_settings': {
28             'include_dirs': [
29               'src/libraries',
30               'src/libraries/nacl_io/include',
31               'src/libraries/third_party/newlib-extras',
32             ],
33           },
34           'sources': [
35             '>!@pymod_do_main(dsc_info -s -l src/libraries/nacl_io nacl_io)',
36           ],
37           'dependencies': [
38             '../native_client/tools.gyp:prep_toolchain',
39             '../ppapi/native_client/native_client.gyp:ppapi_lib',
40           ],
41         },
42       ],
43     }],
44   ],