blob: cd653d3151e6d1d0e93f1b483962fe7e923bf024 [file] [log] [blame]
Stanley Cheung5adb71f2016-02-13 00:03:02 -08001PHP_ARG_ENABLE(grpc, whether to enable grpc support,
2[ --enable-grpc Enable grpc support])
3
4if test "$PHP_GRPC" != "no"; then
5 dnl Write more examples of tests here...
6
7 dnl # --with-grpc -> add include path
8 PHP_ADD_INCLUDE(../../grpc/include)
9 PHP_ADD_INCLUDE(../../grpc/src/php/ext/grpc)
10 PHP_ADD_INCLUDE(../../grpc/third_party/boringssl/include)
11
Stanley Cheungbf74d692016-02-23 22:39:25 -080012 LIBS="-lpthread $LIBS"
13
14 GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD"
Stanley Cheung5adb71f2016-02-13 00:03:02 -080015 PHP_ADD_LIBRARY(pthread)
16
Stanley Cheungbf74d692016-02-23 22:39:25 -080017 PHP_ADD_LIBRARY(dl,,GRPC_SHARED_LIBADD)
18 PHP_ADD_LIBRARY(dl)
19
20 case $host in
21 *darwin*) ;;
22 *)
23 PHP_ADD_LIBRARY(rt,,GRPC_SHARED_LIBADD)
24 PHP_ADD_LIBRARY(rt)
25 ;;
26 esac
27
Stanley Cheung5adb71f2016-02-13 00:03:02 -080028 PHP_NEW_EXTENSION(grpc,
29 src/php/ext/grpc/byte_buffer.c \
30 src/php/ext/grpc/call.c \
31 src/php/ext/grpc/call_credentials.c \
32 src/php/ext/grpc/channel.c \
33 src/php/ext/grpc/channel_credentials.c \
34 src/php/ext/grpc/completion_queue.c \
35 src/php/ext/grpc/php_grpc.c \
36 src/php/ext/grpc/server.c \
37 src/php/ext/grpc/server_credentials.c \
38 src/php/ext/grpc/timeval.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070039 src/core/lib/profiling/basic_timers.c \
40 src/core/lib/profiling/stap_timers.c \
41 src/core/lib/support/alloc.c \
42 src/core/lib/support/avl.c \
43 src/core/lib/support/backoff.c \
44 src/core/lib/support/cmdline.c \
45 src/core/lib/support/cpu_iphone.c \
46 src/core/lib/support/cpu_linux.c \
47 src/core/lib/support/cpu_posix.c \
48 src/core/lib/support/cpu_windows.c \
49 src/core/lib/support/env_linux.c \
50 src/core/lib/support/env_posix.c \
Yuchen Zeng12dfdc32016-04-26 22:05:41 -070051 src/core/lib/support/env_windows.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070052 src/core/lib/support/histogram.c \
53 src/core/lib/support/host_port.c \
54 src/core/lib/support/load_file.c \
55 src/core/lib/support/log.c \
56 src/core/lib/support/log_android.c \
57 src/core/lib/support/log_linux.c \
58 src/core/lib/support/log_posix.c \
Yuchen Zeng12dfdc32016-04-26 22:05:41 -070059 src/core/lib/support/log_windows.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070060 src/core/lib/support/murmur_hash.c \
61 src/core/lib/support/slice.c \
62 src/core/lib/support/slice_buffer.c \
63 src/core/lib/support/stack_lockfree.c \
64 src/core/lib/support/string.c \
65 src/core/lib/support/string_posix.c \
Yuchen Zeng4594bd92016-05-31 14:06:01 -070066 src/core/lib/support/string_util_windows.c \
Yuchen Zeng12dfdc32016-04-26 22:05:41 -070067 src/core/lib/support/string_windows.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070068 src/core/lib/support/subprocess_posix.c \
69 src/core/lib/support/subprocess_windows.c \
70 src/core/lib/support/sync.c \
71 src/core/lib/support/sync_posix.c \
Yuchen Zeng12dfdc32016-04-26 22:05:41 -070072 src/core/lib/support/sync_windows.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070073 src/core/lib/support/thd.c \
74 src/core/lib/support/thd_posix.c \
Yuchen Zeng12dfdc32016-04-26 22:05:41 -070075 src/core/lib/support/thd_windows.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070076 src/core/lib/support/time.c \
77 src/core/lib/support/time_posix.c \
78 src/core/lib/support/time_precise.c \
Yuchen Zeng12dfdc32016-04-26 22:05:41 -070079 src/core/lib/support/time_windows.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070080 src/core/lib/support/tls_pthread.c \
Nicolas "Pixel" Noblec4b18a52016-04-15 04:53:54 +020081 src/core/lib/support/tmpfile_msys.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070082 src/core/lib/support/tmpfile_posix.c \
Yuchen Zeng12dfdc32016-04-26 22:05:41 -070083 src/core/lib/support/tmpfile_windows.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070084 src/core/lib/support/wrap_memcpy.c \
Craig Tiller3ab2fe02016-04-11 20:11:18 -070085 src/core/lib/surface/init.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070086 src/core/lib/channel/channel_args.c \
87 src/core/lib/channel/channel_stack.c \
88 src/core/lib/channel/channel_stack_builder.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070089 src/core/lib/channel/compress_filter.c \
90 src/core/lib/channel/connected_channel.c \
91 src/core/lib/channel/http_client_filter.c \
92 src/core/lib/channel/http_server_filter.c \
David Garcia Quintasac094472016-05-18 20:25:57 -070093 src/core/lib/compression/compression.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070094 src/core/lib/compression/message_compress.c \
95 src/core/lib/debug/trace.c \
96 src/core/lib/http/format_request.c \
97 src/core/lib/http/httpcli.c \
98 src/core/lib/http/parser.c \
99 src/core/lib/iomgr/closure.c \
100 src/core/lib/iomgr/endpoint.c \
101 src/core/lib/iomgr/endpoint_pair_posix.c \
102 src/core/lib/iomgr/endpoint_pair_windows.c \
Craig Tiller8a034482016-03-28 16:09:04 -0700103 src/core/lib/iomgr/ev_poll_and_epoll_posix.c \
Craig Tillerd9a60bb2016-03-28 23:13:19 -0700104 src/core/lib/iomgr/ev_poll_posix.c \
Craig Tiller8a034482016-03-28 16:09:04 -0700105 src/core/lib/iomgr/ev_posix.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700106 src/core/lib/iomgr/exec_ctx.c \
107 src/core/lib/iomgr/executor.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700108 src/core/lib/iomgr/iocp_windows.c \
109 src/core/lib/iomgr/iomgr.c \
110 src/core/lib/iomgr/iomgr_posix.c \
111 src/core/lib/iomgr/iomgr_windows.c \
David Garcia Quintas2a50dfe2016-05-31 15:09:12 -0700112 src/core/lib/iomgr/polling_entity.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700113 src/core/lib/iomgr/pollset_set_windows.c \
114 src/core/lib/iomgr/pollset_windows.c \
115 src/core/lib/iomgr/resolve_address_posix.c \
116 src/core/lib/iomgr/resolve_address_windows.c \
117 src/core/lib/iomgr/sockaddr_utils.c \
118 src/core/lib/iomgr/socket_utils_common_posix.c \
119 src/core/lib/iomgr/socket_utils_linux.c \
120 src/core/lib/iomgr/socket_utils_posix.c \
121 src/core/lib/iomgr/socket_windows.c \
122 src/core/lib/iomgr/tcp_client_posix.c \
123 src/core/lib/iomgr/tcp_client_windows.c \
124 src/core/lib/iomgr/tcp_posix.c \
125 src/core/lib/iomgr/tcp_server_posix.c \
126 src/core/lib/iomgr/tcp_server_windows.c \
127 src/core/lib/iomgr/tcp_windows.c \
128 src/core/lib/iomgr/time_averaged_stats.c \
129 src/core/lib/iomgr/timer.c \
130 src/core/lib/iomgr/timer_heap.c \
131 src/core/lib/iomgr/udp_server.c \
132 src/core/lib/iomgr/unix_sockets_posix.c \
133 src/core/lib/iomgr/unix_sockets_posix_noop.c \
134 src/core/lib/iomgr/wakeup_fd_eventfd.c \
135 src/core/lib/iomgr/wakeup_fd_nospecial.c \
136 src/core/lib/iomgr/wakeup_fd_pipe.c \
137 src/core/lib/iomgr/wakeup_fd_posix.c \
138 src/core/lib/iomgr/workqueue_posix.c \
139 src/core/lib/iomgr/workqueue_windows.c \
140 src/core/lib/json/json.c \
141 src/core/lib/json/json_reader.c \
142 src/core/lib/json/json_string.c \
143 src/core/lib/json/json_writer.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700144 src/core/lib/surface/alarm.c \
145 src/core/lib/surface/api_trace.c \
146 src/core/lib/surface/byte_buffer.c \
147 src/core/lib/surface/byte_buffer_reader.c \
148 src/core/lib/surface/call.c \
149 src/core/lib/surface/call_details.c \
150 src/core/lib/surface/call_log_batch.c \
151 src/core/lib/surface/channel.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700152 src/core/lib/surface/channel_init.c \
153 src/core/lib/surface/channel_ping.c \
154 src/core/lib/surface/channel_stack_type.c \
155 src/core/lib/surface/completion_queue.c \
156 src/core/lib/surface/event_string.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700157 src/core/lib/surface/lame_client.c \
158 src/core/lib/surface/metadata_array.c \
159 src/core/lib/surface/server.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700160 src/core/lib/surface/validate_metadata.c \
161 src/core/lib/surface/version.c \
162 src/core/lib/transport/byte_stream.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700163 src/core/lib/transport/connectivity_state.c \
164 src/core/lib/transport/metadata.c \
165 src/core/lib/transport/metadata_batch.c \
166 src/core/lib/transport/static_metadata.c \
167 src/core/lib/transport/transport.c \
168 src/core/lib/transport/transport_op_string.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700169 src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c \
170 src/core/ext/transport/chttp2/transport/bin_encoder.c \
171 src/core/ext/transport/chttp2/transport/chttp2_plugin.c \
172 src/core/ext/transport/chttp2/transport/chttp2_transport.c \
173 src/core/ext/transport/chttp2/transport/frame_data.c \
174 src/core/ext/transport/chttp2/transport/frame_goaway.c \
175 src/core/ext/transport/chttp2/transport/frame_ping.c \
176 src/core/ext/transport/chttp2/transport/frame_rst_stream.c \
177 src/core/ext/transport/chttp2/transport/frame_settings.c \
178 src/core/ext/transport/chttp2/transport/frame_window_update.c \
179 src/core/ext/transport/chttp2/transport/hpack_encoder.c \
180 src/core/ext/transport/chttp2/transport/hpack_parser.c \
181 src/core/ext/transport/chttp2/transport/hpack_table.c \
182 src/core/ext/transport/chttp2/transport/huffsyms.c \
183 src/core/ext/transport/chttp2/transport/incoming_metadata.c \
184 src/core/ext/transport/chttp2/transport/parsing.c \
185 src/core/ext/transport/chttp2/transport/status_conversion.c \
186 src/core/ext/transport/chttp2/transport/stream_lists.c \
187 src/core/ext/transport/chttp2/transport/stream_map.c \
188 src/core/ext/transport/chttp2/transport/timeout_encoding.c \
189 src/core/ext/transport/chttp2/transport/varint.c \
190 src/core/ext/transport/chttp2/transport/writing.c \
191 src/core/ext/transport/chttp2/alpn/alpn.c \
192 src/core/lib/http/httpcli_security_connector.c \
Julien Boeuf8ca294e2016-05-02 14:56:30 -0700193 src/core/lib/security/context/security_context.c \
194 src/core/lib/security/credentials/composite/composite_credentials.c \
195 src/core/lib/security/credentials/credentials.c \
196 src/core/lib/security/credentials/credentials_metadata.c \
197 src/core/lib/security/credentials/fake/fake_credentials.c \
198 src/core/lib/security/credentials/google_default/credentials_posix.c \
Yuchen Zeng4594bd92016-05-31 14:06:01 -0700199 src/core/lib/security/credentials/google_default/credentials_windows.c \
Julien Boeuf8ca294e2016-05-02 14:56:30 -0700200 src/core/lib/security/credentials/google_default/google_default_credentials.c \
201 src/core/lib/security/credentials/iam/iam_credentials.c \
202 src/core/lib/security/credentials/jwt/json_token.c \
203 src/core/lib/security/credentials/jwt/jwt_credentials.c \
204 src/core/lib/security/credentials/jwt/jwt_verifier.c \
205 src/core/lib/security/credentials/oauth2/oauth2_credentials.c \
206 src/core/lib/security/credentials/plugin/plugin_credentials.c \
207 src/core/lib/security/credentials/ssl/ssl_credentials.c \
208 src/core/lib/security/transport/client_auth_filter.c \
209 src/core/lib/security/transport/handshake.c \
210 src/core/lib/security/transport/secure_endpoint.c \
211 src/core/lib/security/transport/security_connector.c \
212 src/core/lib/security/transport/server_auth_filter.c \
213 src/core/lib/security/util/b64.c \
214 src/core/lib/security/util/json_util.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700215 src/core/lib/surface/init_secure.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700216 src/core/lib/tsi/fake_transport_security.c \
217 src/core/lib/tsi/ssl_transport_security.c \
218 src/core/lib/tsi/transport_security.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700219 src/core/ext/transport/chttp2/client/secure/secure_channel_create.c \
220 src/core/ext/client_config/channel_connectivity.c \
221 src/core/ext/client_config/client_channel.c \
222 src/core/ext/client_config/client_channel_factory.c \
223 src/core/ext/client_config/client_config.c \
224 src/core/ext/client_config/client_config_plugin.c \
225 src/core/ext/client_config/connector.c \
226 src/core/ext/client_config/default_initial_connect_string.c \
227 src/core/ext/client_config/initial_connect_string.c \
228 src/core/ext/client_config/lb_policy.c \
229 src/core/ext/client_config/lb_policy_factory.c \
230 src/core/ext/client_config/lb_policy_registry.c \
David Garcia Quintas9885bff2016-04-07 17:31:29 -0700231 src/core/ext/client_config/parse_address.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700232 src/core/ext/client_config/resolver.c \
233 src/core/ext/client_config/resolver_factory.c \
234 src/core/ext/client_config/resolver_registry.c \
235 src/core/ext/client_config/subchannel.c \
236 src/core/ext/client_config/subchannel_call_holder.c \
237 src/core/ext/client_config/subchannel_index.c \
238 src/core/ext/client_config/uri_parser.c \
239 src/core/ext/transport/chttp2/server/insecure/server_chttp2.c \
Adam Michalikbf10c822016-05-20 16:13:32 -0700240 src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700241 src/core/ext/transport/chttp2/client/insecure/channel_create.c \
Adam Michalik321b1fb2016-05-16 15:42:36 -0700242 src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700243 src/core/ext/lb_policy/grpclb/load_balancer_api.c \
David Garcia Quintas7f0793a2016-04-25 12:35:58 -0700244 src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c \
Stanley Cheungbf74d692016-02-23 22:39:25 -0800245 third_party/nanopb/pb_common.c \
246 third_party/nanopb/pb_decode.c \
247 third_party/nanopb/pb_encode.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700248 src/core/ext/lb_policy/pick_first/pick_first.c \
249 src/core/ext/lb_policy/round_robin/round_robin.c \
250 src/core/ext/resolver/dns/native/dns_resolver.c \
251 src/core/ext/resolver/sockaddr/sockaddr_resolver.c \
David Garcia Quintasb41363e2016-04-29 00:41:21 -0700252 src/core/ext/load_reporting/load_reporting.c \
253 src/core/ext/load_reporting/load_reporting_filter.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700254 src/core/ext/census/context.c \
Alistair Veitch30fe6322016-05-23 10:11:28 -0700255 src/core/ext/census/gen/census.pb.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700256 src/core/ext/census/grpc_context.c \
257 src/core/ext/census/grpc_filter.c \
258 src/core/ext/census/grpc_plugin.c \
259 src/core/ext/census/initialize.c \
260 src/core/ext/census/mlog.c \
261 src/core/ext/census/operation.c \
262 src/core/ext/census/placeholders.c \
263 src/core/ext/census/tracing.c \
264 src/core/plugin_registry/grpc_plugin_registry.c \
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800265 src/boringssl/err_data.c \
266 third_party/boringssl/crypto/aes/aes.c \
267 third_party/boringssl/crypto/aes/mode_wrappers.c \
268 third_party/boringssl/crypto/asn1/a_bitstr.c \
269 third_party/boringssl/crypto/asn1/a_bool.c \
270 third_party/boringssl/crypto/asn1/a_bytes.c \
271 third_party/boringssl/crypto/asn1/a_d2i_fp.c \
272 third_party/boringssl/crypto/asn1/a_dup.c \
273 third_party/boringssl/crypto/asn1/a_enum.c \
274 third_party/boringssl/crypto/asn1/a_gentm.c \
275 third_party/boringssl/crypto/asn1/a_i2d_fp.c \
276 third_party/boringssl/crypto/asn1/a_int.c \
277 third_party/boringssl/crypto/asn1/a_mbstr.c \
278 third_party/boringssl/crypto/asn1/a_object.c \
279 third_party/boringssl/crypto/asn1/a_octet.c \
280 third_party/boringssl/crypto/asn1/a_print.c \
281 third_party/boringssl/crypto/asn1/a_strnid.c \
282 third_party/boringssl/crypto/asn1/a_time.c \
283 third_party/boringssl/crypto/asn1/a_type.c \
284 third_party/boringssl/crypto/asn1/a_utctm.c \
285 third_party/boringssl/crypto/asn1/a_utf8.c \
286 third_party/boringssl/crypto/asn1/asn1_lib.c \
287 third_party/boringssl/crypto/asn1/asn1_par.c \
288 third_party/boringssl/crypto/asn1/asn_pack.c \
289 third_party/boringssl/crypto/asn1/bio_asn1.c \
290 third_party/boringssl/crypto/asn1/bio_ndef.c \
291 third_party/boringssl/crypto/asn1/f_enum.c \
292 third_party/boringssl/crypto/asn1/f_int.c \
293 third_party/boringssl/crypto/asn1/f_string.c \
294 third_party/boringssl/crypto/asn1/t_bitst.c \
295 third_party/boringssl/crypto/asn1/t_pkey.c \
296 third_party/boringssl/crypto/asn1/tasn_dec.c \
297 third_party/boringssl/crypto/asn1/tasn_enc.c \
298 third_party/boringssl/crypto/asn1/tasn_fre.c \
299 third_party/boringssl/crypto/asn1/tasn_new.c \
300 third_party/boringssl/crypto/asn1/tasn_prn.c \
301 third_party/boringssl/crypto/asn1/tasn_typ.c \
302 third_party/boringssl/crypto/asn1/tasn_utl.c \
303 third_party/boringssl/crypto/asn1/x_bignum.c \
304 third_party/boringssl/crypto/asn1/x_long.c \
305 third_party/boringssl/crypto/base64/base64.c \
306 third_party/boringssl/crypto/bio/bio.c \
307 third_party/boringssl/crypto/bio/bio_mem.c \
308 third_party/boringssl/crypto/bio/buffer.c \
309 third_party/boringssl/crypto/bio/connect.c \
310 third_party/boringssl/crypto/bio/fd.c \
311 third_party/boringssl/crypto/bio/file.c \
312 third_party/boringssl/crypto/bio/hexdump.c \
313 third_party/boringssl/crypto/bio/pair.c \
314 third_party/boringssl/crypto/bio/printf.c \
315 third_party/boringssl/crypto/bio/socket.c \
316 third_party/boringssl/crypto/bio/socket_helper.c \
317 third_party/boringssl/crypto/bn/add.c \
318 third_party/boringssl/crypto/bn/asm/x86_64-gcc.c \
319 third_party/boringssl/crypto/bn/bn.c \
320 third_party/boringssl/crypto/bn/bn_asn1.c \
321 third_party/boringssl/crypto/bn/cmp.c \
322 third_party/boringssl/crypto/bn/convert.c \
323 third_party/boringssl/crypto/bn/ctx.c \
324 third_party/boringssl/crypto/bn/div.c \
325 third_party/boringssl/crypto/bn/exponentiation.c \
326 third_party/boringssl/crypto/bn/gcd.c \
327 third_party/boringssl/crypto/bn/generic.c \
328 third_party/boringssl/crypto/bn/kronecker.c \
329 third_party/boringssl/crypto/bn/montgomery.c \
330 third_party/boringssl/crypto/bn/mul.c \
331 third_party/boringssl/crypto/bn/prime.c \
332 third_party/boringssl/crypto/bn/random.c \
333 third_party/boringssl/crypto/bn/rsaz_exp.c \
334 third_party/boringssl/crypto/bn/shift.c \
335 third_party/boringssl/crypto/bn/sqrt.c \
336 third_party/boringssl/crypto/buf/buf.c \
itessier2a522032016-04-19 17:38:51 -0700337 third_party/boringssl/crypto/bytestring/asn1_compat.c \
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800338 third_party/boringssl/crypto/bytestring/ber.c \
339 third_party/boringssl/crypto/bytestring/cbb.c \
340 third_party/boringssl/crypto/bytestring/cbs.c \
341 third_party/boringssl/crypto/chacha/chacha_generic.c \
342 third_party/boringssl/crypto/chacha/chacha_vec.c \
343 third_party/boringssl/crypto/cipher/aead.c \
344 third_party/boringssl/crypto/cipher/cipher.c \
345 third_party/boringssl/crypto/cipher/derive_key.c \
346 third_party/boringssl/crypto/cipher/e_aes.c \
347 third_party/boringssl/crypto/cipher/e_chacha20poly1305.c \
348 third_party/boringssl/crypto/cipher/e_des.c \
349 third_party/boringssl/crypto/cipher/e_null.c \
350 third_party/boringssl/crypto/cipher/e_rc2.c \
351 third_party/boringssl/crypto/cipher/e_rc4.c \
352 third_party/boringssl/crypto/cipher/e_ssl3.c \
353 third_party/boringssl/crypto/cipher/e_tls.c \
354 third_party/boringssl/crypto/cipher/tls_cbc.c \
355 third_party/boringssl/crypto/cmac/cmac.c \
356 third_party/boringssl/crypto/conf/conf.c \
357 third_party/boringssl/crypto/cpu-arm.c \
358 third_party/boringssl/crypto/cpu-intel.c \
359 third_party/boringssl/crypto/crypto.c \
360 third_party/boringssl/crypto/curve25519/curve25519.c \
itessier2a522032016-04-19 17:38:51 -0700361 third_party/boringssl/crypto/curve25519/x25519-x86_64.c \
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800362 third_party/boringssl/crypto/des/des.c \
363 third_party/boringssl/crypto/dh/check.c \
364 third_party/boringssl/crypto/dh/dh.c \
365 third_party/boringssl/crypto/dh/dh_asn1.c \
366 third_party/boringssl/crypto/dh/params.c \
367 third_party/boringssl/crypto/digest/digest.c \
368 third_party/boringssl/crypto/digest/digests.c \
369 third_party/boringssl/crypto/directory_posix.c \
370 third_party/boringssl/crypto/directory_win.c \
371 third_party/boringssl/crypto/dsa/dsa.c \
372 third_party/boringssl/crypto/dsa/dsa_asn1.c \
373 third_party/boringssl/crypto/ec/ec.c \
374 third_party/boringssl/crypto/ec/ec_asn1.c \
375 third_party/boringssl/crypto/ec/ec_key.c \
376 third_party/boringssl/crypto/ec/ec_montgomery.c \
377 third_party/boringssl/crypto/ec/oct.c \
378 third_party/boringssl/crypto/ec/p224-64.c \
379 third_party/boringssl/crypto/ec/p256-64.c \
380 third_party/boringssl/crypto/ec/p256-x86_64.c \
381 third_party/boringssl/crypto/ec/simple.c \
382 third_party/boringssl/crypto/ec/util-64.c \
383 third_party/boringssl/crypto/ec/wnaf.c \
384 third_party/boringssl/crypto/ecdh/ecdh.c \
385 third_party/boringssl/crypto/ecdsa/ecdsa.c \
386 third_party/boringssl/crypto/ecdsa/ecdsa_asn1.c \
387 third_party/boringssl/crypto/engine/engine.c \
388 third_party/boringssl/crypto/err/err.c \
389 third_party/boringssl/crypto/evp/algorithm.c \
390 third_party/boringssl/crypto/evp/digestsign.c \
391 third_party/boringssl/crypto/evp/evp.c \
392 third_party/boringssl/crypto/evp/evp_asn1.c \
393 third_party/boringssl/crypto/evp/evp_ctx.c \
394 third_party/boringssl/crypto/evp/p_dsa_asn1.c \
395 third_party/boringssl/crypto/evp/p_ec.c \
396 third_party/boringssl/crypto/evp/p_ec_asn1.c \
397 third_party/boringssl/crypto/evp/p_rsa.c \
398 third_party/boringssl/crypto/evp/p_rsa_asn1.c \
399 third_party/boringssl/crypto/evp/pbkdf.c \
400 third_party/boringssl/crypto/evp/sign.c \
401 third_party/boringssl/crypto/ex_data.c \
402 third_party/boringssl/crypto/hkdf/hkdf.c \
403 third_party/boringssl/crypto/hmac/hmac.c \
404 third_party/boringssl/crypto/lhash/lhash.c \
405 third_party/boringssl/crypto/md4/md4.c \
406 third_party/boringssl/crypto/md5/md5.c \
407 third_party/boringssl/crypto/mem.c \
408 third_party/boringssl/crypto/modes/cbc.c \
409 third_party/boringssl/crypto/modes/cfb.c \
410 third_party/boringssl/crypto/modes/ctr.c \
411 third_party/boringssl/crypto/modes/gcm.c \
412 third_party/boringssl/crypto/modes/ofb.c \
413 third_party/boringssl/crypto/obj/obj.c \
414 third_party/boringssl/crypto/obj/obj_xref.c \
415 third_party/boringssl/crypto/pem/pem_all.c \
416 third_party/boringssl/crypto/pem/pem_info.c \
417 third_party/boringssl/crypto/pem/pem_lib.c \
418 third_party/boringssl/crypto/pem/pem_oth.c \
419 third_party/boringssl/crypto/pem/pem_pk8.c \
420 third_party/boringssl/crypto/pem/pem_pkey.c \
421 third_party/boringssl/crypto/pem/pem_x509.c \
422 third_party/boringssl/crypto/pem/pem_xaux.c \
423 third_party/boringssl/crypto/pkcs8/p5_pbe.c \
424 third_party/boringssl/crypto/pkcs8/p5_pbev2.c \
425 third_party/boringssl/crypto/pkcs8/p8_pkey.c \
426 third_party/boringssl/crypto/pkcs8/pkcs8.c \
427 third_party/boringssl/crypto/poly1305/poly1305.c \
428 third_party/boringssl/crypto/poly1305/poly1305_arm.c \
429 third_party/boringssl/crypto/poly1305/poly1305_vec.c \
430 third_party/boringssl/crypto/rand/rand.c \
431 third_party/boringssl/crypto/rand/urandom.c \
432 third_party/boringssl/crypto/rand/windows.c \
433 third_party/boringssl/crypto/rc4/rc4.c \
434 third_party/boringssl/crypto/refcount_c11.c \
435 third_party/boringssl/crypto/refcount_lock.c \
436 third_party/boringssl/crypto/rsa/blinding.c \
437 third_party/boringssl/crypto/rsa/padding.c \
438 third_party/boringssl/crypto/rsa/rsa.c \
439 third_party/boringssl/crypto/rsa/rsa_asn1.c \
440 third_party/boringssl/crypto/rsa/rsa_impl.c \
441 third_party/boringssl/crypto/sha/sha1.c \
442 third_party/boringssl/crypto/sha/sha256.c \
443 third_party/boringssl/crypto/sha/sha512.c \
444 third_party/boringssl/crypto/stack/stack.c \
445 third_party/boringssl/crypto/thread.c \
446 third_party/boringssl/crypto/thread_none.c \
447 third_party/boringssl/crypto/thread_pthread.c \
448 third_party/boringssl/crypto/thread_win.c \
449 third_party/boringssl/crypto/time_support.c \
450 third_party/boringssl/crypto/x509/a_digest.c \
451 third_party/boringssl/crypto/x509/a_sign.c \
452 third_party/boringssl/crypto/x509/a_strex.c \
453 third_party/boringssl/crypto/x509/a_verify.c \
454 third_party/boringssl/crypto/x509/asn1_gen.c \
455 third_party/boringssl/crypto/x509/by_dir.c \
456 third_party/boringssl/crypto/x509/by_file.c \
457 third_party/boringssl/crypto/x509/i2d_pr.c \
458 third_party/boringssl/crypto/x509/pkcs7.c \
459 third_party/boringssl/crypto/x509/t_crl.c \
460 third_party/boringssl/crypto/x509/t_req.c \
461 third_party/boringssl/crypto/x509/t_x509.c \
462 third_party/boringssl/crypto/x509/t_x509a.c \
463 third_party/boringssl/crypto/x509/x509.c \
464 third_party/boringssl/crypto/x509/x509_att.c \
465 third_party/boringssl/crypto/x509/x509_cmp.c \
466 third_party/boringssl/crypto/x509/x509_d2.c \
467 third_party/boringssl/crypto/x509/x509_def.c \
468 third_party/boringssl/crypto/x509/x509_ext.c \
469 third_party/boringssl/crypto/x509/x509_lu.c \
470 third_party/boringssl/crypto/x509/x509_obj.c \
471 third_party/boringssl/crypto/x509/x509_r2x.c \
472 third_party/boringssl/crypto/x509/x509_req.c \
473 third_party/boringssl/crypto/x509/x509_set.c \
474 third_party/boringssl/crypto/x509/x509_trs.c \
475 third_party/boringssl/crypto/x509/x509_txt.c \
476 third_party/boringssl/crypto/x509/x509_v3.c \
477 third_party/boringssl/crypto/x509/x509_vfy.c \
478 third_party/boringssl/crypto/x509/x509_vpm.c \
479 third_party/boringssl/crypto/x509/x509cset.c \
480 third_party/boringssl/crypto/x509/x509name.c \
481 third_party/boringssl/crypto/x509/x509rset.c \
482 third_party/boringssl/crypto/x509/x509spki.c \
483 third_party/boringssl/crypto/x509/x509type.c \
484 third_party/boringssl/crypto/x509/x_algor.c \
485 third_party/boringssl/crypto/x509/x_all.c \
486 third_party/boringssl/crypto/x509/x_attrib.c \
487 third_party/boringssl/crypto/x509/x_crl.c \
488 third_party/boringssl/crypto/x509/x_exten.c \
489 third_party/boringssl/crypto/x509/x_info.c \
490 third_party/boringssl/crypto/x509/x_name.c \
491 third_party/boringssl/crypto/x509/x_pkey.c \
492 third_party/boringssl/crypto/x509/x_pubkey.c \
493 third_party/boringssl/crypto/x509/x_req.c \
494 third_party/boringssl/crypto/x509/x_sig.c \
495 third_party/boringssl/crypto/x509/x_spki.c \
496 third_party/boringssl/crypto/x509/x_val.c \
497 third_party/boringssl/crypto/x509/x_x509.c \
498 third_party/boringssl/crypto/x509/x_x509a.c \
499 third_party/boringssl/crypto/x509v3/pcy_cache.c \
500 third_party/boringssl/crypto/x509v3/pcy_data.c \
501 third_party/boringssl/crypto/x509v3/pcy_lib.c \
502 third_party/boringssl/crypto/x509v3/pcy_map.c \
503 third_party/boringssl/crypto/x509v3/pcy_node.c \
504 third_party/boringssl/crypto/x509v3/pcy_tree.c \
505 third_party/boringssl/crypto/x509v3/v3_akey.c \
506 third_party/boringssl/crypto/x509v3/v3_akeya.c \
507 third_party/boringssl/crypto/x509v3/v3_alt.c \
508 third_party/boringssl/crypto/x509v3/v3_bcons.c \
509 third_party/boringssl/crypto/x509v3/v3_bitst.c \
510 third_party/boringssl/crypto/x509v3/v3_conf.c \
511 third_party/boringssl/crypto/x509v3/v3_cpols.c \
512 third_party/boringssl/crypto/x509v3/v3_crld.c \
513 third_party/boringssl/crypto/x509v3/v3_enum.c \
514 third_party/boringssl/crypto/x509v3/v3_extku.c \
515 third_party/boringssl/crypto/x509v3/v3_genn.c \
516 third_party/boringssl/crypto/x509v3/v3_ia5.c \
517 third_party/boringssl/crypto/x509v3/v3_info.c \
518 third_party/boringssl/crypto/x509v3/v3_int.c \
519 third_party/boringssl/crypto/x509v3/v3_lib.c \
520 third_party/boringssl/crypto/x509v3/v3_ncons.c \
521 third_party/boringssl/crypto/x509v3/v3_pci.c \
522 third_party/boringssl/crypto/x509v3/v3_pcia.c \
523 third_party/boringssl/crypto/x509v3/v3_pcons.c \
524 third_party/boringssl/crypto/x509v3/v3_pku.c \
525 third_party/boringssl/crypto/x509v3/v3_pmaps.c \
526 third_party/boringssl/crypto/x509v3/v3_prn.c \
527 third_party/boringssl/crypto/x509v3/v3_purp.c \
528 third_party/boringssl/crypto/x509v3/v3_skey.c \
529 third_party/boringssl/crypto/x509v3/v3_sxnet.c \
530 third_party/boringssl/crypto/x509v3/v3_utl.c \
531 third_party/boringssl/ssl/custom_extensions.c \
532 third_party/boringssl/ssl/d1_both.c \
533 third_party/boringssl/ssl/d1_clnt.c \
534 third_party/boringssl/ssl/d1_lib.c \
535 third_party/boringssl/ssl/d1_meth.c \
536 third_party/boringssl/ssl/d1_pkt.c \
537 third_party/boringssl/ssl/d1_srtp.c \
538 third_party/boringssl/ssl/d1_srvr.c \
539 third_party/boringssl/ssl/dtls_record.c \
540 third_party/boringssl/ssl/pqueue/pqueue.c \
541 third_party/boringssl/ssl/s3_both.c \
542 third_party/boringssl/ssl/s3_clnt.c \
543 third_party/boringssl/ssl/s3_enc.c \
544 third_party/boringssl/ssl/s3_lib.c \
545 third_party/boringssl/ssl/s3_meth.c \
546 third_party/boringssl/ssl/s3_pkt.c \
547 third_party/boringssl/ssl/s3_srvr.c \
548 third_party/boringssl/ssl/ssl_aead_ctx.c \
549 third_party/boringssl/ssl/ssl_asn1.c \
550 third_party/boringssl/ssl/ssl_buffer.c \
551 third_party/boringssl/ssl/ssl_cert.c \
552 third_party/boringssl/ssl/ssl_cipher.c \
itessier2a522032016-04-19 17:38:51 -0700553 third_party/boringssl/ssl/ssl_ecdh.c \
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800554 third_party/boringssl/ssl/ssl_file.c \
555 third_party/boringssl/ssl/ssl_lib.c \
556 third_party/boringssl/ssl/ssl_rsa.c \
557 third_party/boringssl/ssl/ssl_session.c \
558 third_party/boringssl/ssl/ssl_stat.c \
559 third_party/boringssl/ssl/t1_enc.c \
560 third_party/boringssl/ssl/t1_lib.c \
561 third_party/boringssl/ssl/tls_record.c \
Stanley Cheung5ade2d42016-02-25 13:44:05 -0800562 , $ext_shared, , -Wall -Werror \
563 -Wno-parentheses-equality -Wno-unused-value -std=c11 \
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800564 -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN \
565 -D_HAS_EXCEPTIONS=0 -DNOMINMAX)
Stanley Cheung80db5be2016-02-24 21:35:56 -0800566
567 PHP_ADD_BUILD_DIR($ext_builddir/src/php/ext/grpc)
568
569 PHP_ADD_BUILD_DIR($ext_builddir/src/boringssl)
Craig Tiller8f8e9f92016-03-29 09:41:28 -0700570 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/census)
Alistair Veitch30fe6322016-05-23 10:11:28 -0700571 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/census/gen)
Craig Tillerd4c98332016-03-31 13:45:47 -0700572 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/client_config)
Craig Tiller023caf12016-03-29 08:00:30 -0700573 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/lb_policy/grpclb)
David Garcia Quintas7f0793a2016-04-25 12:35:58 -0700574 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1)
Craig Tiller023caf12016-03-29 08:00:30 -0700575 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/lb_policy/pick_first)
576 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/lb_policy/round_robin)
David Garcia Quintas862c8e92016-04-06 16:30:51 -0700577 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/load_reporting)
Craig Tiller65938df2016-03-31 13:08:49 -0700578 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/resolver/dns/native)
579 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/resolver/sockaddr)
Craig Tillerf82ddc42016-04-05 17:15:07 -0700580 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/alpn)
Craig Tillerc7762a82016-03-28 10:13:08 -0700581 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/client/insecure)
582 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/client/secure)
583 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/server/insecure)
584 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/server/secure)
585 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/transport)
Craig Tillerf23078c2016-03-25 17:07:29 -0700586 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/channel)
Craig Tillerf23078c2016-03-25 17:07:29 -0700587 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/compression)
588 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/debug)
589 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/http)
590 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/iomgr)
591 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/json)
592 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/profiling)
Julien Boeuf8ca294e2016-05-02 14:56:30 -0700593 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/context)
594 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials)
595 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials/composite)
596 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials/fake)
597 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials/google_default)
598 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials/iam)
599 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials/jwt)
600 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials/oauth2)
601 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials/plugin)
602 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials/ssl)
603 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/transport)
604 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/util)
Craig Tillerf23078c2016-03-25 17:07:29 -0700605 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/support)
606 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/surface)
607 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/transport)
Craig Tillerf23078c2016-03-25 17:07:29 -0700608 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/tsi)
Craig Tillerfb433852016-03-29 08:51:07 -0700609 PHP_ADD_BUILD_DIR($ext_builddir/src/core/plugin_registry)
Stanley Cheung80db5be2016-02-24 21:35:56 -0800610 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto)
611 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/aes)
612 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/asn1)
613 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/base64)
614 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/bio)
615 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/bn)
616 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/bn/asm)
617 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/buf)
618 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/bytestring)
619 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/chacha)
620 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/cipher)
621 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/cmac)
622 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/conf)
623 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/curve25519)
624 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/des)
625 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/dh)
626 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/digest)
627 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/dsa)
628 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/ec)
629 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/ecdh)
630 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/ecdsa)
631 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/engine)
632 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/err)
633 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/evp)
634 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/hkdf)
635 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/hmac)
636 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/lhash)
637 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/md4)
638 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/md5)
639 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/modes)
640 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/obj)
641 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/pem)
642 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/pkcs8)
643 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/poly1305)
644 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/rand)
645 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/rc4)
646 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/rsa)
647 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/sha)
648 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/stack)
649 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/x509)
650 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/x509v3)
651 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/ssl)
652 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/ssl/pqueue)
653 PHP_ADD_BUILD_DIR($ext_builddir/third_party/nanopb)
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800654fi