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
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# -*- python -*-
# Copyright 2011 (c) 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=="reverse_service"', {
'sources': [
'reverse_service_c.h',
'reverse_service.h',
'reverse_service_c.c',
'reverse_service.cc',
],
'xcode_settings': {
'WARNING_CFLAGS': [
'-Wno-missing-field-initializers'
]
},
},
]],
},
'conditions': [
['OS=="win" and target_arch=="ia32"', {
'targets': [
{
'target_name': 'reverse_service64',
'type': 'static_library',
'variables': {
'target_base': 'reverse_service',
'win_target': 'x64',
},
'dependencies': [
'<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform64',
'<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:nonnacl_srpc64',
'<(DEPTH)/native_client/src/trusted/threading/threading.gyp:thread_interface64',
'<(DEPTH)/native_client/src/trusted/desc/desc.gyp:desc_wrapper64',
'<(DEPTH)/native_client/src/trusted/desc/desc.gyp:nrd_xfer64',
'<(DEPTH)/native_client/src/trusted/nacl_base/nacl_base.gyp:nacl_base64',
'<(DEPTH)/native_client/src/trusted/validator/validator.gyp:validation_cache64',
],
},
],
}],
],
'targets': [
{
'target_name': 'reverse_service',
'type': 'static_library', # 'dynamic_library', ?!?
'variables': {
'target_base': 'reverse_service',
},
'dependencies': [
'<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform',
'<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:nonnacl_srpc',
'<(DEPTH)/native_client/src/trusted/threading/threading.gyp:thread_interface',
'<(DEPTH)/native_client/src/trusted/desc/desc.gyp:desc_wrapper',
'<(DEPTH)/native_client/src/trusted/desc/desc.gyp:nrd_xfer',
'<(DEPTH)/native_client/src/trusted/nacl_base/nacl_base.gyp:nacl_base',
'<(DEPTH)/native_client/src/trusted/simple_service/simple_service.gyp:simple_service',
'<(DEPTH)/native_client/src/trusted/validator/validator.gyp:validation_cache',
],
},
],
}
|