• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2012 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    '../build/common_untrusted.gypi',
11    'base.gypi',
12  ],
13  'conditions': [
14    ['disable_nacl==0 and disable_nacl_untrusted==0', {
15      'targets': [
16        {
17          'target_name': 'base_untrusted',
18          'type': 'none',
19          'variables': {
20            'base_target': 1,
21            'nacl_untrusted_build': 1,
22            'nlib_target': 'libbase_untrusted.a',
23            'build_glibc': 1,
24            'build_newlib': 1,
25            'build_irt': 1,
26            'sources': [
27              'base_switches.cc',
28              'base_switches.h',
29              'strings/string16.cc',
30              'sync_socket_nacl.cc',
31              'time/time_posix.cc',
32            ],
33          },
34          'dependencies': [
35            '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
36          ],
37        },
38      ],
39    }],
40  ],
41}
42