Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 1 | PHP_ARG_ENABLE(grpc, whether to enable grpc support, |
| 2 | [ --enable-grpc Enable grpc support]) |
| 3 | |
| 4 | if 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 Cheung | bf74d69 | 2016-02-23 22:39:25 -0800 | [diff] [blame] | 12 | LIBS="-lpthread $LIBS" |
| 13 | |
| 14 | GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD" |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 15 | PHP_ADD_LIBRARY(pthread) |
| 16 | |
Stanley Cheung | bf74d69 | 2016-02-23 22:39:25 -0800 | [diff] [blame] | 17 | 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 Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 28 | 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 \ |
| 39 | src/core/profiling/basic_timers.c \ |
| 40 | src/core/profiling/stap_timers.c \ |
| 41 | src/core/support/alloc.c \ |
| 42 | src/core/support/avl.c \ |
Craig Tiller | c72cc42 | 2016-03-11 10:54:36 -0800 | [diff] [blame] | 43 | src/core/support/backoff.c \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 44 | src/core/support/cmdline.c \ |
| 45 | src/core/support/cpu_iphone.c \ |
| 46 | src/core/support/cpu_linux.c \ |
| 47 | src/core/support/cpu_posix.c \ |
| 48 | src/core/support/cpu_windows.c \ |
| 49 | src/core/support/env_linux.c \ |
| 50 | src/core/support/env_posix.c \ |
| 51 | src/core/support/env_win32.c \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 52 | src/core/support/histogram.c \ |
| 53 | src/core/support/host_port.c \ |
Craig Tiller | 560c901 | 2016-02-24 16:34:38 -0800 | [diff] [blame] | 54 | src/core/support/load_file.c \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 55 | src/core/support/log.c \ |
| 56 | src/core/support/log_android.c \ |
| 57 | src/core/support/log_linux.c \ |
| 58 | src/core/support/log_posix.c \ |
| 59 | src/core/support/log_win32.c \ |
| 60 | src/core/support/murmur_hash.c \ |
| 61 | src/core/support/slice.c \ |
| 62 | src/core/support/slice_buffer.c \ |
| 63 | src/core/support/stack_lockfree.c \ |
| 64 | src/core/support/string.c \ |
| 65 | src/core/support/string_posix.c \ |
| 66 | src/core/support/string_win32.c \ |
| 67 | src/core/support/subprocess_posix.c \ |
| 68 | src/core/support/subprocess_windows.c \ |
| 69 | src/core/support/sync.c \ |
| 70 | src/core/support/sync_posix.c \ |
| 71 | src/core/support/sync_win32.c \ |
| 72 | src/core/support/thd.c \ |
| 73 | src/core/support/thd_posix.c \ |
| 74 | src/core/support/thd_win32.c \ |
| 75 | src/core/support/time.c \ |
| 76 | src/core/support/time_posix.c \ |
| 77 | src/core/support/time_precise.c \ |
| 78 | src/core/support/time_win32.c \ |
| 79 | src/core/support/tls_pthread.c \ |
Craig Tiller | 560c901 | 2016-02-24 16:34:38 -0800 | [diff] [blame] | 80 | src/core/support/tmpfile_posix.c \ |
| 81 | src/core/support/tmpfile_win32.c \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 82 | src/core/support/wrap_memcpy.c \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 83 | src/core/census/grpc_context.c \ |
| 84 | src/core/census/grpc_filter.c \ |
Craig Tiller | 5a9d7d2 | 2016-02-25 16:03:11 -0800 | [diff] [blame] | 85 | src/core/census/grpc_plugin.c \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 86 | src/core/channel/channel_args.c \ |
| 87 | src/core/channel/channel_stack.c \ |
Craig Tiller | 5a9d7d2 | 2016-02-25 16:03:11 -0800 | [diff] [blame] | 88 | src/core/channel/channel_stack_builder.c \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 89 | src/core/channel/client_channel.c \ |
| 90 | src/core/channel/client_uchannel.c \ |
| 91 | src/core/channel/compress_filter.c \ |
| 92 | src/core/channel/connected_channel.c \ |
| 93 | src/core/channel/http_client_filter.c \ |
| 94 | src/core/channel/http_server_filter.c \ |
| 95 | src/core/channel/subchannel_call_holder.c \ |
| 96 | src/core/client_config/client_config.c \ |
| 97 | src/core/client_config/connector.c \ |
| 98 | src/core/client_config/default_initial_connect_string.c \ |
| 99 | src/core/client_config/initial_connect_string.c \ |
Stanley Cheung | bf74d69 | 2016-02-23 22:39:25 -0800 | [diff] [blame] | 100 | src/core/client_config/lb_policies/load_balancer_api.c \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 101 | src/core/client_config/lb_policies/pick_first.c \ |
| 102 | src/core/client_config/lb_policies/round_robin.c \ |
| 103 | src/core/client_config/lb_policy.c \ |
| 104 | src/core/client_config/lb_policy_factory.c \ |
| 105 | src/core/client_config/lb_policy_registry.c \ |
| 106 | src/core/client_config/resolver.c \ |
| 107 | src/core/client_config/resolver_factory.c \ |
| 108 | src/core/client_config/resolver_registry.c \ |
| 109 | src/core/client_config/resolvers/dns_resolver.c \ |
| 110 | src/core/client_config/resolvers/sockaddr_resolver.c \ |
| 111 | src/core/client_config/subchannel.c \ |
| 112 | src/core/client_config/subchannel_factory.c \ |
Stanley Cheung | bf74d69 | 2016-02-23 22:39:25 -0800 | [diff] [blame] | 113 | src/core/client_config/subchannel_index.c \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 114 | src/core/client_config/uri_parser.c \ |
Craig Tiller | 560c901 | 2016-02-24 16:34:38 -0800 | [diff] [blame] | 115 | src/core/compression/compression_algorithm.c \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 116 | src/core/compression/message_compress.c \ |
| 117 | src/core/debug/trace.c \ |
| 118 | src/core/httpcli/format_request.c \ |
| 119 | src/core/httpcli/httpcli.c \ |
| 120 | src/core/httpcli/parser.c \ |
| 121 | src/core/iomgr/closure.c \ |
| 122 | src/core/iomgr/endpoint.c \ |
| 123 | src/core/iomgr/endpoint_pair_posix.c \ |
| 124 | src/core/iomgr/endpoint_pair_windows.c \ |
| 125 | src/core/iomgr/exec_ctx.c \ |
| 126 | src/core/iomgr/executor.c \ |
| 127 | src/core/iomgr/fd_posix.c \ |
| 128 | src/core/iomgr/iocp_windows.c \ |
| 129 | src/core/iomgr/iomgr.c \ |
| 130 | src/core/iomgr/iomgr_posix.c \ |
| 131 | src/core/iomgr/iomgr_windows.c \ |
| 132 | src/core/iomgr/pollset_multipoller_with_epoll.c \ |
| 133 | src/core/iomgr/pollset_multipoller_with_poll_posix.c \ |
| 134 | src/core/iomgr/pollset_posix.c \ |
| 135 | src/core/iomgr/pollset_set_posix.c \ |
| 136 | src/core/iomgr/pollset_set_windows.c \ |
| 137 | src/core/iomgr/pollset_windows.c \ |
| 138 | src/core/iomgr/resolve_address_posix.c \ |
| 139 | src/core/iomgr/resolve_address_windows.c \ |
| 140 | src/core/iomgr/sockaddr_utils.c \ |
| 141 | src/core/iomgr/socket_utils_common_posix.c \ |
| 142 | src/core/iomgr/socket_utils_linux.c \ |
| 143 | src/core/iomgr/socket_utils_posix.c \ |
| 144 | src/core/iomgr/socket_windows.c \ |
| 145 | src/core/iomgr/tcp_client_posix.c \ |
| 146 | src/core/iomgr/tcp_client_windows.c \ |
| 147 | src/core/iomgr/tcp_posix.c \ |
| 148 | src/core/iomgr/tcp_server_posix.c \ |
| 149 | src/core/iomgr/tcp_server_windows.c \ |
| 150 | src/core/iomgr/tcp_windows.c \ |
| 151 | src/core/iomgr/time_averaged_stats.c \ |
| 152 | src/core/iomgr/timer.c \ |
| 153 | src/core/iomgr/timer_heap.c \ |
| 154 | src/core/iomgr/udp_server.c \ |
| 155 | src/core/iomgr/wakeup_fd_eventfd.c \ |
| 156 | src/core/iomgr/wakeup_fd_nospecial.c \ |
| 157 | src/core/iomgr/wakeup_fd_pipe.c \ |
| 158 | src/core/iomgr/wakeup_fd_posix.c \ |
| 159 | src/core/iomgr/workqueue_posix.c \ |
| 160 | src/core/iomgr/workqueue_windows.c \ |
| 161 | src/core/json/json.c \ |
| 162 | src/core/json/json_reader.c \ |
| 163 | src/core/json/json_string.c \ |
| 164 | src/core/json/json_writer.c \ |
Stanley Cheung | bf74d69 | 2016-02-23 22:39:25 -0800 | [diff] [blame] | 165 | src/core/proto/grpc/lb/v0/load_balancer.pb.c \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 166 | src/core/surface/alarm.c \ |
| 167 | src/core/surface/api_trace.c \ |
| 168 | src/core/surface/byte_buffer.c \ |
| 169 | src/core/surface/byte_buffer_reader.c \ |
| 170 | src/core/surface/call.c \ |
| 171 | src/core/surface/call_details.c \ |
| 172 | src/core/surface/call_log_batch.c \ |
| 173 | src/core/surface/channel.c \ |
| 174 | src/core/surface/channel_connectivity.c \ |
| 175 | src/core/surface/channel_create.c \ |
Craig Tiller | 5a9d7d2 | 2016-02-25 16:03:11 -0800 | [diff] [blame] | 176 | src/core/surface/channel_init.c \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 177 | src/core/surface/channel_ping.c \ |
Craig Tiller | 5a9d7d2 | 2016-02-25 16:03:11 -0800 | [diff] [blame] | 178 | src/core/surface/channel_stack_type.c \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 179 | src/core/surface/completion_queue.c \ |
| 180 | src/core/surface/event_string.c \ |
| 181 | src/core/surface/init.c \ |
| 182 | src/core/surface/lame_client.c \ |
| 183 | src/core/surface/metadata_array.c \ |
| 184 | src/core/surface/server.c \ |
| 185 | src/core/surface/server_chttp2.c \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 186 | src/core/surface/validate_metadata.c \ |
| 187 | src/core/surface/version.c \ |
| 188 | src/core/transport/byte_stream.c \ |
| 189 | src/core/transport/chttp2/alpn.c \ |
| 190 | src/core/transport/chttp2/bin_encoder.c \ |
| 191 | src/core/transport/chttp2/frame_data.c \ |
| 192 | src/core/transport/chttp2/frame_goaway.c \ |
| 193 | src/core/transport/chttp2/frame_ping.c \ |
| 194 | src/core/transport/chttp2/frame_rst_stream.c \ |
| 195 | src/core/transport/chttp2/frame_settings.c \ |
| 196 | src/core/transport/chttp2/frame_window_update.c \ |
| 197 | src/core/transport/chttp2/hpack_encoder.c \ |
| 198 | src/core/transport/chttp2/hpack_parser.c \ |
| 199 | src/core/transport/chttp2/hpack_table.c \ |
| 200 | src/core/transport/chttp2/huffsyms.c \ |
| 201 | src/core/transport/chttp2/incoming_metadata.c \ |
| 202 | src/core/transport/chttp2/parsing.c \ |
| 203 | src/core/transport/chttp2/status_conversion.c \ |
| 204 | src/core/transport/chttp2/stream_lists.c \ |
| 205 | src/core/transport/chttp2/stream_map.c \ |
| 206 | src/core/transport/chttp2/timeout_encoding.c \ |
| 207 | src/core/transport/chttp2/varint.c \ |
| 208 | src/core/transport/chttp2/writing.c \ |
| 209 | src/core/transport/chttp2_transport.c \ |
| 210 | src/core/transport/connectivity_state.c \ |
| 211 | src/core/transport/metadata.c \ |
| 212 | src/core/transport/metadata_batch.c \ |
| 213 | src/core/transport/static_metadata.c \ |
| 214 | src/core/transport/transport.c \ |
| 215 | src/core/transport/transport_op_string.c \ |
Stanley Cheung | bf74d69 | 2016-02-23 22:39:25 -0800 | [diff] [blame] | 216 | src/core/httpcli/httpcli_security_connector.c \ |
Craig Tiller | 560c901 | 2016-02-24 16:34:38 -0800 | [diff] [blame] | 217 | src/core/security/b64.c \ |
Stanley Cheung | bf74d69 | 2016-02-23 22:39:25 -0800 | [diff] [blame] | 218 | src/core/security/client_auth_filter.c \ |
| 219 | src/core/security/credentials.c \ |
| 220 | src/core/security/credentials_metadata.c \ |
| 221 | src/core/security/credentials_posix.c \ |
| 222 | src/core/security/credentials_win32.c \ |
| 223 | src/core/security/google_default_credentials.c \ |
| 224 | src/core/security/handshake.c \ |
| 225 | src/core/security/json_token.c \ |
| 226 | src/core/security/jwt_verifier.c \ |
| 227 | src/core/security/secure_endpoint.c \ |
| 228 | src/core/security/security_connector.c \ |
| 229 | src/core/security/security_context.c \ |
| 230 | src/core/security/server_auth_filter.c \ |
| 231 | src/core/security/server_secure_chttp2.c \ |
| 232 | src/core/surface/init_secure.c \ |
| 233 | src/core/surface/secure_channel_create.c \ |
| 234 | src/core/tsi/fake_transport_security.c \ |
| 235 | src/core/tsi/ssl_transport_security.c \ |
| 236 | src/core/tsi/transport_security.c \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 237 | src/core/census/context.c \ |
| 238 | src/core/census/initialize.c \ |
Stanley Cheung | bf74d69 | 2016-02-23 22:39:25 -0800 | [diff] [blame] | 239 | src/core/census/mlog.c \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 240 | src/core/census/operation.c \ |
| 241 | src/core/census/placeholders.c \ |
| 242 | src/core/census/tracing.c \ |
Stanley Cheung | bf74d69 | 2016-02-23 22:39:25 -0800 | [diff] [blame] | 243 | third_party/nanopb/pb_common.c \ |
| 244 | third_party/nanopb/pb_decode.c \ |
| 245 | third_party/nanopb/pb_encode.c \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 246 | src/boringssl/err_data.c \ |
| 247 | third_party/boringssl/crypto/aes/aes.c \ |
| 248 | third_party/boringssl/crypto/aes/mode_wrappers.c \ |
| 249 | third_party/boringssl/crypto/asn1/a_bitstr.c \ |
| 250 | third_party/boringssl/crypto/asn1/a_bool.c \ |
| 251 | third_party/boringssl/crypto/asn1/a_bytes.c \ |
| 252 | third_party/boringssl/crypto/asn1/a_d2i_fp.c \ |
| 253 | third_party/boringssl/crypto/asn1/a_dup.c \ |
| 254 | third_party/boringssl/crypto/asn1/a_enum.c \ |
| 255 | third_party/boringssl/crypto/asn1/a_gentm.c \ |
| 256 | third_party/boringssl/crypto/asn1/a_i2d_fp.c \ |
| 257 | third_party/boringssl/crypto/asn1/a_int.c \ |
| 258 | third_party/boringssl/crypto/asn1/a_mbstr.c \ |
| 259 | third_party/boringssl/crypto/asn1/a_object.c \ |
| 260 | third_party/boringssl/crypto/asn1/a_octet.c \ |
| 261 | third_party/boringssl/crypto/asn1/a_print.c \ |
| 262 | third_party/boringssl/crypto/asn1/a_strnid.c \ |
| 263 | third_party/boringssl/crypto/asn1/a_time.c \ |
| 264 | third_party/boringssl/crypto/asn1/a_type.c \ |
| 265 | third_party/boringssl/crypto/asn1/a_utctm.c \ |
| 266 | third_party/boringssl/crypto/asn1/a_utf8.c \ |
| 267 | third_party/boringssl/crypto/asn1/asn1_lib.c \ |
| 268 | third_party/boringssl/crypto/asn1/asn1_par.c \ |
| 269 | third_party/boringssl/crypto/asn1/asn_pack.c \ |
| 270 | third_party/boringssl/crypto/asn1/bio_asn1.c \ |
| 271 | third_party/boringssl/crypto/asn1/bio_ndef.c \ |
| 272 | third_party/boringssl/crypto/asn1/f_enum.c \ |
| 273 | third_party/boringssl/crypto/asn1/f_int.c \ |
| 274 | third_party/boringssl/crypto/asn1/f_string.c \ |
| 275 | third_party/boringssl/crypto/asn1/t_bitst.c \ |
| 276 | third_party/boringssl/crypto/asn1/t_pkey.c \ |
| 277 | third_party/boringssl/crypto/asn1/tasn_dec.c \ |
| 278 | third_party/boringssl/crypto/asn1/tasn_enc.c \ |
| 279 | third_party/boringssl/crypto/asn1/tasn_fre.c \ |
| 280 | third_party/boringssl/crypto/asn1/tasn_new.c \ |
| 281 | third_party/boringssl/crypto/asn1/tasn_prn.c \ |
| 282 | third_party/boringssl/crypto/asn1/tasn_typ.c \ |
| 283 | third_party/boringssl/crypto/asn1/tasn_utl.c \ |
| 284 | third_party/boringssl/crypto/asn1/x_bignum.c \ |
| 285 | third_party/boringssl/crypto/asn1/x_long.c \ |
| 286 | third_party/boringssl/crypto/base64/base64.c \ |
| 287 | third_party/boringssl/crypto/bio/bio.c \ |
| 288 | third_party/boringssl/crypto/bio/bio_mem.c \ |
| 289 | third_party/boringssl/crypto/bio/buffer.c \ |
| 290 | third_party/boringssl/crypto/bio/connect.c \ |
| 291 | third_party/boringssl/crypto/bio/fd.c \ |
| 292 | third_party/boringssl/crypto/bio/file.c \ |
| 293 | third_party/boringssl/crypto/bio/hexdump.c \ |
| 294 | third_party/boringssl/crypto/bio/pair.c \ |
| 295 | third_party/boringssl/crypto/bio/printf.c \ |
| 296 | third_party/boringssl/crypto/bio/socket.c \ |
| 297 | third_party/boringssl/crypto/bio/socket_helper.c \ |
| 298 | third_party/boringssl/crypto/bn/add.c \ |
| 299 | third_party/boringssl/crypto/bn/asm/x86_64-gcc.c \ |
| 300 | third_party/boringssl/crypto/bn/bn.c \ |
| 301 | third_party/boringssl/crypto/bn/bn_asn1.c \ |
| 302 | third_party/boringssl/crypto/bn/cmp.c \ |
| 303 | third_party/boringssl/crypto/bn/convert.c \ |
| 304 | third_party/boringssl/crypto/bn/ctx.c \ |
| 305 | third_party/boringssl/crypto/bn/div.c \ |
| 306 | third_party/boringssl/crypto/bn/exponentiation.c \ |
| 307 | third_party/boringssl/crypto/bn/gcd.c \ |
| 308 | third_party/boringssl/crypto/bn/generic.c \ |
| 309 | third_party/boringssl/crypto/bn/kronecker.c \ |
| 310 | third_party/boringssl/crypto/bn/montgomery.c \ |
| 311 | third_party/boringssl/crypto/bn/mul.c \ |
| 312 | third_party/boringssl/crypto/bn/prime.c \ |
| 313 | third_party/boringssl/crypto/bn/random.c \ |
| 314 | third_party/boringssl/crypto/bn/rsaz_exp.c \ |
| 315 | third_party/boringssl/crypto/bn/shift.c \ |
| 316 | third_party/boringssl/crypto/bn/sqrt.c \ |
| 317 | third_party/boringssl/crypto/buf/buf.c \ |
| 318 | third_party/boringssl/crypto/bytestring/ber.c \ |
| 319 | third_party/boringssl/crypto/bytestring/cbb.c \ |
| 320 | third_party/boringssl/crypto/bytestring/cbs.c \ |
| 321 | third_party/boringssl/crypto/chacha/chacha_generic.c \ |
| 322 | third_party/boringssl/crypto/chacha/chacha_vec.c \ |
| 323 | third_party/boringssl/crypto/cipher/aead.c \ |
| 324 | third_party/boringssl/crypto/cipher/cipher.c \ |
| 325 | third_party/boringssl/crypto/cipher/derive_key.c \ |
| 326 | third_party/boringssl/crypto/cipher/e_aes.c \ |
| 327 | third_party/boringssl/crypto/cipher/e_chacha20poly1305.c \ |
| 328 | third_party/boringssl/crypto/cipher/e_des.c \ |
| 329 | third_party/boringssl/crypto/cipher/e_null.c \ |
| 330 | third_party/boringssl/crypto/cipher/e_rc2.c \ |
| 331 | third_party/boringssl/crypto/cipher/e_rc4.c \ |
| 332 | third_party/boringssl/crypto/cipher/e_ssl3.c \ |
| 333 | third_party/boringssl/crypto/cipher/e_tls.c \ |
| 334 | third_party/boringssl/crypto/cipher/tls_cbc.c \ |
| 335 | third_party/boringssl/crypto/cmac/cmac.c \ |
| 336 | third_party/boringssl/crypto/conf/conf.c \ |
| 337 | third_party/boringssl/crypto/cpu-arm.c \ |
| 338 | third_party/boringssl/crypto/cpu-intel.c \ |
| 339 | third_party/boringssl/crypto/crypto.c \ |
| 340 | third_party/boringssl/crypto/curve25519/curve25519.c \ |
| 341 | third_party/boringssl/crypto/des/des.c \ |
| 342 | third_party/boringssl/crypto/dh/check.c \ |
| 343 | third_party/boringssl/crypto/dh/dh.c \ |
| 344 | third_party/boringssl/crypto/dh/dh_asn1.c \ |
| 345 | third_party/boringssl/crypto/dh/params.c \ |
| 346 | third_party/boringssl/crypto/digest/digest.c \ |
| 347 | third_party/boringssl/crypto/digest/digests.c \ |
| 348 | third_party/boringssl/crypto/directory_posix.c \ |
| 349 | third_party/boringssl/crypto/directory_win.c \ |
| 350 | third_party/boringssl/crypto/dsa/dsa.c \ |
| 351 | third_party/boringssl/crypto/dsa/dsa_asn1.c \ |
| 352 | third_party/boringssl/crypto/ec/ec.c \ |
| 353 | third_party/boringssl/crypto/ec/ec_asn1.c \ |
| 354 | third_party/boringssl/crypto/ec/ec_key.c \ |
| 355 | third_party/boringssl/crypto/ec/ec_montgomery.c \ |
| 356 | third_party/boringssl/crypto/ec/oct.c \ |
| 357 | third_party/boringssl/crypto/ec/p224-64.c \ |
| 358 | third_party/boringssl/crypto/ec/p256-64.c \ |
| 359 | third_party/boringssl/crypto/ec/p256-x86_64.c \ |
| 360 | third_party/boringssl/crypto/ec/simple.c \ |
| 361 | third_party/boringssl/crypto/ec/util-64.c \ |
| 362 | third_party/boringssl/crypto/ec/wnaf.c \ |
| 363 | third_party/boringssl/crypto/ecdh/ecdh.c \ |
| 364 | third_party/boringssl/crypto/ecdsa/ecdsa.c \ |
| 365 | third_party/boringssl/crypto/ecdsa/ecdsa_asn1.c \ |
| 366 | third_party/boringssl/crypto/engine/engine.c \ |
| 367 | third_party/boringssl/crypto/err/err.c \ |
| 368 | third_party/boringssl/crypto/evp/algorithm.c \ |
| 369 | third_party/boringssl/crypto/evp/digestsign.c \ |
| 370 | third_party/boringssl/crypto/evp/evp.c \ |
| 371 | third_party/boringssl/crypto/evp/evp_asn1.c \ |
| 372 | third_party/boringssl/crypto/evp/evp_ctx.c \ |
| 373 | third_party/boringssl/crypto/evp/p_dsa_asn1.c \ |
| 374 | third_party/boringssl/crypto/evp/p_ec.c \ |
| 375 | third_party/boringssl/crypto/evp/p_ec_asn1.c \ |
| 376 | third_party/boringssl/crypto/evp/p_rsa.c \ |
| 377 | third_party/boringssl/crypto/evp/p_rsa_asn1.c \ |
| 378 | third_party/boringssl/crypto/evp/pbkdf.c \ |
| 379 | third_party/boringssl/crypto/evp/sign.c \ |
| 380 | third_party/boringssl/crypto/ex_data.c \ |
| 381 | third_party/boringssl/crypto/hkdf/hkdf.c \ |
| 382 | third_party/boringssl/crypto/hmac/hmac.c \ |
| 383 | third_party/boringssl/crypto/lhash/lhash.c \ |
| 384 | third_party/boringssl/crypto/md4/md4.c \ |
| 385 | third_party/boringssl/crypto/md5/md5.c \ |
| 386 | third_party/boringssl/crypto/mem.c \ |
| 387 | third_party/boringssl/crypto/modes/cbc.c \ |
| 388 | third_party/boringssl/crypto/modes/cfb.c \ |
| 389 | third_party/boringssl/crypto/modes/ctr.c \ |
| 390 | third_party/boringssl/crypto/modes/gcm.c \ |
| 391 | third_party/boringssl/crypto/modes/ofb.c \ |
| 392 | third_party/boringssl/crypto/obj/obj.c \ |
| 393 | third_party/boringssl/crypto/obj/obj_xref.c \ |
| 394 | third_party/boringssl/crypto/pem/pem_all.c \ |
| 395 | third_party/boringssl/crypto/pem/pem_info.c \ |
| 396 | third_party/boringssl/crypto/pem/pem_lib.c \ |
| 397 | third_party/boringssl/crypto/pem/pem_oth.c \ |
| 398 | third_party/boringssl/crypto/pem/pem_pk8.c \ |
| 399 | third_party/boringssl/crypto/pem/pem_pkey.c \ |
| 400 | third_party/boringssl/crypto/pem/pem_x509.c \ |
| 401 | third_party/boringssl/crypto/pem/pem_xaux.c \ |
| 402 | third_party/boringssl/crypto/pkcs8/p5_pbe.c \ |
| 403 | third_party/boringssl/crypto/pkcs8/p5_pbev2.c \ |
| 404 | third_party/boringssl/crypto/pkcs8/p8_pkey.c \ |
| 405 | third_party/boringssl/crypto/pkcs8/pkcs8.c \ |
| 406 | third_party/boringssl/crypto/poly1305/poly1305.c \ |
| 407 | third_party/boringssl/crypto/poly1305/poly1305_arm.c \ |
| 408 | third_party/boringssl/crypto/poly1305/poly1305_vec.c \ |
| 409 | third_party/boringssl/crypto/rand/rand.c \ |
| 410 | third_party/boringssl/crypto/rand/urandom.c \ |
| 411 | third_party/boringssl/crypto/rand/windows.c \ |
| 412 | third_party/boringssl/crypto/rc4/rc4.c \ |
| 413 | third_party/boringssl/crypto/refcount_c11.c \ |
| 414 | third_party/boringssl/crypto/refcount_lock.c \ |
| 415 | third_party/boringssl/crypto/rsa/blinding.c \ |
| 416 | third_party/boringssl/crypto/rsa/padding.c \ |
| 417 | third_party/boringssl/crypto/rsa/rsa.c \ |
| 418 | third_party/boringssl/crypto/rsa/rsa_asn1.c \ |
| 419 | third_party/boringssl/crypto/rsa/rsa_impl.c \ |
| 420 | third_party/boringssl/crypto/sha/sha1.c \ |
| 421 | third_party/boringssl/crypto/sha/sha256.c \ |
| 422 | third_party/boringssl/crypto/sha/sha512.c \ |
| 423 | third_party/boringssl/crypto/stack/stack.c \ |
| 424 | third_party/boringssl/crypto/thread.c \ |
| 425 | third_party/boringssl/crypto/thread_none.c \ |
| 426 | third_party/boringssl/crypto/thread_pthread.c \ |
| 427 | third_party/boringssl/crypto/thread_win.c \ |
| 428 | third_party/boringssl/crypto/time_support.c \ |
| 429 | third_party/boringssl/crypto/x509/a_digest.c \ |
| 430 | third_party/boringssl/crypto/x509/a_sign.c \ |
| 431 | third_party/boringssl/crypto/x509/a_strex.c \ |
| 432 | third_party/boringssl/crypto/x509/a_verify.c \ |
| 433 | third_party/boringssl/crypto/x509/asn1_gen.c \ |
| 434 | third_party/boringssl/crypto/x509/by_dir.c \ |
| 435 | third_party/boringssl/crypto/x509/by_file.c \ |
| 436 | third_party/boringssl/crypto/x509/i2d_pr.c \ |
| 437 | third_party/boringssl/crypto/x509/pkcs7.c \ |
| 438 | third_party/boringssl/crypto/x509/t_crl.c \ |
| 439 | third_party/boringssl/crypto/x509/t_req.c \ |
| 440 | third_party/boringssl/crypto/x509/t_x509.c \ |
| 441 | third_party/boringssl/crypto/x509/t_x509a.c \ |
| 442 | third_party/boringssl/crypto/x509/x509.c \ |
| 443 | third_party/boringssl/crypto/x509/x509_att.c \ |
| 444 | third_party/boringssl/crypto/x509/x509_cmp.c \ |
| 445 | third_party/boringssl/crypto/x509/x509_d2.c \ |
| 446 | third_party/boringssl/crypto/x509/x509_def.c \ |
| 447 | third_party/boringssl/crypto/x509/x509_ext.c \ |
| 448 | third_party/boringssl/crypto/x509/x509_lu.c \ |
| 449 | third_party/boringssl/crypto/x509/x509_obj.c \ |
| 450 | third_party/boringssl/crypto/x509/x509_r2x.c \ |
| 451 | third_party/boringssl/crypto/x509/x509_req.c \ |
| 452 | third_party/boringssl/crypto/x509/x509_set.c \ |
| 453 | third_party/boringssl/crypto/x509/x509_trs.c \ |
| 454 | third_party/boringssl/crypto/x509/x509_txt.c \ |
| 455 | third_party/boringssl/crypto/x509/x509_v3.c \ |
| 456 | third_party/boringssl/crypto/x509/x509_vfy.c \ |
| 457 | third_party/boringssl/crypto/x509/x509_vpm.c \ |
| 458 | third_party/boringssl/crypto/x509/x509cset.c \ |
| 459 | third_party/boringssl/crypto/x509/x509name.c \ |
| 460 | third_party/boringssl/crypto/x509/x509rset.c \ |
| 461 | third_party/boringssl/crypto/x509/x509spki.c \ |
| 462 | third_party/boringssl/crypto/x509/x509type.c \ |
| 463 | third_party/boringssl/crypto/x509/x_algor.c \ |
| 464 | third_party/boringssl/crypto/x509/x_all.c \ |
| 465 | third_party/boringssl/crypto/x509/x_attrib.c \ |
| 466 | third_party/boringssl/crypto/x509/x_crl.c \ |
| 467 | third_party/boringssl/crypto/x509/x_exten.c \ |
| 468 | third_party/boringssl/crypto/x509/x_info.c \ |
| 469 | third_party/boringssl/crypto/x509/x_name.c \ |
| 470 | third_party/boringssl/crypto/x509/x_pkey.c \ |
| 471 | third_party/boringssl/crypto/x509/x_pubkey.c \ |
| 472 | third_party/boringssl/crypto/x509/x_req.c \ |
| 473 | third_party/boringssl/crypto/x509/x_sig.c \ |
| 474 | third_party/boringssl/crypto/x509/x_spki.c \ |
| 475 | third_party/boringssl/crypto/x509/x_val.c \ |
| 476 | third_party/boringssl/crypto/x509/x_x509.c \ |
| 477 | third_party/boringssl/crypto/x509/x_x509a.c \ |
| 478 | third_party/boringssl/crypto/x509v3/pcy_cache.c \ |
| 479 | third_party/boringssl/crypto/x509v3/pcy_data.c \ |
| 480 | third_party/boringssl/crypto/x509v3/pcy_lib.c \ |
| 481 | third_party/boringssl/crypto/x509v3/pcy_map.c \ |
| 482 | third_party/boringssl/crypto/x509v3/pcy_node.c \ |
| 483 | third_party/boringssl/crypto/x509v3/pcy_tree.c \ |
| 484 | third_party/boringssl/crypto/x509v3/v3_akey.c \ |
| 485 | third_party/boringssl/crypto/x509v3/v3_akeya.c \ |
| 486 | third_party/boringssl/crypto/x509v3/v3_alt.c \ |
| 487 | third_party/boringssl/crypto/x509v3/v3_bcons.c \ |
| 488 | third_party/boringssl/crypto/x509v3/v3_bitst.c \ |
| 489 | third_party/boringssl/crypto/x509v3/v3_conf.c \ |
| 490 | third_party/boringssl/crypto/x509v3/v3_cpols.c \ |
| 491 | third_party/boringssl/crypto/x509v3/v3_crld.c \ |
| 492 | third_party/boringssl/crypto/x509v3/v3_enum.c \ |
| 493 | third_party/boringssl/crypto/x509v3/v3_extku.c \ |
| 494 | third_party/boringssl/crypto/x509v3/v3_genn.c \ |
| 495 | third_party/boringssl/crypto/x509v3/v3_ia5.c \ |
| 496 | third_party/boringssl/crypto/x509v3/v3_info.c \ |
| 497 | third_party/boringssl/crypto/x509v3/v3_int.c \ |
| 498 | third_party/boringssl/crypto/x509v3/v3_lib.c \ |
| 499 | third_party/boringssl/crypto/x509v3/v3_ncons.c \ |
| 500 | third_party/boringssl/crypto/x509v3/v3_pci.c \ |
| 501 | third_party/boringssl/crypto/x509v3/v3_pcia.c \ |
| 502 | third_party/boringssl/crypto/x509v3/v3_pcons.c \ |
| 503 | third_party/boringssl/crypto/x509v3/v3_pku.c \ |
| 504 | third_party/boringssl/crypto/x509v3/v3_pmaps.c \ |
| 505 | third_party/boringssl/crypto/x509v3/v3_prn.c \ |
| 506 | third_party/boringssl/crypto/x509v3/v3_purp.c \ |
| 507 | third_party/boringssl/crypto/x509v3/v3_skey.c \ |
| 508 | third_party/boringssl/crypto/x509v3/v3_sxnet.c \ |
| 509 | third_party/boringssl/crypto/x509v3/v3_utl.c \ |
| 510 | third_party/boringssl/ssl/custom_extensions.c \ |
| 511 | third_party/boringssl/ssl/d1_both.c \ |
| 512 | third_party/boringssl/ssl/d1_clnt.c \ |
| 513 | third_party/boringssl/ssl/d1_lib.c \ |
| 514 | third_party/boringssl/ssl/d1_meth.c \ |
| 515 | third_party/boringssl/ssl/d1_pkt.c \ |
| 516 | third_party/boringssl/ssl/d1_srtp.c \ |
| 517 | third_party/boringssl/ssl/d1_srvr.c \ |
| 518 | third_party/boringssl/ssl/dtls_record.c \ |
| 519 | third_party/boringssl/ssl/pqueue/pqueue.c \ |
| 520 | third_party/boringssl/ssl/s3_both.c \ |
| 521 | third_party/boringssl/ssl/s3_clnt.c \ |
| 522 | third_party/boringssl/ssl/s3_enc.c \ |
| 523 | third_party/boringssl/ssl/s3_lib.c \ |
| 524 | third_party/boringssl/ssl/s3_meth.c \ |
| 525 | third_party/boringssl/ssl/s3_pkt.c \ |
| 526 | third_party/boringssl/ssl/s3_srvr.c \ |
| 527 | third_party/boringssl/ssl/ssl_aead_ctx.c \ |
| 528 | third_party/boringssl/ssl/ssl_asn1.c \ |
| 529 | third_party/boringssl/ssl/ssl_buffer.c \ |
| 530 | third_party/boringssl/ssl/ssl_cert.c \ |
| 531 | third_party/boringssl/ssl/ssl_cipher.c \ |
| 532 | third_party/boringssl/ssl/ssl_file.c \ |
| 533 | third_party/boringssl/ssl/ssl_lib.c \ |
| 534 | third_party/boringssl/ssl/ssl_rsa.c \ |
| 535 | third_party/boringssl/ssl/ssl_session.c \ |
| 536 | third_party/boringssl/ssl/ssl_stat.c \ |
| 537 | third_party/boringssl/ssl/t1_enc.c \ |
| 538 | third_party/boringssl/ssl/t1_lib.c \ |
| 539 | third_party/boringssl/ssl/tls_record.c \ |
Stanley Cheung | 5ade2d4 | 2016-02-25 13:44:05 -0800 | [diff] [blame] | 540 | , $ext_shared, , -Wall -Werror \ |
| 541 | -Wno-parentheses-equality -Wno-unused-value -std=c11 \ |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 542 | -fvisibility=hidden -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN \ |
| 543 | -D_HAS_EXCEPTIONS=0 -DNOMINMAX) |
Stanley Cheung | 80db5be | 2016-02-24 21:35:56 -0800 | [diff] [blame] | 544 | |
| 545 | PHP_ADD_BUILD_DIR($ext_builddir/src/php/ext/grpc) |
| 546 | |
| 547 | PHP_ADD_BUILD_DIR($ext_builddir/src/boringssl) |
| 548 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/census) |
| 549 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/channel) |
| 550 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/client_config) |
| 551 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/client_config/lb_policies) |
| 552 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/client_config/resolvers) |
| 553 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/compression) |
| 554 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/debug) |
| 555 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/httpcli) |
| 556 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/iomgr) |
| 557 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/json) |
| 558 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/profiling) |
| 559 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/proto/grpc/lb/v0) |
| 560 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/security) |
| 561 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/support) |
| 562 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/surface) |
| 563 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/transport) |
| 564 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/transport/chttp2) |
| 565 | PHP_ADD_BUILD_DIR($ext_builddir/src/core/tsi) |
| 566 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto) |
| 567 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/aes) |
| 568 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/asn1) |
| 569 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/base64) |
| 570 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/bio) |
| 571 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/bn) |
| 572 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/bn/asm) |
| 573 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/buf) |
| 574 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/bytestring) |
| 575 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/chacha) |
| 576 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/cipher) |
| 577 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/cmac) |
| 578 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/conf) |
| 579 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/curve25519) |
| 580 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/des) |
| 581 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/dh) |
| 582 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/digest) |
| 583 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/dsa) |
| 584 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/ec) |
| 585 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/ecdh) |
| 586 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/ecdsa) |
| 587 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/engine) |
| 588 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/err) |
| 589 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/evp) |
| 590 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/hkdf) |
| 591 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/hmac) |
| 592 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/lhash) |
| 593 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/md4) |
| 594 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/md5) |
| 595 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/modes) |
| 596 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/obj) |
| 597 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/pem) |
| 598 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/pkcs8) |
| 599 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/poly1305) |
| 600 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/rand) |
| 601 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/rc4) |
| 602 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/rsa) |
| 603 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/sha) |
| 604 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/stack) |
| 605 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/x509) |
| 606 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/crypto/x509v3) |
| 607 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/ssl) |
| 608 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/boringssl/ssl/pqueue) |
| 609 | PHP_ADD_BUILD_DIR($ext_builddir/third_party/nanopb) |
Stanley Cheung | 5adb71f | 2016-02-13 00:03:02 -0800 | [diff] [blame] | 610 | fi |