blob: 74f9ad242ab6d124f9988633b948b3095944a078 [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 \
51 src/core/lib/support/env_win32.c \
52 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 \
59 src/core/lib/support/log_win32.c \
60 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 \
Nicolas "Pixel" Noblec4b18a52016-04-15 04:53:54 +020066 src/core/lib/support/string_util_win32.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070067 src/core/lib/support/string_win32.c \
68 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 \
72 src/core/lib/support/sync_win32.c \
73 src/core/lib/support/thd.c \
74 src/core/lib/support/thd_posix.c \
75 src/core/lib/support/thd_win32.c \
76 src/core/lib/support/time.c \
77 src/core/lib/support/time_posix.c \
78 src/core/lib/support/time_precise.c \
79 src/core/lib/support/time_win32.c \
80 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 \
83 src/core/lib/support/tmpfile_win32.c \
84 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 \
Craig Tillerf23078c2016-03-25 17:07:29 -070093 src/core/lib/compression/compression_algorithm.c \
94 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 \
104 src/core/lib/iomgr/ev_posix.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700105 src/core/lib/iomgr/exec_ctx.c \
106 src/core/lib/iomgr/executor.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700107 src/core/lib/iomgr/iocp_windows.c \
108 src/core/lib/iomgr/iomgr.c \
109 src/core/lib/iomgr/iomgr_posix.c \
110 src/core/lib/iomgr/iomgr_windows.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700111 src/core/lib/iomgr/pollset_set_windows.c \
112 src/core/lib/iomgr/pollset_windows.c \
113 src/core/lib/iomgr/resolve_address_posix.c \
114 src/core/lib/iomgr/resolve_address_windows.c \
115 src/core/lib/iomgr/sockaddr_utils.c \
116 src/core/lib/iomgr/socket_utils_common_posix.c \
117 src/core/lib/iomgr/socket_utils_linux.c \
118 src/core/lib/iomgr/socket_utils_posix.c \
119 src/core/lib/iomgr/socket_windows.c \
120 src/core/lib/iomgr/tcp_client_posix.c \
121 src/core/lib/iomgr/tcp_client_windows.c \
122 src/core/lib/iomgr/tcp_posix.c \
123 src/core/lib/iomgr/tcp_server_posix.c \
124 src/core/lib/iomgr/tcp_server_windows.c \
125 src/core/lib/iomgr/tcp_windows.c \
126 src/core/lib/iomgr/time_averaged_stats.c \
127 src/core/lib/iomgr/timer.c \
128 src/core/lib/iomgr/timer_heap.c \
129 src/core/lib/iomgr/udp_server.c \
130 src/core/lib/iomgr/unix_sockets_posix.c \
131 src/core/lib/iomgr/unix_sockets_posix_noop.c \
132 src/core/lib/iomgr/wakeup_fd_eventfd.c \
133 src/core/lib/iomgr/wakeup_fd_nospecial.c \
134 src/core/lib/iomgr/wakeup_fd_pipe.c \
135 src/core/lib/iomgr/wakeup_fd_posix.c \
136 src/core/lib/iomgr/workqueue_posix.c \
137 src/core/lib/iomgr/workqueue_windows.c \
138 src/core/lib/json/json.c \
139 src/core/lib/json/json_reader.c \
140 src/core/lib/json/json_string.c \
141 src/core/lib/json/json_writer.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700142 src/core/lib/surface/alarm.c \
143 src/core/lib/surface/api_trace.c \
144 src/core/lib/surface/byte_buffer.c \
145 src/core/lib/surface/byte_buffer_reader.c \
146 src/core/lib/surface/call.c \
147 src/core/lib/surface/call_details.c \
148 src/core/lib/surface/call_log_batch.c \
149 src/core/lib/surface/channel.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700150 src/core/lib/surface/channel_init.c \
151 src/core/lib/surface/channel_ping.c \
152 src/core/lib/surface/channel_stack_type.c \
153 src/core/lib/surface/completion_queue.c \
154 src/core/lib/surface/event_string.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700155 src/core/lib/surface/lame_client.c \
156 src/core/lib/surface/metadata_array.c \
157 src/core/lib/surface/server.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700158 src/core/lib/surface/validate_metadata.c \
159 src/core/lib/surface/version.c \
160 src/core/lib/transport/byte_stream.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700161 src/core/lib/transport/connectivity_state.c \
162 src/core/lib/transport/metadata.c \
163 src/core/lib/transport/metadata_batch.c \
164 src/core/lib/transport/static_metadata.c \
165 src/core/lib/transport/transport.c \
166 src/core/lib/transport/transport_op_string.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700167 src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c \
168 src/core/ext/transport/chttp2/transport/bin_encoder.c \
169 src/core/ext/transport/chttp2/transport/chttp2_plugin.c \
170 src/core/ext/transport/chttp2/transport/chttp2_transport.c \
171 src/core/ext/transport/chttp2/transport/frame_data.c \
172 src/core/ext/transport/chttp2/transport/frame_goaway.c \
173 src/core/ext/transport/chttp2/transport/frame_ping.c \
174 src/core/ext/transport/chttp2/transport/frame_rst_stream.c \
175 src/core/ext/transport/chttp2/transport/frame_settings.c \
176 src/core/ext/transport/chttp2/transport/frame_window_update.c \
177 src/core/ext/transport/chttp2/transport/hpack_encoder.c \
178 src/core/ext/transport/chttp2/transport/hpack_parser.c \
179 src/core/ext/transport/chttp2/transport/hpack_table.c \
180 src/core/ext/transport/chttp2/transport/huffsyms.c \
181 src/core/ext/transport/chttp2/transport/incoming_metadata.c \
182 src/core/ext/transport/chttp2/transport/parsing.c \
183 src/core/ext/transport/chttp2/transport/status_conversion.c \
184 src/core/ext/transport/chttp2/transport/stream_lists.c \
185 src/core/ext/transport/chttp2/transport/stream_map.c \
186 src/core/ext/transport/chttp2/transport/timeout_encoding.c \
187 src/core/ext/transport/chttp2/transport/varint.c \
188 src/core/ext/transport/chttp2/transport/writing.c \
189 src/core/ext/transport/chttp2/alpn/alpn.c \
190 src/core/lib/http/httpcli_security_connector.c \
191 src/core/lib/security/b64.c \
192 src/core/lib/security/client_auth_filter.c \
193 src/core/lib/security/credentials.c \
194 src/core/lib/security/credentials_metadata.c \
195 src/core/lib/security/credentials_posix.c \
196 src/core/lib/security/credentials_win32.c \
197 src/core/lib/security/google_default_credentials.c \
198 src/core/lib/security/handshake.c \
199 src/core/lib/security/json_token.c \
200 src/core/lib/security/jwt_verifier.c \
201 src/core/lib/security/secure_endpoint.c \
202 src/core/lib/security/security_connector.c \
203 src/core/lib/security/security_context.c \
204 src/core/lib/security/server_auth_filter.c \
205 src/core/lib/surface/init_secure.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700206 src/core/lib/tsi/fake_transport_security.c \
207 src/core/lib/tsi/ssl_transport_security.c \
208 src/core/lib/tsi/transport_security.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700209 src/core/ext/transport/chttp2/client/secure/secure_channel_create.c \
210 src/core/ext/client_config/channel_connectivity.c \
211 src/core/ext/client_config/client_channel.c \
212 src/core/ext/client_config/client_channel_factory.c \
213 src/core/ext/client_config/client_config.c \
214 src/core/ext/client_config/client_config_plugin.c \
215 src/core/ext/client_config/connector.c \
216 src/core/ext/client_config/default_initial_connect_string.c \
217 src/core/ext/client_config/initial_connect_string.c \
218 src/core/ext/client_config/lb_policy.c \
219 src/core/ext/client_config/lb_policy_factory.c \
220 src/core/ext/client_config/lb_policy_registry.c \
David Garcia Quintas9885bff2016-04-07 17:31:29 -0700221 src/core/ext/client_config/parse_address.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700222 src/core/ext/client_config/resolver.c \
223 src/core/ext/client_config/resolver_factory.c \
224 src/core/ext/client_config/resolver_registry.c \
225 src/core/ext/client_config/subchannel.c \
226 src/core/ext/client_config/subchannel_call_holder.c \
227 src/core/ext/client_config/subchannel_index.c \
228 src/core/ext/client_config/uri_parser.c \
229 src/core/ext/transport/chttp2/server/insecure/server_chttp2.c \
230 src/core/ext/transport/chttp2/client/insecure/channel_create.c \
231 src/core/ext/lb_policy/grpclb/load_balancer_api.c \
232 src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0/load_balancer.pb.c \
Stanley Cheungbf74d692016-02-23 22:39:25 -0800233 third_party/nanopb/pb_common.c \
234 third_party/nanopb/pb_decode.c \
235 third_party/nanopb/pb_encode.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700236 src/core/ext/lb_policy/pick_first/pick_first.c \
237 src/core/ext/lb_policy/round_robin/round_robin.c \
238 src/core/ext/resolver/dns/native/dns_resolver.c \
239 src/core/ext/resolver/sockaddr/sockaddr_resolver.c \
240 src/core/ext/census/context.c \
241 src/core/ext/census/grpc_context.c \
242 src/core/ext/census/grpc_filter.c \
243 src/core/ext/census/grpc_plugin.c \
244 src/core/ext/census/initialize.c \
245 src/core/ext/census/mlog.c \
246 src/core/ext/census/operation.c \
247 src/core/ext/census/placeholders.c \
248 src/core/ext/census/tracing.c \
249 src/core/plugin_registry/grpc_plugin_registry.c \
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800250 src/boringssl/err_data.c \
251 third_party/boringssl/crypto/aes/aes.c \
252 third_party/boringssl/crypto/aes/mode_wrappers.c \
253 third_party/boringssl/crypto/asn1/a_bitstr.c \
254 third_party/boringssl/crypto/asn1/a_bool.c \
255 third_party/boringssl/crypto/asn1/a_bytes.c \
256 third_party/boringssl/crypto/asn1/a_d2i_fp.c \
257 third_party/boringssl/crypto/asn1/a_dup.c \
258 third_party/boringssl/crypto/asn1/a_enum.c \
259 third_party/boringssl/crypto/asn1/a_gentm.c \
260 third_party/boringssl/crypto/asn1/a_i2d_fp.c \
261 third_party/boringssl/crypto/asn1/a_int.c \
262 third_party/boringssl/crypto/asn1/a_mbstr.c \
263 third_party/boringssl/crypto/asn1/a_object.c \
264 third_party/boringssl/crypto/asn1/a_octet.c \
265 third_party/boringssl/crypto/asn1/a_print.c \
266 third_party/boringssl/crypto/asn1/a_strnid.c \
267 third_party/boringssl/crypto/asn1/a_time.c \
268 third_party/boringssl/crypto/asn1/a_type.c \
269 third_party/boringssl/crypto/asn1/a_utctm.c \
270 third_party/boringssl/crypto/asn1/a_utf8.c \
271 third_party/boringssl/crypto/asn1/asn1_lib.c \
272 third_party/boringssl/crypto/asn1/asn1_par.c \
273 third_party/boringssl/crypto/asn1/asn_pack.c \
274 third_party/boringssl/crypto/asn1/bio_asn1.c \
275 third_party/boringssl/crypto/asn1/bio_ndef.c \
276 third_party/boringssl/crypto/asn1/f_enum.c \
277 third_party/boringssl/crypto/asn1/f_int.c \
278 third_party/boringssl/crypto/asn1/f_string.c \
279 third_party/boringssl/crypto/asn1/t_bitst.c \
280 third_party/boringssl/crypto/asn1/t_pkey.c \
281 third_party/boringssl/crypto/asn1/tasn_dec.c \
282 third_party/boringssl/crypto/asn1/tasn_enc.c \
283 third_party/boringssl/crypto/asn1/tasn_fre.c \
284 third_party/boringssl/crypto/asn1/tasn_new.c \
285 third_party/boringssl/crypto/asn1/tasn_prn.c \
286 third_party/boringssl/crypto/asn1/tasn_typ.c \
287 third_party/boringssl/crypto/asn1/tasn_utl.c \
288 third_party/boringssl/crypto/asn1/x_bignum.c \
289 third_party/boringssl/crypto/asn1/x_long.c \
290 third_party/boringssl/crypto/base64/base64.c \
291 third_party/boringssl/crypto/bio/bio.c \
292 third_party/boringssl/crypto/bio/bio_mem.c \
293 third_party/boringssl/crypto/bio/buffer.c \
294 third_party/boringssl/crypto/bio/connect.c \
295 third_party/boringssl/crypto/bio/fd.c \
296 third_party/boringssl/crypto/bio/file.c \
297 third_party/boringssl/crypto/bio/hexdump.c \
298 third_party/boringssl/crypto/bio/pair.c \
299 third_party/boringssl/crypto/bio/printf.c \
300 third_party/boringssl/crypto/bio/socket.c \
301 third_party/boringssl/crypto/bio/socket_helper.c \
302 third_party/boringssl/crypto/bn/add.c \
303 third_party/boringssl/crypto/bn/asm/x86_64-gcc.c \
304 third_party/boringssl/crypto/bn/bn.c \
305 third_party/boringssl/crypto/bn/bn_asn1.c \
306 third_party/boringssl/crypto/bn/cmp.c \
307 third_party/boringssl/crypto/bn/convert.c \
308 third_party/boringssl/crypto/bn/ctx.c \
309 third_party/boringssl/crypto/bn/div.c \
310 third_party/boringssl/crypto/bn/exponentiation.c \
311 third_party/boringssl/crypto/bn/gcd.c \
312 third_party/boringssl/crypto/bn/generic.c \
313 third_party/boringssl/crypto/bn/kronecker.c \
314 third_party/boringssl/crypto/bn/montgomery.c \
315 third_party/boringssl/crypto/bn/mul.c \
316 third_party/boringssl/crypto/bn/prime.c \
317 third_party/boringssl/crypto/bn/random.c \
318 third_party/boringssl/crypto/bn/rsaz_exp.c \
319 third_party/boringssl/crypto/bn/shift.c \
320 third_party/boringssl/crypto/bn/sqrt.c \
321 third_party/boringssl/crypto/buf/buf.c \
itessier2a522032016-04-19 17:38:51 -0700322 third_party/boringssl/crypto/bytestring/asn1_compat.c \
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800323 third_party/boringssl/crypto/bytestring/ber.c \
324 third_party/boringssl/crypto/bytestring/cbb.c \
325 third_party/boringssl/crypto/bytestring/cbs.c \
326 third_party/boringssl/crypto/chacha/chacha_generic.c \
327 third_party/boringssl/crypto/chacha/chacha_vec.c \
328 third_party/boringssl/crypto/cipher/aead.c \
329 third_party/boringssl/crypto/cipher/cipher.c \
330 third_party/boringssl/crypto/cipher/derive_key.c \
331 third_party/boringssl/crypto/cipher/e_aes.c \
332 third_party/boringssl/crypto/cipher/e_chacha20poly1305.c \
333 third_party/boringssl/crypto/cipher/e_des.c \
334 third_party/boringssl/crypto/cipher/e_null.c \
335 third_party/boringssl/crypto/cipher/e_rc2.c \
336 third_party/boringssl/crypto/cipher/e_rc4.c \
337 third_party/boringssl/crypto/cipher/e_ssl3.c \
338 third_party/boringssl/crypto/cipher/e_tls.c \
339 third_party/boringssl/crypto/cipher/tls_cbc.c \
340 third_party/boringssl/crypto/cmac/cmac.c \
341 third_party/boringssl/crypto/conf/conf.c \
342 third_party/boringssl/crypto/cpu-arm.c \
343 third_party/boringssl/crypto/cpu-intel.c \
344 third_party/boringssl/crypto/crypto.c \
345 third_party/boringssl/crypto/curve25519/curve25519.c \
itessier2a522032016-04-19 17:38:51 -0700346 third_party/boringssl/crypto/curve25519/x25519-x86_64.c \
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800347 third_party/boringssl/crypto/des/des.c \
348 third_party/boringssl/crypto/dh/check.c \
349 third_party/boringssl/crypto/dh/dh.c \
350 third_party/boringssl/crypto/dh/dh_asn1.c \
351 third_party/boringssl/crypto/dh/params.c \
352 third_party/boringssl/crypto/digest/digest.c \
353 third_party/boringssl/crypto/digest/digests.c \
354 third_party/boringssl/crypto/directory_posix.c \
355 third_party/boringssl/crypto/directory_win.c \
356 third_party/boringssl/crypto/dsa/dsa.c \
357 third_party/boringssl/crypto/dsa/dsa_asn1.c \
358 third_party/boringssl/crypto/ec/ec.c \
359 third_party/boringssl/crypto/ec/ec_asn1.c \
360 third_party/boringssl/crypto/ec/ec_key.c \
361 third_party/boringssl/crypto/ec/ec_montgomery.c \
362 third_party/boringssl/crypto/ec/oct.c \
363 third_party/boringssl/crypto/ec/p224-64.c \
364 third_party/boringssl/crypto/ec/p256-64.c \
365 third_party/boringssl/crypto/ec/p256-x86_64.c \
366 third_party/boringssl/crypto/ec/simple.c \
367 third_party/boringssl/crypto/ec/util-64.c \
368 third_party/boringssl/crypto/ec/wnaf.c \
369 third_party/boringssl/crypto/ecdh/ecdh.c \
370 third_party/boringssl/crypto/ecdsa/ecdsa.c \
371 third_party/boringssl/crypto/ecdsa/ecdsa_asn1.c \
372 third_party/boringssl/crypto/engine/engine.c \
373 third_party/boringssl/crypto/err/err.c \
374 third_party/boringssl/crypto/evp/algorithm.c \
375 third_party/boringssl/crypto/evp/digestsign.c \
376 third_party/boringssl/crypto/evp/evp.c \
377 third_party/boringssl/crypto/evp/evp_asn1.c \
378 third_party/boringssl/crypto/evp/evp_ctx.c \
379 third_party/boringssl/crypto/evp/p_dsa_asn1.c \
380 third_party/boringssl/crypto/evp/p_ec.c \
381 third_party/boringssl/crypto/evp/p_ec_asn1.c \
382 third_party/boringssl/crypto/evp/p_rsa.c \
383 third_party/boringssl/crypto/evp/p_rsa_asn1.c \
384 third_party/boringssl/crypto/evp/pbkdf.c \
385 third_party/boringssl/crypto/evp/sign.c \
386 third_party/boringssl/crypto/ex_data.c \
387 third_party/boringssl/crypto/hkdf/hkdf.c \
388 third_party/boringssl/crypto/hmac/hmac.c \
389 third_party/boringssl/crypto/lhash/lhash.c \
390 third_party/boringssl/crypto/md4/md4.c \
391 third_party/boringssl/crypto/md5/md5.c \
392 third_party/boringssl/crypto/mem.c \
393 third_party/boringssl/crypto/modes/cbc.c \
394 third_party/boringssl/crypto/modes/cfb.c \
395 third_party/boringssl/crypto/modes/ctr.c \
396 third_party/boringssl/crypto/modes/gcm.c \
397 third_party/boringssl/crypto/modes/ofb.c \
398 third_party/boringssl/crypto/obj/obj.c \
399 third_party/boringssl/crypto/obj/obj_xref.c \
400 third_party/boringssl/crypto/pem/pem_all.c \
401 third_party/boringssl/crypto/pem/pem_info.c \
402 third_party/boringssl/crypto/pem/pem_lib.c \
403 third_party/boringssl/crypto/pem/pem_oth.c \
404 third_party/boringssl/crypto/pem/pem_pk8.c \
405 third_party/boringssl/crypto/pem/pem_pkey.c \
406 third_party/boringssl/crypto/pem/pem_x509.c \
407 third_party/boringssl/crypto/pem/pem_xaux.c \
408 third_party/boringssl/crypto/pkcs8/p5_pbe.c \
409 third_party/boringssl/crypto/pkcs8/p5_pbev2.c \
410 third_party/boringssl/crypto/pkcs8/p8_pkey.c \
411 third_party/boringssl/crypto/pkcs8/pkcs8.c \
412 third_party/boringssl/crypto/poly1305/poly1305.c \
413 third_party/boringssl/crypto/poly1305/poly1305_arm.c \
414 third_party/boringssl/crypto/poly1305/poly1305_vec.c \
415 third_party/boringssl/crypto/rand/rand.c \
416 third_party/boringssl/crypto/rand/urandom.c \
417 third_party/boringssl/crypto/rand/windows.c \
418 third_party/boringssl/crypto/rc4/rc4.c \
419 third_party/boringssl/crypto/refcount_c11.c \
420 third_party/boringssl/crypto/refcount_lock.c \
421 third_party/boringssl/crypto/rsa/blinding.c \
422 third_party/boringssl/crypto/rsa/padding.c \
423 third_party/boringssl/crypto/rsa/rsa.c \
424 third_party/boringssl/crypto/rsa/rsa_asn1.c \
425 third_party/boringssl/crypto/rsa/rsa_impl.c \
426 third_party/boringssl/crypto/sha/sha1.c \
427 third_party/boringssl/crypto/sha/sha256.c \
428 third_party/boringssl/crypto/sha/sha512.c \
429 third_party/boringssl/crypto/stack/stack.c \
430 third_party/boringssl/crypto/thread.c \
431 third_party/boringssl/crypto/thread_none.c \
432 third_party/boringssl/crypto/thread_pthread.c \
433 third_party/boringssl/crypto/thread_win.c \
434 third_party/boringssl/crypto/time_support.c \
435 third_party/boringssl/crypto/x509/a_digest.c \
436 third_party/boringssl/crypto/x509/a_sign.c \
437 third_party/boringssl/crypto/x509/a_strex.c \
438 third_party/boringssl/crypto/x509/a_verify.c \
439 third_party/boringssl/crypto/x509/asn1_gen.c \
440 third_party/boringssl/crypto/x509/by_dir.c \
441 third_party/boringssl/crypto/x509/by_file.c \
442 third_party/boringssl/crypto/x509/i2d_pr.c \
443 third_party/boringssl/crypto/x509/pkcs7.c \
444 third_party/boringssl/crypto/x509/t_crl.c \
445 third_party/boringssl/crypto/x509/t_req.c \
446 third_party/boringssl/crypto/x509/t_x509.c \
447 third_party/boringssl/crypto/x509/t_x509a.c \
448 third_party/boringssl/crypto/x509/x509.c \
449 third_party/boringssl/crypto/x509/x509_att.c \
450 third_party/boringssl/crypto/x509/x509_cmp.c \
451 third_party/boringssl/crypto/x509/x509_d2.c \
452 third_party/boringssl/crypto/x509/x509_def.c \
453 third_party/boringssl/crypto/x509/x509_ext.c \
454 third_party/boringssl/crypto/x509/x509_lu.c \
455 third_party/boringssl/crypto/x509/x509_obj.c \
456 third_party/boringssl/crypto/x509/x509_r2x.c \
457 third_party/boringssl/crypto/x509/x509_req.c \
458 third_party/boringssl/crypto/x509/x509_set.c \
459 third_party/boringssl/crypto/x509/x509_trs.c \
460 third_party/boringssl/crypto/x509/x509_txt.c \
461 third_party/boringssl/crypto/x509/x509_v3.c \
462 third_party/boringssl/crypto/x509/x509_vfy.c \
463 third_party/boringssl/crypto/x509/x509_vpm.c \
464 third_party/boringssl/crypto/x509/x509cset.c \
465 third_party/boringssl/crypto/x509/x509name.c \
466 third_party/boringssl/crypto/x509/x509rset.c \
467 third_party/boringssl/crypto/x509/x509spki.c \
468 third_party/boringssl/crypto/x509/x509type.c \
469 third_party/boringssl/crypto/x509/x_algor.c \
470 third_party/boringssl/crypto/x509/x_all.c \
471 third_party/boringssl/crypto/x509/x_attrib.c \
472 third_party/boringssl/crypto/x509/x_crl.c \
473 third_party/boringssl/crypto/x509/x_exten.c \
474 third_party/boringssl/crypto/x509/x_info.c \
475 third_party/boringssl/crypto/x509/x_name.c \
476 third_party/boringssl/crypto/x509/x_pkey.c \
477 third_party/boringssl/crypto/x509/x_pubkey.c \
478 third_party/boringssl/crypto/x509/x_req.c \
479 third_party/boringssl/crypto/x509/x_sig.c \
480 third_party/boringssl/crypto/x509/x_spki.c \
481 third_party/boringssl/crypto/x509/x_val.c \
482 third_party/boringssl/crypto/x509/x_x509.c \
483 third_party/boringssl/crypto/x509/x_x509a.c \
484 third_party/boringssl/crypto/x509v3/pcy_cache.c \
485 third_party/boringssl/crypto/x509v3/pcy_data.c \
486 third_party/boringssl/crypto/x509v3/pcy_lib.c \
487 third_party/boringssl/crypto/x509v3/pcy_map.c \
488 third_party/boringssl/crypto/x509v3/pcy_node.c \
489 third_party/boringssl/crypto/x509v3/pcy_tree.c \
490 third_party/boringssl/crypto/x509v3/v3_akey.c \
491 third_party/boringssl/crypto/x509v3/v3_akeya.c \
492 third_party/boringssl/crypto/x509v3/v3_alt.c \
493 third_party/boringssl/crypto/x509v3/v3_bcons.c \
494 third_party/boringssl/crypto/x509v3/v3_bitst.c \
495 third_party/boringssl/crypto/x509v3/v3_conf.c \
496 third_party/boringssl/crypto/x509v3/v3_cpols.c \
497 third_party/boringssl/crypto/x509v3/v3_crld.c \
498 third_party/boringssl/crypto/x509v3/v3_enum.c \
499 third_party/boringssl/crypto/x509v3/v3_extku.c \
500 third_party/boringssl/crypto/x509v3/v3_genn.c \
501 third_party/boringssl/crypto/x509v3/v3_ia5.c \
502 third_party/boringssl/crypto/x509v3/v3_info.c \
503 third_party/boringssl/crypto/x509v3/v3_int.c \
504 third_party/boringssl/crypto/x509v3/v3_lib.c \
505 third_party/boringssl/crypto/x509v3/v3_ncons.c \
506 third_party/boringssl/crypto/x509v3/v3_pci.c \
507 third_party/boringssl/crypto/x509v3/v3_pcia.c \
508 third_party/boringssl/crypto/x509v3/v3_pcons.c \
509 third_party/boringssl/crypto/x509v3/v3_pku.c \
510 third_party/boringssl/crypto/x509v3/v3_pmaps.c \
511 third_party/boringssl/crypto/x509v3/v3_prn.c \
512 third_party/boringssl/crypto/x509v3/v3_purp.c \
513 third_party/boringssl/crypto/x509v3/v3_skey.c \
514 third_party/boringssl/crypto/x509v3/v3_sxnet.c \
515 third_party/boringssl/crypto/x509v3/v3_utl.c \
516 third_party/boringssl/ssl/custom_extensions.c \
517 third_party/boringssl/ssl/d1_both.c \
518 third_party/boringssl/ssl/d1_clnt.c \
519 third_party/boringssl/ssl/d1_lib.c \
520 third_party/boringssl/ssl/d1_meth.c \
521 third_party/boringssl/ssl/d1_pkt.c \
522 third_party/boringssl/ssl/d1_srtp.c \
523 third_party/boringssl/ssl/d1_srvr.c \
524 third_party/boringssl/ssl/dtls_record.c \
525 third_party/boringssl/ssl/pqueue/pqueue.c \
526 third_party/boringssl/ssl/s3_both.c \
527 third_party/boringssl/ssl/s3_clnt.c \
528 third_party/boringssl/ssl/s3_enc.c \
529 third_party/boringssl/ssl/s3_lib.c \
530 third_party/boringssl/ssl/s3_meth.c \
531 third_party/boringssl/ssl/s3_pkt.c \
532 third_party/boringssl/ssl/s3_srvr.c \
533 third_party/boringssl/ssl/ssl_aead_ctx.c \
534 third_party/boringssl/ssl/ssl_asn1.c \
535 third_party/boringssl/ssl/ssl_buffer.c \
536 third_party/boringssl/ssl/ssl_cert.c \
537 third_party/boringssl/ssl/ssl_cipher.c \
itessier2a522032016-04-19 17:38:51 -0700538 third_party/boringssl/ssl/ssl_ecdh.c \
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800539 third_party/boringssl/ssl/ssl_file.c \
540 third_party/boringssl/ssl/ssl_lib.c \
541 third_party/boringssl/ssl/ssl_rsa.c \
542 third_party/boringssl/ssl/ssl_session.c \
543 third_party/boringssl/ssl/ssl_stat.c \
544 third_party/boringssl/ssl/t1_enc.c \
545 third_party/boringssl/ssl/t1_lib.c \
546 third_party/boringssl/ssl/tls_record.c \
Stanley Cheung5ade2d42016-02-25 13:44:05 -0800547 , $ext_shared, , -Wall -Werror \
548 -Wno-parentheses-equality -Wno-unused-value -std=c11 \
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800549 -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN \
550 -D_HAS_EXCEPTIONS=0 -DNOMINMAX)
Stanley Cheung80db5be2016-02-24 21:35:56 -0800551
552 PHP_ADD_BUILD_DIR($ext_builddir/src/php/ext/grpc)
553
554 PHP_ADD_BUILD_DIR($ext_builddir/src/boringssl)
Craig Tiller8f8e9f92016-03-29 09:41:28 -0700555 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/census)
Craig Tillerd4c98332016-03-31 13:45:47 -0700556 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/client_config)
Craig Tiller023caf12016-03-29 08:00:30 -0700557 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/lb_policy/grpclb)
558 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0)
559 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/lb_policy/pick_first)
560 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/lb_policy/round_robin)
Craig Tiller65938df2016-03-31 13:08:49 -0700561 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/resolver/dns/native)
562 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/resolver/sockaddr)
Craig Tillerf82ddc42016-04-05 17:15:07 -0700563 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/alpn)
Craig Tillerc7762a82016-03-28 10:13:08 -0700564 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/client/insecure)
565 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/client/secure)
566 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/server/insecure)
567 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/server/secure)
568 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/transport)
Craig Tillerf23078c2016-03-25 17:07:29 -0700569 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/channel)
Craig Tillerf23078c2016-03-25 17:07:29 -0700570 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/compression)
571 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/debug)
572 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/http)
573 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/iomgr)
574 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/json)
575 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/profiling)
Craig Tillerf23078c2016-03-25 17:07:29 -0700576 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security)
577 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/support)
578 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/surface)
579 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/transport)
Craig Tillerf23078c2016-03-25 17:07:29 -0700580 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/tsi)
Craig Tillerfb433852016-03-29 08:51:07 -0700581 PHP_ADD_BUILD_DIR($ext_builddir/src/core/plugin_registry)
Stanley Cheung80db5be2016-02-24 21:35:56 -0800582 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto)
583 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/aes)
584 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/asn1)
585 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/base64)
586 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/bio)
587 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/bn)
588 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/bn/asm)
589 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/buf)
590 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/bytestring)
591 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/chacha)
592 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/cipher)
593 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/cmac)
594 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/conf)
595 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/curve25519)
596 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/des)
597 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/dh)
598 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/digest)
599 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/dsa)
600 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/ec)
601 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/ecdh)
602 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/ecdsa)
603 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/engine)
604 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/err)
605 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/evp)
606 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/hkdf)
607 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/hmac)
608 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/lhash)
609 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/md4)
610 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/md5)
611 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/modes)
612 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/obj)
613 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/pem)
614 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/pkcs8)
615 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/poly1305)
616 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/rand)
617 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/rc4)
618 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/rsa)
619 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/sha)
620 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/stack)
621 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/x509)
622 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/x509v3)
623 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/ssl)
624 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/ssl/pqueue)
625 PHP_ADD_BUILD_DIR($ext_builddir/third_party/nanopb)
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800626fi