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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# -*- python -*-
#
# Copyright (c) 2012 The Native Client 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.gypi',
],
'target_defaults': {
'variables':{
'target_base': 'none',
},
'target_conditions': [
['target_base=="nacl_interval"', {
'sources': [
'nacl_interval_multiset_delete.c',
'nacl_interval_multiset_factory.c',
'nacl_interval_multiset.h',
'nacl_interval_list.c',
'nacl_interval_list.h',
'nacl_interval_range_tree.c',
'nacl_interval_range_tree.h',
],
},
]],
},
'conditions': [
['OS=="win" and target_arch=="ia32"', {
'targets': [
{
'target_name': 'nacl_interval64',
'type': 'static_library',
'variables': {
'target_base': 'nacl_interval',
'win_target': 'x64',
},
'dependencies': [
'<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform64',
],
},
],
}],
],
'targets': [
{
'target_name': 'nacl_interval',
'type': 'static_library',
'variables': {
'target_base': 'nacl_interval',
},
'dependencies': [
'<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform',
],
},
],
}
|