blob: f770e8b2d86ddae779e8984be12d3c675c590a21 [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 \
Craig Tillerf23078c2016-03-25 17:07:29 -070054 src/core/lib/support/log.c \
55 src/core/lib/support/log_android.c \
56 src/core/lib/support/log_linux.c \
57 src/core/lib/support/log_posix.c \
Yuchen Zeng12dfdc32016-04-26 22:05:41 -070058 src/core/lib/support/log_windows.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070059 src/core/lib/support/murmur_hash.c \
60 src/core/lib/support/slice.c \
61 src/core/lib/support/slice_buffer.c \
62 src/core/lib/support/stack_lockfree.c \
63 src/core/lib/support/string.c \
64 src/core/lib/support/string_posix.c \
Yuchen Zeng4594bd92016-05-31 14:06:01 -070065 src/core/lib/support/string_util_windows.c \
Yuchen Zeng12dfdc32016-04-26 22:05:41 -070066 src/core/lib/support/string_windows.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070067 src/core/lib/support/subprocess_posix.c \
68 src/core/lib/support/subprocess_windows.c \
69 src/core/lib/support/sync.c \
70 src/core/lib/support/sync_posix.c \
Yuchen Zeng12dfdc32016-04-26 22:05:41 -070071 src/core/lib/support/sync_windows.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070072 src/core/lib/support/thd.c \
73 src/core/lib/support/thd_posix.c \
Yuchen Zeng12dfdc32016-04-26 22:05:41 -070074 src/core/lib/support/thd_windows.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070075 src/core/lib/support/time.c \
76 src/core/lib/support/time_posix.c \
77 src/core/lib/support/time_precise.c \
Yuchen Zeng12dfdc32016-04-26 22:05:41 -070078 src/core/lib/support/time_windows.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070079 src/core/lib/support/tls_pthread.c \
Nicolas "Pixel" Noblec4b18a52016-04-15 04:53:54 +020080 src/core/lib/support/tmpfile_msys.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070081 src/core/lib/support/tmpfile_posix.c \
Yuchen Zeng12dfdc32016-04-26 22:05:41 -070082 src/core/lib/support/tmpfile_windows.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070083 src/core/lib/support/wrap_memcpy.c \
Craig Tiller3ab2fe02016-04-11 20:11:18 -070084 src/core/lib/surface/init.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070085 src/core/lib/channel/channel_args.c \
86 src/core/lib/channel/channel_stack.c \
87 src/core/lib/channel/channel_stack_builder.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070088 src/core/lib/channel/compress_filter.c \
89 src/core/lib/channel/connected_channel.c \
90 src/core/lib/channel/http_client_filter.c \
91 src/core/lib/channel/http_server_filter.c \
David Garcia Quintasac094472016-05-18 20:25:57 -070092 src/core/lib/compression/compression.c \
Craig Tillerf23078c2016-03-25 17:07:29 -070093 src/core/lib/compression/message_compress.c \
94 src/core/lib/debug/trace.c \
95 src/core/lib/http/format_request.c \
96 src/core/lib/http/httpcli.c \
97 src/core/lib/http/parser.c \
98 src/core/lib/iomgr/closure.c \
99 src/core/lib/iomgr/endpoint.c \
100 src/core/lib/iomgr/endpoint_pair_posix.c \
101 src/core/lib/iomgr/endpoint_pair_windows.c \
Craig Tiller27f59af2016-04-28 14:19:48 -0700102 src/core/lib/iomgr/error.c \
Craig Tiller69f3e2b2016-05-31 13:45:24 -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 \
Craig Tiller85178862016-05-18 16:09:16 -0700112 src/core/lib/iomgr/load_file.c \
David Garcia Quintas2a50dfe2016-05-31 15:09:12 -0700113 src/core/lib/iomgr/polling_entity.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700114 src/core/lib/iomgr/pollset_set_windows.c \
115 src/core/lib/iomgr/pollset_windows.c \
116 src/core/lib/iomgr/resolve_address_posix.c \
117 src/core/lib/iomgr/resolve_address_windows.c \
118 src/core/lib/iomgr/sockaddr_utils.c \
119 src/core/lib/iomgr/socket_utils_common_posix.c \
120 src/core/lib/iomgr/socket_utils_linux.c \
121 src/core/lib/iomgr/socket_utils_posix.c \
122 src/core/lib/iomgr/socket_windows.c \
123 src/core/lib/iomgr/tcp_client_posix.c \
124 src/core/lib/iomgr/tcp_client_windows.c \
125 src/core/lib/iomgr/tcp_posix.c \
126 src/core/lib/iomgr/tcp_server_posix.c \
127 src/core/lib/iomgr/tcp_server_windows.c \
128 src/core/lib/iomgr/tcp_windows.c \
129 src/core/lib/iomgr/time_averaged_stats.c \
130 src/core/lib/iomgr/timer.c \
131 src/core/lib/iomgr/timer_heap.c \
132 src/core/lib/iomgr/udp_server.c \
133 src/core/lib/iomgr/unix_sockets_posix.c \
134 src/core/lib/iomgr/unix_sockets_posix_noop.c \
135 src/core/lib/iomgr/wakeup_fd_eventfd.c \
136 src/core/lib/iomgr/wakeup_fd_nospecial.c \
137 src/core/lib/iomgr/wakeup_fd_pipe.c \
138 src/core/lib/iomgr/wakeup_fd_posix.c \
139 src/core/lib/iomgr/workqueue_posix.c \
140 src/core/lib/iomgr/workqueue_windows.c \
141 src/core/lib/json/json.c \
142 src/core/lib/json/json_reader.c \
143 src/core/lib/json/json_string.c \
144 src/core/lib/json/json_writer.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700145 src/core/lib/surface/alarm.c \
146 src/core/lib/surface/api_trace.c \
147 src/core/lib/surface/byte_buffer.c \
148 src/core/lib/surface/byte_buffer_reader.c \
149 src/core/lib/surface/call.c \
150 src/core/lib/surface/call_details.c \
151 src/core/lib/surface/call_log_batch.c \
152 src/core/lib/surface/channel.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700153 src/core/lib/surface/channel_init.c \
154 src/core/lib/surface/channel_ping.c \
155 src/core/lib/surface/channel_stack_type.c \
156 src/core/lib/surface/completion_queue.c \
157 src/core/lib/surface/event_string.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700158 src/core/lib/surface/lame_client.c \
159 src/core/lib/surface/metadata_array.c \
160 src/core/lib/surface/server.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700161 src/core/lib/surface/validate_metadata.c \
162 src/core/lib/surface/version.c \
163 src/core/lib/transport/byte_stream.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700164 src/core/lib/transport/connectivity_state.c \
165 src/core/lib/transport/metadata.c \
166 src/core/lib/transport/metadata_batch.c \
167 src/core/lib/transport/static_metadata.c \
168 src/core/lib/transport/transport.c \
169 src/core/lib/transport/transport_op_string.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700170 src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c \
171 src/core/ext/transport/chttp2/transport/bin_encoder.c \
172 src/core/ext/transport/chttp2/transport/chttp2_plugin.c \
173 src/core/ext/transport/chttp2/transport/chttp2_transport.c \
174 src/core/ext/transport/chttp2/transport/frame_data.c \
175 src/core/ext/transport/chttp2/transport/frame_goaway.c \
176 src/core/ext/transport/chttp2/transport/frame_ping.c \
177 src/core/ext/transport/chttp2/transport/frame_rst_stream.c \
178 src/core/ext/transport/chttp2/transport/frame_settings.c \
179 src/core/ext/transport/chttp2/transport/frame_window_update.c \
180 src/core/ext/transport/chttp2/transport/hpack_encoder.c \
181 src/core/ext/transport/chttp2/transport/hpack_parser.c \
182 src/core/ext/transport/chttp2/transport/hpack_table.c \
183 src/core/ext/transport/chttp2/transport/huffsyms.c \
184 src/core/ext/transport/chttp2/transport/incoming_metadata.c \
185 src/core/ext/transport/chttp2/transport/parsing.c \
186 src/core/ext/transport/chttp2/transport/status_conversion.c \
187 src/core/ext/transport/chttp2/transport/stream_lists.c \
188 src/core/ext/transport/chttp2/transport/stream_map.c \
189 src/core/ext/transport/chttp2/transport/timeout_encoding.c \
190 src/core/ext/transport/chttp2/transport/varint.c \
191 src/core/ext/transport/chttp2/transport/writing.c \
192 src/core/ext/transport/chttp2/alpn/alpn.c \
193 src/core/lib/http/httpcli_security_connector.c \
Julien Boeuf8ca294e2016-05-02 14:56:30 -0700194 src/core/lib/security/context/security_context.c \
195 src/core/lib/security/credentials/composite/composite_credentials.c \
196 src/core/lib/security/credentials/credentials.c \
197 src/core/lib/security/credentials/credentials_metadata.c \
198 src/core/lib/security/credentials/fake/fake_credentials.c \
199 src/core/lib/security/credentials/google_default/credentials_posix.c \
Yuchen Zeng4594bd92016-05-31 14:06:01 -0700200 src/core/lib/security/credentials/google_default/credentials_windows.c \
Julien Boeuf8ca294e2016-05-02 14:56:30 -0700201 src/core/lib/security/credentials/google_default/google_default_credentials.c \
202 src/core/lib/security/credentials/iam/iam_credentials.c \
203 src/core/lib/security/credentials/jwt/json_token.c \
204 src/core/lib/security/credentials/jwt/jwt_credentials.c \
205 src/core/lib/security/credentials/jwt/jwt_verifier.c \
206 src/core/lib/security/credentials/oauth2/oauth2_credentials.c \
207 src/core/lib/security/credentials/plugin/plugin_credentials.c \
208 src/core/lib/security/credentials/ssl/ssl_credentials.c \
209 src/core/lib/security/transport/client_auth_filter.c \
210 src/core/lib/security/transport/handshake.c \
211 src/core/lib/security/transport/secure_endpoint.c \
212 src/core/lib/security/transport/security_connector.c \
213 src/core/lib/security/transport/server_auth_filter.c \
Craig Tillerddad9782016-05-05 17:11:31 -0700214 src/core/lib/security/transport/tsi_error.c \
Julien Boeuf8ca294e2016-05-02 14:56:30 -0700215 src/core/lib/security/util/b64.c \
216 src/core/lib/security/util/json_util.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700217 src/core/lib/surface/init_secure.c \
Craig Tillerf23078c2016-03-25 17:07:29 -0700218 src/core/lib/tsi/fake_transport_security.c \
219 src/core/lib/tsi/ssl_transport_security.c \
220 src/core/lib/tsi/transport_security.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700221 src/core/ext/transport/chttp2/client/secure/secure_channel_create.c \
222 src/core/ext/client_config/channel_connectivity.c \
223 src/core/ext/client_config/client_channel.c \
224 src/core/ext/client_config/client_channel_factory.c \
225 src/core/ext/client_config/client_config.c \
226 src/core/ext/client_config/client_config_plugin.c \
227 src/core/ext/client_config/connector.c \
228 src/core/ext/client_config/default_initial_connect_string.c \
229 src/core/ext/client_config/initial_connect_string.c \
230 src/core/ext/client_config/lb_policy.c \
231 src/core/ext/client_config/lb_policy_factory.c \
232 src/core/ext/client_config/lb_policy_registry.c \
David Garcia Quintas9885bff2016-04-07 17:31:29 -0700233 src/core/ext/client_config/parse_address.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700234 src/core/ext/client_config/resolver.c \
235 src/core/ext/client_config/resolver_factory.c \
236 src/core/ext/client_config/resolver_registry.c \
237 src/core/ext/client_config/subchannel.c \
238 src/core/ext/client_config/subchannel_call_holder.c \
239 src/core/ext/client_config/subchannel_index.c \
240 src/core/ext/client_config/uri_parser.c \
241 src/core/ext/transport/chttp2/server/insecure/server_chttp2.c \
Adam Michalikbf10c822016-05-20 16:13:32 -0700242 src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700243 src/core/ext/transport/chttp2/client/insecure/channel_create.c \
Adam Michalik321b1fb2016-05-16 15:42:36 -0700244 src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700245 src/core/ext/lb_policy/grpclb/load_balancer_api.c \
David Garcia Quintas7f0793a2016-04-25 12:35:58 -0700246 src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c \
Stanley Cheungbf74d692016-02-23 22:39:25 -0800247 third_party/nanopb/pb_common.c \
248 third_party/nanopb/pb_decode.c \
249 third_party/nanopb/pb_encode.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700250 src/core/ext/lb_policy/pick_first/pick_first.c \
251 src/core/ext/lb_policy/round_robin/round_robin.c \
252 src/core/ext/resolver/dns/native/dns_resolver.c \
253 src/core/ext/resolver/sockaddr/sockaddr_resolver.c \
David Garcia Quintasb41363e2016-04-29 00:41:21 -0700254 src/core/ext/load_reporting/load_reporting.c \
255 src/core/ext/load_reporting/load_reporting_filter.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700256 src/core/ext/census/context.c \
Alistair Veitch30fe6322016-05-23 10:11:28 -0700257 src/core/ext/census/gen/census.pb.c \
Craig Tiller03915e52016-04-07 09:15:10 -0700258 src/core/ext/census/grpc_context.c \
259 src/core/ext/census/grpc_filter.c \
260 src/core/ext/census/grpc_plugin.c \
261 src/core/ext/census/initialize.c \
262 src/core/ext/census/mlog.c \
263 src/core/ext/census/operation.c \
264 src/core/ext/census/placeholders.c \
265 src/core/ext/census/tracing.c \
266 src/core/plugin_registry/grpc_plugin_registry.c \
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800267 src/boringssl/err_data.c \
268 third_party/boringssl/crypto/aes/aes.c \
269 third_party/boringssl/crypto/aes/mode_wrappers.c \
270 third_party/boringssl/crypto/asn1/a_bitstr.c \
271 third_party/boringssl/crypto/asn1/a_bool.c \
272 third_party/boringssl/crypto/asn1/a_bytes.c \
273 third_party/boringssl/crypto/asn1/a_d2i_fp.c \
274 third_party/boringssl/crypto/asn1/a_dup.c \
275 third_party/boringssl/crypto/asn1/a_enum.c \
276 third_party/boringssl/crypto/asn1/a_gentm.c \
277 third_party/boringssl/crypto/asn1/a_i2d_fp.c \
278 third_party/boringssl/crypto/asn1/a_int.c \
279 third_party/boringssl/crypto/asn1/a_mbstr.c \
280 third_party/boringssl/crypto/asn1/a_object.c \
281 third_party/boringssl/crypto/asn1/a_octet.c \
282 third_party/boringssl/crypto/asn1/a_print.c \
283 third_party/boringssl/crypto/asn1/a_strnid.c \
284 third_party/boringssl/crypto/asn1/a_time.c \
285 third_party/boringssl/crypto/asn1/a_type.c \
286 third_party/boringssl/crypto/asn1/a_utctm.c \
287 third_party/boringssl/crypto/asn1/a_utf8.c \
288 third_party/boringssl/crypto/asn1/asn1_lib.c \
289 third_party/boringssl/crypto/asn1/asn1_par.c \
290 third_party/boringssl/crypto/asn1/asn_pack.c \
291 third_party/boringssl/crypto/asn1/bio_asn1.c \
292 third_party/boringssl/crypto/asn1/bio_ndef.c \
293 third_party/boringssl/crypto/asn1/f_enum.c \
294 third_party/boringssl/crypto/asn1/f_int.c \
295 third_party/boringssl/crypto/asn1/f_string.c \
296 third_party/boringssl/crypto/asn1/t_bitst.c \
297 third_party/boringssl/crypto/asn1/t_pkey.c \
298 third_party/boringssl/crypto/asn1/tasn_dec.c \
299 third_party/boringssl/crypto/asn1/tasn_enc.c \
300 third_party/boringssl/crypto/asn1/tasn_fre.c \
301 third_party/boringssl/crypto/asn1/tasn_new.c \
302 third_party/boringssl/crypto/asn1/tasn_prn.c \
303 third_party/boringssl/crypto/asn1/tasn_typ.c \
304 third_party/boringssl/crypto/asn1/tasn_utl.c \
305 third_party/boringssl/crypto/asn1/x_bignum.c \
306 third_party/boringssl/crypto/asn1/x_long.c \
307 third_party/boringssl/crypto/base64/base64.c \
308 third_party/boringssl/crypto/bio/bio.c \
309 third_party/boringssl/crypto/bio/bio_mem.c \
310 third_party/boringssl/crypto/bio/buffer.c \
311 third_party/boringssl/crypto/bio/connect.c \
312 third_party/boringssl/crypto/bio/fd.c \
313 third_party/boringssl/crypto/bio/file.c \
314 third_party/boringssl/crypto/bio/hexdump.c \
315 third_party/boringssl/crypto/bio/pair.c \
316 third_party/boringssl/crypto/bio/printf.c \
317 third_party/boringssl/crypto/bio/socket.c \
318 third_party/boringssl/crypto/bio/socket_helper.c \
319 third_party/boringssl/crypto/bn/add.c \
320 third_party/boringssl/crypto/bn/asm/x86_64-gcc.c \
321 third_party/boringssl/crypto/bn/bn.c \
322 third_party/boringssl/crypto/bn/bn_asn1.c \
323 third_party/boringssl/crypto/bn/cmp.c \
324 third_party/boringssl/crypto/bn/convert.c \
325 third_party/boringssl/crypto/bn/ctx.c \
326 third_party/boringssl/crypto/bn/div.c \
327 third_party/boringssl/crypto/bn/exponentiation.c \
328 third_party/boringssl/crypto/bn/gcd.c \
329 third_party/boringssl/crypto/bn/generic.c \
330 third_party/boringssl/crypto/bn/kronecker.c \
331 third_party/boringssl/crypto/bn/montgomery.c \
332 third_party/boringssl/crypto/bn/mul.c \
333 third_party/boringssl/crypto/bn/prime.c \
334 third_party/boringssl/crypto/bn/random.c \
335 third_party/boringssl/crypto/bn/rsaz_exp.c \
336 third_party/boringssl/crypto/bn/shift.c \
337 third_party/boringssl/crypto/bn/sqrt.c \
338 third_party/boringssl/crypto/buf/buf.c \
itessier2a522032016-04-19 17:38:51 -0700339 third_party/boringssl/crypto/bytestring/asn1_compat.c \
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800340 third_party/boringssl/crypto/bytestring/ber.c \
341 third_party/boringssl/crypto/bytestring/cbb.c \
342 third_party/boringssl/crypto/bytestring/cbs.c \
343 third_party/boringssl/crypto/chacha/chacha_generic.c \
344 third_party/boringssl/crypto/chacha/chacha_vec.c \
345 third_party/boringssl/crypto/cipher/aead.c \
346 third_party/boringssl/crypto/cipher/cipher.c \
347 third_party/boringssl/crypto/cipher/derive_key.c \
348 third_party/boringssl/crypto/cipher/e_aes.c \
349 third_party/boringssl/crypto/cipher/e_chacha20poly1305.c \
350 third_party/boringssl/crypto/cipher/e_des.c \
351 third_party/boringssl/crypto/cipher/e_null.c \
352 third_party/boringssl/crypto/cipher/e_rc2.c \
353 third_party/boringssl/crypto/cipher/e_rc4.c \
354 third_party/boringssl/crypto/cipher/e_ssl3.c \
355 third_party/boringssl/crypto/cipher/e_tls.c \
356 third_party/boringssl/crypto/cipher/tls_cbc.c \
357 third_party/boringssl/crypto/cmac/cmac.c \
358 third_party/boringssl/crypto/conf/conf.c \
359 third_party/boringssl/crypto/cpu-arm.c \
360 third_party/boringssl/crypto/cpu-intel.c \
361 third_party/boringssl/crypto/crypto.c \
362 third_party/boringssl/crypto/curve25519/curve25519.c \
itessier2a522032016-04-19 17:38:51 -0700363 third_party/boringssl/crypto/curve25519/x25519-x86_64.c \
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800364 third_party/boringssl/crypto/des/des.c \
365 third_party/boringssl/crypto/dh/check.c \
366 third_party/boringssl/crypto/dh/dh.c \
367 third_party/boringssl/crypto/dh/dh_asn1.c \
368 third_party/boringssl/crypto/dh/params.c \
369 third_party/boringssl/crypto/digest/digest.c \
370 third_party/boringssl/crypto/digest/digests.c \
371 third_party/boringssl/crypto/directory_posix.c \
372 third_party/boringssl/crypto/directory_win.c \
373 third_party/boringssl/crypto/dsa/dsa.c \
374 third_party/boringssl/crypto/dsa/dsa_asn1.c \
375 third_party/boringssl/crypto/ec/ec.c \
376 third_party/boringssl/crypto/ec/ec_asn1.c \
377 third_party/boringssl/crypto/ec/ec_key.c \
378 third_party/boringssl/crypto/ec/ec_montgomery.c \
379 third_party/boringssl/crypto/ec/oct.c \
380 third_party/boringssl/crypto/ec/p224-64.c \
381 third_party/boringssl/crypto/ec/p256-64.c \
382 third_party/boringssl/crypto/ec/p256-x86_64.c \
383 third_party/boringssl/crypto/ec/simple.c \
384 third_party/boringssl/crypto/ec/util-64.c \
385 third_party/boringssl/crypto/ec/wnaf.c \
386 third_party/boringssl/crypto/ecdh/ecdh.c \
387 third_party/boringssl/crypto/ecdsa/ecdsa.c \
388 third_party/boringssl/crypto/ecdsa/ecdsa_asn1.c \
389 third_party/boringssl/crypto/engine/engine.c \
390 third_party/boringssl/crypto/err/err.c \
391 third_party/boringssl/crypto/evp/algorithm.c \
392 third_party/boringssl/crypto/evp/digestsign.c \
393 third_party/boringssl/crypto/evp/evp.c \
394 third_party/boringssl/crypto/evp/evp_asn1.c \
395 third_party/boringssl/crypto/evp/evp_ctx.c \
396 third_party/boringssl/crypto/evp/p_dsa_asn1.c \
397 third_party/boringssl/crypto/evp/p_ec.c \
398 third_party/boringssl/crypto/evp/p_ec_asn1.c \
399 third_party/boringssl/crypto/evp/p_rsa.c \
400 third_party/boringssl/crypto/evp/p_rsa_asn1.c \
401 third_party/boringssl/crypto/evp/pbkdf.c \
402 third_party/boringssl/crypto/evp/sign.c \
403 third_party/boringssl/crypto/ex_data.c \
404 third_party/boringssl/crypto/hkdf/hkdf.c \
405 third_party/boringssl/crypto/hmac/hmac.c \
406 third_party/boringssl/crypto/lhash/lhash.c \
407 third_party/boringssl/crypto/md4/md4.c \
408 third_party/boringssl/crypto/md5/md5.c \
409 third_party/boringssl/crypto/mem.c \
410 third_party/boringssl/crypto/modes/cbc.c \
411 third_party/boringssl/crypto/modes/cfb.c \
412 third_party/boringssl/crypto/modes/ctr.c \
413 third_party/boringssl/crypto/modes/gcm.c \
414 third_party/boringssl/crypto/modes/ofb.c \
415 third_party/boringssl/crypto/obj/obj.c \
416 third_party/boringssl/crypto/obj/obj_xref.c \
417 third_party/boringssl/crypto/pem/pem_all.c \
418 third_party/boringssl/crypto/pem/pem_info.c \
419 third_party/boringssl/crypto/pem/pem_lib.c \
420 third_party/boringssl/crypto/pem/pem_oth.c \
421 third_party/boringssl/crypto/pem/pem_pk8.c \
422 third_party/boringssl/crypto/pem/pem_pkey.c \
423 third_party/boringssl/crypto/pem/pem_x509.c \
424 third_party/boringssl/crypto/pem/pem_xaux.c \
425 third_party/boringssl/crypto/pkcs8/p5_pbe.c \
426 third_party/boringssl/crypto/pkcs8/p5_pbev2.c \
427 third_party/boringssl/crypto/pkcs8/p8_pkey.c \
428 third_party/boringssl/crypto/pkcs8/pkcs8.c \
429 third_party/boringssl/crypto/poly1305/poly1305.c \
430 third_party/boringssl/crypto/poly1305/poly1305_arm.c \
431 third_party/boringssl/crypto/poly1305/poly1305_vec.c \
432 third_party/boringssl/crypto/rand/rand.c \
433 third_party/boringssl/crypto/rand/urandom.c \
434 third_party/boringssl/crypto/rand/windows.c \
435 third_party/boringssl/crypto/rc4/rc4.c \
436 third_party/boringssl/crypto/refcount_c11.c \
437 third_party/boringssl/crypto/refcount_lock.c \
438 third_party/boringssl/crypto/rsa/blinding.c \
439 third_party/boringssl/crypto/rsa/padding.c \
440 third_party/boringssl/crypto/rsa/rsa.c \
441 third_party/boringssl/crypto/rsa/rsa_asn1.c \
442 third_party/boringssl/crypto/rsa/rsa_impl.c \
443 third_party/boringssl/crypto/sha/sha1.c \
444 third_party/boringssl/crypto/sha/sha256.c \
445 third_party/boringssl/crypto/sha/sha512.c \
446 third_party/boringssl/crypto/stack/stack.c \
447 third_party/boringssl/crypto/thread.c \
448 third_party/boringssl/crypto/thread_none.c \
449 third_party/boringssl/crypto/thread_pthread.c \
450 third_party/boringssl/crypto/thread_win.c \
451 third_party/boringssl/crypto/time_support.c \
452 third_party/boringssl/crypto/x509/a_digest.c \
453 third_party/boringssl/crypto/x509/a_sign.c \
454 third_party/boringssl/crypto/x509/a_strex.c \
455 third_party/boringssl/crypto/x509/a_verify.c \
456 third_party/boringssl/crypto/x509/asn1_gen.c \
457 third_party/boringssl/crypto/x509/by_dir.c \
458 third_party/boringssl/crypto/x509/by_file.c \
459 third_party/boringssl/crypto/x509/i2d_pr.c \
460 third_party/boringssl/crypto/x509/pkcs7.c \
461 third_party/boringssl/crypto/x509/t_crl.c \
462 third_party/boringssl/crypto/x509/t_req.c \
463 third_party/boringssl/crypto/x509/t_x509.c \
464 third_party/boringssl/crypto/x509/t_x509a.c \
465 third_party/boringssl/crypto/x509/x509.c \
466 third_party/boringssl/crypto/x509/x509_att.c \
467 third_party/boringssl/crypto/x509/x509_cmp.c \
468 third_party/boringssl/crypto/x509/x509_d2.c \
469 third_party/boringssl/crypto/x509/x509_def.c \
470 third_party/boringssl/crypto/x509/x509_ext.c \
471 third_party/boringssl/crypto/x509/x509_lu.c \
472 third_party/boringssl/crypto/x509/x509_obj.c \
473 third_party/boringssl/crypto/x509/x509_r2x.c \
474 third_party/boringssl/crypto/x509/x509_req.c \
475 third_party/boringssl/crypto/x509/x509_set.c \
476 third_party/boringssl/crypto/x509/x509_trs.c \
477 third_party/boringssl/crypto/x509/x509_txt.c \
478 third_party/boringssl/crypto/x509/x509_v3.c \
479 third_party/boringssl/crypto/x509/x509_vfy.c \
480 third_party/boringssl/crypto/x509/x509_vpm.c \
481 third_party/boringssl/crypto/x509/x509cset.c \
482 third_party/boringssl/crypto/x509/x509name.c \
483 third_party/boringssl/crypto/x509/x509rset.c \
484 third_party/boringssl/crypto/x509/x509spki.c \
485 third_party/boringssl/crypto/x509/x509type.c \
486 third_party/boringssl/crypto/x509/x_algor.c \
487 third_party/boringssl/crypto/x509/x_all.c \
488 third_party/boringssl/crypto/x509/x_attrib.c \
489 third_party/boringssl/crypto/x509/x_crl.c \
490 third_party/boringssl/crypto/x509/x_exten.c \
491 third_party/boringssl/crypto/x509/x_info.c \
492 third_party/boringssl/crypto/x509/x_name.c \
493 third_party/boringssl/crypto/x509/x_pkey.c \
494 third_party/boringssl/crypto/x509/x_pubkey.c \
495 third_party/boringssl/crypto/x509/x_req.c \
496 third_party/boringssl/crypto/x509/x_sig.c \
497 third_party/boringssl/crypto/x509/x_spki.c \
498 third_party/boringssl/crypto/x509/x_val.c \
499 third_party/boringssl/crypto/x509/x_x509.c \
500 third_party/boringssl/crypto/x509/x_x509a.c \
501 third_party/boringssl/crypto/x509v3/pcy_cache.c \
502 third_party/boringssl/crypto/x509v3/pcy_data.c \
503 third_party/boringssl/crypto/x509v3/pcy_lib.c \
504 third_party/boringssl/crypto/x509v3/pcy_map.c \
505 third_party/boringssl/crypto/x509v3/pcy_node.c \
506 third_party/boringssl/crypto/x509v3/pcy_tree.c \
507 third_party/boringssl/crypto/x509v3/v3_akey.c \
508 third_party/boringssl/crypto/x509v3/v3_akeya.c \
509 third_party/boringssl/crypto/x509v3/v3_alt.c \
510 third_party/boringssl/crypto/x509v3/v3_bcons.c \
511 third_party/boringssl/crypto/x509v3/v3_bitst.c \
512 third_party/boringssl/crypto/x509v3/v3_conf.c \
513 third_party/boringssl/crypto/x509v3/v3_cpols.c \
514 third_party/boringssl/crypto/x509v3/v3_crld.c \
515 third_party/boringssl/crypto/x509v3/v3_enum.c \
516 third_party/boringssl/crypto/x509v3/v3_extku.c \
517 third_party/boringssl/crypto/x509v3/v3_genn.c \
518 third_party/boringssl/crypto/x509v3/v3_ia5.c \
519 third_party/boringssl/crypto/x509v3/v3_info.c \
520 third_party/boringssl/crypto/x509v3/v3_int.c \
521 third_party/boringssl/crypto/x509v3/v3_lib.c \
522 third_party/boringssl/crypto/x509v3/v3_ncons.c \
523 third_party/boringssl/crypto/x509v3/v3_pci.c \
524 third_party/boringssl/crypto/x509v3/v3_pcia.c \
525 third_party/boringssl/crypto/x509v3/v3_pcons.c \
526 third_party/boringssl/crypto/x509v3/v3_pku.c \
527 third_party/boringssl/crypto/x509v3/v3_pmaps.c \
528 third_party/boringssl/crypto/x509v3/v3_prn.c \
529 third_party/boringssl/crypto/x509v3/v3_purp.c \
530 third_party/boringssl/crypto/x509v3/v3_skey.c \
531 third_party/boringssl/crypto/x509v3/v3_sxnet.c \
532 third_party/boringssl/crypto/x509v3/v3_utl.c \
533 third_party/boringssl/ssl/custom_extensions.c \
534 third_party/boringssl/ssl/d1_both.c \
535 third_party/boringssl/ssl/d1_clnt.c \
536 third_party/boringssl/ssl/d1_lib.c \
537 third_party/boringssl/ssl/d1_meth.c \
538 third_party/boringssl/ssl/d1_pkt.c \
539 third_party/boringssl/ssl/d1_srtp.c \
540 third_party/boringssl/ssl/d1_srvr.c \
541 third_party/boringssl/ssl/dtls_record.c \
542 third_party/boringssl/ssl/pqueue/pqueue.c \
543 third_party/boringssl/ssl/s3_both.c \
544 third_party/boringssl/ssl/s3_clnt.c \
545 third_party/boringssl/ssl/s3_enc.c \
546 third_party/boringssl/ssl/s3_lib.c \
547 third_party/boringssl/ssl/s3_meth.c \
548 third_party/boringssl/ssl/s3_pkt.c \
549 third_party/boringssl/ssl/s3_srvr.c \
550 third_party/boringssl/ssl/ssl_aead_ctx.c \
551 third_party/boringssl/ssl/ssl_asn1.c \
552 third_party/boringssl/ssl/ssl_buffer.c \
553 third_party/boringssl/ssl/ssl_cert.c \
554 third_party/boringssl/ssl/ssl_cipher.c \
itessier2a522032016-04-19 17:38:51 -0700555 third_party/boringssl/ssl/ssl_ecdh.c \
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800556 third_party/boringssl/ssl/ssl_file.c \
557 third_party/boringssl/ssl/ssl_lib.c \
558 third_party/boringssl/ssl/ssl_rsa.c \
559 third_party/boringssl/ssl/ssl_session.c \
560 third_party/boringssl/ssl/ssl_stat.c \
561 third_party/boringssl/ssl/t1_enc.c \
562 third_party/boringssl/ssl/t1_lib.c \
563 third_party/boringssl/ssl/tls_record.c \
Stanley Cheung5ade2d42016-02-25 13:44:05 -0800564 , $ext_shared, , -Wall -Werror \
565 -Wno-parentheses-equality -Wno-unused-value -std=c11 \
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800566 -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN \
567 -D_HAS_EXCEPTIONS=0 -DNOMINMAX)
Stanley Cheung80db5be2016-02-24 21:35:56 -0800568
569 PHP_ADD_BUILD_DIR($ext_builddir/src/php/ext/grpc)
570
571 PHP_ADD_BUILD_DIR($ext_builddir/src/boringssl)
Craig Tiller8f8e9f92016-03-29 09:41:28 -0700572 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/census)
Alistair Veitch30fe6322016-05-23 10:11:28 -0700573 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/census/gen)
Craig Tillerd4c98332016-03-31 13:45:47 -0700574 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/client_config)
Craig Tiller023caf12016-03-29 08:00:30 -0700575 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/lb_policy/grpclb)
David Garcia Quintas7f0793a2016-04-25 12:35:58 -0700576 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1)
Craig Tiller023caf12016-03-29 08:00:30 -0700577 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/lb_policy/pick_first)
578 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/lb_policy/round_robin)
David Garcia Quintas862c8e92016-04-06 16:30:51 -0700579 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/load_reporting)
Craig Tiller65938df2016-03-31 13:08:49 -0700580 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/resolver/dns/native)
581 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/resolver/sockaddr)
Craig Tillerf82ddc42016-04-05 17:15:07 -0700582 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/alpn)
Craig Tillerc7762a82016-03-28 10:13:08 -0700583 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/client/insecure)
584 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/client/secure)
585 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/server/insecure)
586 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/server/secure)
587 PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/transport/chttp2/transport)
Craig Tillerf23078c2016-03-25 17:07:29 -0700588 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/channel)
Craig Tillerf23078c2016-03-25 17:07:29 -0700589 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/compression)
590 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/debug)
591 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/http)
592 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/iomgr)
593 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/json)
594 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/profiling)
Julien Boeuf8ca294e2016-05-02 14:56:30 -0700595 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/context)
596 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials)
597 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials/composite)
598 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials/fake)
599 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials/google_default)
600 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials/iam)
601 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials/jwt)
602 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials/oauth2)
603 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials/plugin)
604 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/credentials/ssl)
605 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/transport)
606 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/security/util)
Craig Tillerf23078c2016-03-25 17:07:29 -0700607 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/support)
608 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/surface)
609 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/transport)
Craig Tillerf23078c2016-03-25 17:07:29 -0700610 PHP_ADD_BUILD_DIR($ext_builddir/src/core/lib/tsi)
Craig Tillerfb433852016-03-29 08:51:07 -0700611 PHP_ADD_BUILD_DIR($ext_builddir/src/core/plugin_registry)
Stanley Cheung80db5be2016-02-24 21:35:56 -0800612 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto)
613 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/aes)
614 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/asn1)
615 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/base64)
616 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/bio)
617 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/bn)
618 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/bn/asm)
619 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/buf)
620 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/bytestring)
621 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/chacha)
622 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/cipher)
623 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/cmac)
624 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/conf)
625 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/curve25519)
626 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/des)
627 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/dh)
628 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/digest)
629 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/dsa)
630 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/ec)
631 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/ecdh)
632 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/ecdsa)
633 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/engine)
634 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/err)
635 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/evp)
636 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/hkdf)
637 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/hmac)
638 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/lhash)
639 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/md4)
640 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/md5)
641 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/modes)
642 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/obj)
643 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/pem)
644 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/pkcs8)
645 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/poly1305)
646 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/rand)
647 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/rc4)
648 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/rsa)
649 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/sha)
650 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/stack)
651 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/x509)
652 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/x509v3)
653 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/ssl)
654 PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/ssl/pqueue)
655 PHP_ADD_BUILD_DIR($ext_builddir/third_party/nanopb)
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800656fi