OLD | NEW |
1 # Copyright (c) 2008 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2008 The Native Client Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'includes': [ | 6 'includes': [ |
7 '../../../build/common.gypi', | 7 '../../../build/common.gypi', |
8 ], | 8 ], |
9 'target_defaults': { | 9 'target_defaults': { |
10 'variables': { | 10 'variables': { |
(...skipping 27 matching lines...) Expand all Loading... |
38 ], | 38 ], |
39 }, | 39 }, |
40 'targets': [ | 40 'targets': [ |
41 { | 41 { |
42 'target_name': 'nonnacl_srpc', | 42 'target_name': 'nonnacl_srpc', |
43 'type': 'static_library', | 43 'type': 'static_library', |
44 'variables': { | 44 'variables': { |
45 'target_base': 'srpc', | 45 'target_base': 'srpc', |
46 }, | 46 }, |
47 }, | 47 }, |
| 48 { |
| 49 'target_name': 'srpc_lib', |
| 50 'type': 'none', |
| 51 'variables': { |
| 52 'nlib_target': 'libsrpc.a', |
| 53 'build_glibc': 1, |
| 54 'build_newlib': 1, |
| 55 'sources': [ |
| 56 'invoke.c', |
| 57 'module_init_fini.c', |
| 58 'nacl_srpc.c', |
| 59 'nacl_srpc_message.c', |
| 60 'rpc_log.c', |
| 61 'rpc_serialize.c', |
| 62 'rpc_service.c', |
| 63 'rpc_server_loop.c', |
| 64 'accept.c', |
| 65 'accept_threaded.c', |
| 66 'nacl_srpc_ppapi_plugin_init.c', |
| 67 'nacl_srpc_ppapi_plugin_internal.c' |
| 68 ], |
| 69 }, |
| 70 'dependencies': [ |
| 71 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 72 ], |
| 73 }, |
48 ], | 74 ], |
49 'conditions': [ | 75 'conditions': [ |
50 # NOTE: We do not support untrusted gyp build on arm yet. | |
51 ['target_arch!="arm"', { | |
52 'targets' : [ | |
53 { | |
54 'target_name': 'srpc_lib', | |
55 'type': 'none', | |
56 'variables': { | |
57 'nlib_target': 'libsrpc.a', | |
58 'build_glibc': 1, | |
59 'build_newlib': 1, | |
60 'sources': [ | |
61 'invoke.c', | |
62 'module_init_fini.c', | |
63 'nacl_srpc.c', | |
64 'nacl_srpc_message.c', | |
65 'rpc_log.c', | |
66 'rpc_serialize.c', | |
67 'rpc_service.c', | |
68 'rpc_server_loop.c', | |
69 'accept.c', | |
70 'accept_threaded.c', | |
71 'nacl_srpc_ppapi_plugin_init.c', | |
72 'nacl_srpc_ppapi_plugin_internal.c' | |
73 ], | |
74 }, | |
75 'dependencies': [ | |
76 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | |
77 ], | |
78 }, | |
79 ], | |
80 }], | |
81 ['OS=="win"', { | 76 ['OS=="win"', { |
82 'targets': [ | 77 'targets': [ |
83 { | 78 { |
84 'target_name': 'nonnacl_srpc64', | 79 'target_name': 'nonnacl_srpc64', |
85 'type': 'static_library', | 80 'type': 'static_library', |
86 'variables': { | 81 'variables': { |
87 'target_base': 'srpc', | 82 'target_base': 'srpc', |
88 'win_target': 'x64', | 83 'win_target': 'x64', |
89 }, | 84 }, |
90 } | 85 } |
91 ], | 86 ], |
92 }], | 87 }], |
93 ] | 88 ] |
94 } | 89 } |
OLD | NEW |