murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 1 | # GRPC Node gyp file |
| 2 | # This currently builds the Node extension and dependencies |
| 3 | # This file has been automatically generated from a template file. |
| 4 | # Please look at the templates directory instead. |
| 5 | # This file can be regenerated from the template by running |
| 6 | # tools/buildgen/generate_projects.sh |
| 7 | |
murgatroid99 | 7586db8 | 2016-01-20 14:02:42 -0800 | [diff] [blame] | 8 | # Copyright 2015-2016, Google Inc. |
murgatroid99 | f33b132 | 2015-10-05 09:45:04 -0700 | [diff] [blame] | 9 | # All rights reserved. |
| 10 | # |
| 11 | # Redistribution and use in source and binary forms, with or without |
| 12 | # modification, are permitted provided that the following conditions are |
| 13 | # met: |
| 14 | # |
| 15 | # * Redistributions of source code must retain the above copyright |
| 16 | # notice, this list of conditions and the following disclaimer. |
| 17 | # * Redistributions in binary form must reproduce the above |
| 18 | # copyright notice, this list of conditions and the following disclaimer |
| 19 | # in the documentation and/or other materials provided with the |
| 20 | # distribution. |
| 21 | # * Neither the name of Google Inc. nor the names of its |
| 22 | # contributors may be used to endorse or promote products derived from |
| 23 | # this software without specific prior written permission. |
| 24 | # |
| 25 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 26 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 27 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 28 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 29 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 30 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 31 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 32 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 33 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 34 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 35 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 36 | |
| 37 | # Some of this file is built with the help of |
| 38 | # https://n8.io/converting-a-c-library-to-gyp/ |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 39 | { |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 40 | 'target_defaults': { |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 41 | 'include_dirs': [ |
| 42 | '.', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 43 | 'include' |
murgatroid99 | a89d9e7 | 2015-10-13 16:03:16 -0700 | [diff] [blame] | 44 | ], |
| 45 | 'conditions': [ |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 46 | ['OS == "win"', { |
Michael Lumish | e2f3465 | 2016-01-27 16:41:54 -0800 | [diff] [blame] | 47 | "include_dirs": [ "third_party/boringssl/include" ], |
| 48 | "defines": [ |
| 49 | '_WIN32_WINNT=0x0600', |
| 50 | 'WIN32_LEAN_AND_MEAN', |
| 51 | '_HAS_EXCEPTIONS=0', |
| 52 | 'UNICODE', |
| 53 | '_UNICODE', |
| 54 | 'NOMINMAX', |
| 55 | 'OPENSSL_NO_ASM' |
| 56 | ], |
| 57 | "msvs_settings": { |
| 58 | 'VCCLCompilerTool': { |
| 59 | 'RuntimeLibrary': 1, # static debug |
| 60 | } |
| 61 | }, |
| 62 | "libraries": [ |
| 63 | "ws2_32" |
| 64 | ] |
| 65 | }, { # OS != "win" |
murgatroid99 | af6c178 | 2016-01-28 13:14:24 -0800 | [diff] [blame] | 66 | # Empirically, Node only exports ALPN symbols if its major version is >0. |
| 67 | # io.js always reports versions >0 and always exports ALPN symbols. |
| 68 | # Therefore, Node's major version will be truthy if and only if it |
| 69 | # supports ALPN. The output of "node -v" is v[major].[minor].[patch], |
| 70 | # like "v4.1.1" in a recent version. We use cut to split by period and |
| 71 | # take the first field (resulting in "v[major]"), then use cut again |
| 72 | # to take all but the first character, removing the "v". |
| 73 | 'defines': [ |
| 74 | 'TSI_OPENSSL_ALPN_SUPPORT=<!(node --version | cut -d. -f1 | cut -c2-)' |
| 75 | ], |
Michael Lumish | e2f3465 | 2016-01-27 16:41:54 -0800 | [diff] [blame] | 76 | 'variables': { |
| 77 | 'config': '<!(echo $CONFIG)' |
| 78 | }, |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 79 | 'include_dirs': [ |
| 80 | '<(node_root_dir)/deps/openssl/openssl/include', |
| 81 | '<(node_root_dir)/deps/zlib' |
| 82 | ], |
murgatroid99 | a89d9e7 | 2015-10-13 16:03:16 -0700 | [diff] [blame] | 83 | 'conditions': [ |
| 84 | ['config=="gcov"', { |
| 85 | 'cflags': [ |
| 86 | '-ftest-coverage', |
| 87 | '-fprofile-arcs', |
| 88 | '-O0' |
| 89 | ], |
| 90 | 'ldflags': [ |
| 91 | '-ftest-coverage', |
| 92 | '-fprofile-arcs' |
| 93 | ] |
| 94 | } |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 95 | ], |
| 96 | ["target_arch=='ia32'", { |
| 97 | "include_dirs": [ "<(node_root_dir)/deps/openssl/config/piii" ] |
| 98 | }], |
| 99 | ["target_arch=='x64'", { |
| 100 | "include_dirs": [ "<(node_root_dir)/deps/openssl/config/k8" ] |
| 101 | }], |
| 102 | ["target_arch=='arm'", { |
| 103 | "include_dirs": [ "<(node_root_dir)/deps/openssl/config/arm" ] |
| 104 | }] |
murgatroid99 | a89d9e7 | 2015-10-13 16:03:16 -0700 | [diff] [blame] | 105 | ] |
murgatroid99 | afe4698 | 2015-10-23 10:17:26 -0700 | [diff] [blame] | 106 | }] |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 107 | ] |
| 108 | }, |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 109 | 'conditions': [ |
| 110 | ['OS == "win"', { |
| 111 | 'targets': [ |
murgatroid99 | af6c178 | 2016-01-28 13:14:24 -0800 | [diff] [blame] | 112 | { |
| 113 | # IMPORTANT WINDOWS BUILD INFORMATION |
| 114 | # This library does not build on Windows without modifying the Node |
| 115 | # development packages that node-gyp downloads in order to build. |
| 116 | # Due to https://github.com/nodejs/node/issues/4932, the headers for |
| 117 | # BoringSSL conflict with the OpenSSL headers included by default |
| 118 | # when including the Node headers. The remedy for this is to remove |
| 119 | # the OpenSSL headers, from the downloaded Node development package, |
| 120 | # which is typically located in `.node-gyp` in your home directory. |
murgatroid99 | 8e4103e | 2016-01-28 14:53:33 -0800 | [diff] [blame] | 121 | 'target_name': 'WINDOWS_BUILD_WARNING', |
murgatroid99 | af6c178 | 2016-01-28 13:14:24 -0800 | [diff] [blame] | 122 | 'actions': [ |
| 123 | { |
murgatroid99 | 8e4103e | 2016-01-28 14:53:33 -0800 | [diff] [blame] | 124 | 'action_name': 'WINDOWS_BUILD_WARNING', |
| 125 | 'inputs': [ |
| 126 | 'package.json' |
| 127 | ], |
| 128 | 'outputs': [ |
| 129 | 'ignore_this_part' |
| 130 | ], |
| 131 | 'action': ['echo', 'IMPORTANT: Due to https://github.com/nodejs/node/issues/4932, to build this library on Windows, you must first remove <(node_root_dir)/include/node/openssl/'] |
murgatroid99 | af6c178 | 2016-01-28 13:14:24 -0800 | [diff] [blame] | 132 | } |
| 133 | ] |
| 134 | }, |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 135 | # Only want to compile BoringSSL and zlib under Windows |
| 136 | { |
| 137 | 'cflags': [ |
| 138 | '-std=c99', |
| 139 | '-Wall', |
| 140 | '-Werror' |
| 141 | ], |
| 142 | 'target_name': 'boringssl', |
| 143 | 'product_prefix': 'lib', |
| 144 | 'type': 'static_library', |
| 145 | 'dependencies': [ |
| 146 | ], |
| 147 | 'sources': [ |
| 148 | 'src/boringssl/err_data.c', |
| 149 | 'third_party/boringssl/crypto/aes/aes.c', |
| 150 | 'third_party/boringssl/crypto/aes/mode_wrappers.c', |
| 151 | 'third_party/boringssl/crypto/asn1/a_bitstr.c', |
| 152 | 'third_party/boringssl/crypto/asn1/a_bool.c', |
| 153 | 'third_party/boringssl/crypto/asn1/a_bytes.c', |
| 154 | 'third_party/boringssl/crypto/asn1/a_d2i_fp.c', |
| 155 | 'third_party/boringssl/crypto/asn1/a_dup.c', |
| 156 | 'third_party/boringssl/crypto/asn1/a_enum.c', |
| 157 | 'third_party/boringssl/crypto/asn1/a_gentm.c', |
| 158 | 'third_party/boringssl/crypto/asn1/a_i2d_fp.c', |
| 159 | 'third_party/boringssl/crypto/asn1/a_int.c', |
| 160 | 'third_party/boringssl/crypto/asn1/a_mbstr.c', |
| 161 | 'third_party/boringssl/crypto/asn1/a_object.c', |
| 162 | 'third_party/boringssl/crypto/asn1/a_octet.c', |
| 163 | 'third_party/boringssl/crypto/asn1/a_print.c', |
| 164 | 'third_party/boringssl/crypto/asn1/a_strnid.c', |
| 165 | 'third_party/boringssl/crypto/asn1/a_time.c', |
| 166 | 'third_party/boringssl/crypto/asn1/a_type.c', |
| 167 | 'third_party/boringssl/crypto/asn1/a_utctm.c', |
| 168 | 'third_party/boringssl/crypto/asn1/a_utf8.c', |
| 169 | 'third_party/boringssl/crypto/asn1/asn1_lib.c', |
| 170 | 'third_party/boringssl/crypto/asn1/asn1_par.c', |
| 171 | 'third_party/boringssl/crypto/asn1/asn_pack.c', |
| 172 | 'third_party/boringssl/crypto/asn1/bio_asn1.c', |
| 173 | 'third_party/boringssl/crypto/asn1/bio_ndef.c', |
| 174 | 'third_party/boringssl/crypto/asn1/f_enum.c', |
| 175 | 'third_party/boringssl/crypto/asn1/f_int.c', |
| 176 | 'third_party/boringssl/crypto/asn1/f_string.c', |
| 177 | 'third_party/boringssl/crypto/asn1/t_bitst.c', |
| 178 | 'third_party/boringssl/crypto/asn1/t_pkey.c', |
| 179 | 'third_party/boringssl/crypto/asn1/tasn_dec.c', |
| 180 | 'third_party/boringssl/crypto/asn1/tasn_enc.c', |
| 181 | 'third_party/boringssl/crypto/asn1/tasn_fre.c', |
| 182 | 'third_party/boringssl/crypto/asn1/tasn_new.c', |
| 183 | 'third_party/boringssl/crypto/asn1/tasn_prn.c', |
| 184 | 'third_party/boringssl/crypto/asn1/tasn_typ.c', |
| 185 | 'third_party/boringssl/crypto/asn1/tasn_utl.c', |
| 186 | 'third_party/boringssl/crypto/asn1/x_bignum.c', |
| 187 | 'third_party/boringssl/crypto/asn1/x_long.c', |
| 188 | 'third_party/boringssl/crypto/base64/base64.c', |
| 189 | 'third_party/boringssl/crypto/bio/bio.c', |
| 190 | 'third_party/boringssl/crypto/bio/bio_mem.c', |
| 191 | 'third_party/boringssl/crypto/bio/buffer.c', |
| 192 | 'third_party/boringssl/crypto/bio/connect.c', |
| 193 | 'third_party/boringssl/crypto/bio/fd.c', |
| 194 | 'third_party/boringssl/crypto/bio/file.c', |
| 195 | 'third_party/boringssl/crypto/bio/hexdump.c', |
| 196 | 'third_party/boringssl/crypto/bio/pair.c', |
| 197 | 'third_party/boringssl/crypto/bio/printf.c', |
| 198 | 'third_party/boringssl/crypto/bio/socket.c', |
| 199 | 'third_party/boringssl/crypto/bio/socket_helper.c', |
| 200 | 'third_party/boringssl/crypto/bn/add.c', |
| 201 | 'third_party/boringssl/crypto/bn/asm/x86_64-gcc.c', |
| 202 | 'third_party/boringssl/crypto/bn/bn.c', |
| 203 | 'third_party/boringssl/crypto/bn/bn_asn1.c', |
| 204 | 'third_party/boringssl/crypto/bn/cmp.c', |
| 205 | 'third_party/boringssl/crypto/bn/convert.c', |
| 206 | 'third_party/boringssl/crypto/bn/ctx.c', |
| 207 | 'third_party/boringssl/crypto/bn/div.c', |
| 208 | 'third_party/boringssl/crypto/bn/exponentiation.c', |
| 209 | 'third_party/boringssl/crypto/bn/gcd.c', |
| 210 | 'third_party/boringssl/crypto/bn/generic.c', |
| 211 | 'third_party/boringssl/crypto/bn/kronecker.c', |
| 212 | 'third_party/boringssl/crypto/bn/montgomery.c', |
| 213 | 'third_party/boringssl/crypto/bn/mul.c', |
| 214 | 'third_party/boringssl/crypto/bn/prime.c', |
| 215 | 'third_party/boringssl/crypto/bn/random.c', |
| 216 | 'third_party/boringssl/crypto/bn/rsaz_exp.c', |
| 217 | 'third_party/boringssl/crypto/bn/shift.c', |
| 218 | 'third_party/boringssl/crypto/bn/sqrt.c', |
| 219 | 'third_party/boringssl/crypto/buf/buf.c', |
| 220 | 'third_party/boringssl/crypto/bytestring/ber.c', |
| 221 | 'third_party/boringssl/crypto/bytestring/cbb.c', |
| 222 | 'third_party/boringssl/crypto/bytestring/cbs.c', |
| 223 | 'third_party/boringssl/crypto/chacha/chacha_generic.c', |
| 224 | 'third_party/boringssl/crypto/chacha/chacha_vec.c', |
| 225 | 'third_party/boringssl/crypto/cipher/aead.c', |
| 226 | 'third_party/boringssl/crypto/cipher/cipher.c', |
| 227 | 'third_party/boringssl/crypto/cipher/derive_key.c', |
| 228 | 'third_party/boringssl/crypto/cipher/e_aes.c', |
| 229 | 'third_party/boringssl/crypto/cipher/e_chacha20poly1305.c', |
| 230 | 'third_party/boringssl/crypto/cipher/e_des.c', |
| 231 | 'third_party/boringssl/crypto/cipher/e_null.c', |
| 232 | 'third_party/boringssl/crypto/cipher/e_rc2.c', |
| 233 | 'third_party/boringssl/crypto/cipher/e_rc4.c', |
| 234 | 'third_party/boringssl/crypto/cipher/e_ssl3.c', |
| 235 | 'third_party/boringssl/crypto/cipher/e_tls.c', |
| 236 | 'third_party/boringssl/crypto/cipher/tls_cbc.c', |
| 237 | 'third_party/boringssl/crypto/cmac/cmac.c', |
| 238 | 'third_party/boringssl/crypto/conf/conf.c', |
| 239 | 'third_party/boringssl/crypto/cpu-arm.c', |
| 240 | 'third_party/boringssl/crypto/cpu-intel.c', |
| 241 | 'third_party/boringssl/crypto/crypto.c', |
| 242 | 'third_party/boringssl/crypto/curve25519/curve25519.c', |
| 243 | 'third_party/boringssl/crypto/des/des.c', |
| 244 | 'third_party/boringssl/crypto/dh/check.c', |
| 245 | 'third_party/boringssl/crypto/dh/dh.c', |
| 246 | 'third_party/boringssl/crypto/dh/dh_asn1.c', |
| 247 | 'third_party/boringssl/crypto/dh/params.c', |
| 248 | 'third_party/boringssl/crypto/digest/digest.c', |
| 249 | 'third_party/boringssl/crypto/digest/digests.c', |
| 250 | 'third_party/boringssl/crypto/directory_posix.c', |
| 251 | 'third_party/boringssl/crypto/directory_win.c', |
| 252 | 'third_party/boringssl/crypto/dsa/dsa.c', |
| 253 | 'third_party/boringssl/crypto/dsa/dsa_asn1.c', |
| 254 | 'third_party/boringssl/crypto/ec/ec.c', |
| 255 | 'third_party/boringssl/crypto/ec/ec_asn1.c', |
| 256 | 'third_party/boringssl/crypto/ec/ec_key.c', |
| 257 | 'third_party/boringssl/crypto/ec/ec_montgomery.c', |
| 258 | 'third_party/boringssl/crypto/ec/oct.c', |
| 259 | 'third_party/boringssl/crypto/ec/p224-64.c', |
| 260 | 'third_party/boringssl/crypto/ec/p256-64.c', |
| 261 | 'third_party/boringssl/crypto/ec/p256-x86_64.c', |
| 262 | 'third_party/boringssl/crypto/ec/simple.c', |
| 263 | 'third_party/boringssl/crypto/ec/util-64.c', |
| 264 | 'third_party/boringssl/crypto/ec/wnaf.c', |
| 265 | 'third_party/boringssl/crypto/ecdh/ecdh.c', |
| 266 | 'third_party/boringssl/crypto/ecdsa/ecdsa.c', |
| 267 | 'third_party/boringssl/crypto/ecdsa/ecdsa_asn1.c', |
| 268 | 'third_party/boringssl/crypto/engine/engine.c', |
| 269 | 'third_party/boringssl/crypto/err/err.c', |
| 270 | 'third_party/boringssl/crypto/evp/algorithm.c', |
| 271 | 'third_party/boringssl/crypto/evp/digestsign.c', |
| 272 | 'third_party/boringssl/crypto/evp/evp.c', |
| 273 | 'third_party/boringssl/crypto/evp/evp_asn1.c', |
| 274 | 'third_party/boringssl/crypto/evp/evp_ctx.c', |
| 275 | 'third_party/boringssl/crypto/evp/p_dsa_asn1.c', |
| 276 | 'third_party/boringssl/crypto/evp/p_ec.c', |
| 277 | 'third_party/boringssl/crypto/evp/p_ec_asn1.c', |
| 278 | 'third_party/boringssl/crypto/evp/p_rsa.c', |
| 279 | 'third_party/boringssl/crypto/evp/p_rsa_asn1.c', |
| 280 | 'third_party/boringssl/crypto/evp/pbkdf.c', |
| 281 | 'third_party/boringssl/crypto/evp/sign.c', |
| 282 | 'third_party/boringssl/crypto/ex_data.c', |
| 283 | 'third_party/boringssl/crypto/hkdf/hkdf.c', |
| 284 | 'third_party/boringssl/crypto/hmac/hmac.c', |
| 285 | 'third_party/boringssl/crypto/lhash/lhash.c', |
| 286 | 'third_party/boringssl/crypto/md4/md4.c', |
| 287 | 'third_party/boringssl/crypto/md5/md5.c', |
| 288 | 'third_party/boringssl/crypto/mem.c', |
| 289 | 'third_party/boringssl/crypto/modes/cbc.c', |
| 290 | 'third_party/boringssl/crypto/modes/cfb.c', |
| 291 | 'third_party/boringssl/crypto/modes/ctr.c', |
| 292 | 'third_party/boringssl/crypto/modes/gcm.c', |
| 293 | 'third_party/boringssl/crypto/modes/ofb.c', |
| 294 | 'third_party/boringssl/crypto/obj/obj.c', |
| 295 | 'third_party/boringssl/crypto/obj/obj_xref.c', |
| 296 | 'third_party/boringssl/crypto/pem/pem_all.c', |
| 297 | 'third_party/boringssl/crypto/pem/pem_info.c', |
| 298 | 'third_party/boringssl/crypto/pem/pem_lib.c', |
| 299 | 'third_party/boringssl/crypto/pem/pem_oth.c', |
| 300 | 'third_party/boringssl/crypto/pem/pem_pk8.c', |
| 301 | 'third_party/boringssl/crypto/pem/pem_pkey.c', |
| 302 | 'third_party/boringssl/crypto/pem/pem_x509.c', |
| 303 | 'third_party/boringssl/crypto/pem/pem_xaux.c', |
| 304 | 'third_party/boringssl/crypto/pkcs8/p5_pbe.c', |
| 305 | 'third_party/boringssl/crypto/pkcs8/p5_pbev2.c', |
| 306 | 'third_party/boringssl/crypto/pkcs8/p8_pkey.c', |
| 307 | 'third_party/boringssl/crypto/pkcs8/pkcs8.c', |
| 308 | 'third_party/boringssl/crypto/poly1305/poly1305.c', |
| 309 | 'third_party/boringssl/crypto/poly1305/poly1305_arm.c', |
| 310 | 'third_party/boringssl/crypto/poly1305/poly1305_vec.c', |
| 311 | 'third_party/boringssl/crypto/rand/rand.c', |
| 312 | 'third_party/boringssl/crypto/rand/urandom.c', |
| 313 | 'third_party/boringssl/crypto/rand/windows.c', |
| 314 | 'third_party/boringssl/crypto/rc4/rc4.c', |
| 315 | 'third_party/boringssl/crypto/refcount_c11.c', |
| 316 | 'third_party/boringssl/crypto/refcount_lock.c', |
| 317 | 'third_party/boringssl/crypto/rsa/blinding.c', |
| 318 | 'third_party/boringssl/crypto/rsa/padding.c', |
| 319 | 'third_party/boringssl/crypto/rsa/rsa.c', |
| 320 | 'third_party/boringssl/crypto/rsa/rsa_asn1.c', |
| 321 | 'third_party/boringssl/crypto/rsa/rsa_impl.c', |
| 322 | 'third_party/boringssl/crypto/sha/sha1.c', |
| 323 | 'third_party/boringssl/crypto/sha/sha256.c', |
| 324 | 'third_party/boringssl/crypto/sha/sha512.c', |
| 325 | 'third_party/boringssl/crypto/stack/stack.c', |
| 326 | 'third_party/boringssl/crypto/thread.c', |
| 327 | 'third_party/boringssl/crypto/thread_none.c', |
| 328 | 'third_party/boringssl/crypto/thread_pthread.c', |
| 329 | 'third_party/boringssl/crypto/thread_win.c', |
| 330 | 'third_party/boringssl/crypto/time_support.c', |
| 331 | 'third_party/boringssl/crypto/x509/a_digest.c', |
| 332 | 'third_party/boringssl/crypto/x509/a_sign.c', |
| 333 | 'third_party/boringssl/crypto/x509/a_strex.c', |
| 334 | 'third_party/boringssl/crypto/x509/a_verify.c', |
| 335 | 'third_party/boringssl/crypto/x509/asn1_gen.c', |
| 336 | 'third_party/boringssl/crypto/x509/by_dir.c', |
| 337 | 'third_party/boringssl/crypto/x509/by_file.c', |
| 338 | 'third_party/boringssl/crypto/x509/i2d_pr.c', |
| 339 | 'third_party/boringssl/crypto/x509/pkcs7.c', |
| 340 | 'third_party/boringssl/crypto/x509/t_crl.c', |
| 341 | 'third_party/boringssl/crypto/x509/t_req.c', |
| 342 | 'third_party/boringssl/crypto/x509/t_x509.c', |
| 343 | 'third_party/boringssl/crypto/x509/t_x509a.c', |
| 344 | 'third_party/boringssl/crypto/x509/x509.c', |
| 345 | 'third_party/boringssl/crypto/x509/x509_att.c', |
| 346 | 'third_party/boringssl/crypto/x509/x509_cmp.c', |
| 347 | 'third_party/boringssl/crypto/x509/x509_d2.c', |
| 348 | 'third_party/boringssl/crypto/x509/x509_def.c', |
| 349 | 'third_party/boringssl/crypto/x509/x509_ext.c', |
| 350 | 'third_party/boringssl/crypto/x509/x509_lu.c', |
| 351 | 'third_party/boringssl/crypto/x509/x509_obj.c', |
| 352 | 'third_party/boringssl/crypto/x509/x509_r2x.c', |
| 353 | 'third_party/boringssl/crypto/x509/x509_req.c', |
| 354 | 'third_party/boringssl/crypto/x509/x509_set.c', |
| 355 | 'third_party/boringssl/crypto/x509/x509_trs.c', |
| 356 | 'third_party/boringssl/crypto/x509/x509_txt.c', |
| 357 | 'third_party/boringssl/crypto/x509/x509_v3.c', |
| 358 | 'third_party/boringssl/crypto/x509/x509_vfy.c', |
| 359 | 'third_party/boringssl/crypto/x509/x509_vpm.c', |
| 360 | 'third_party/boringssl/crypto/x509/x509cset.c', |
| 361 | 'third_party/boringssl/crypto/x509/x509name.c', |
| 362 | 'third_party/boringssl/crypto/x509/x509rset.c', |
| 363 | 'third_party/boringssl/crypto/x509/x509spki.c', |
| 364 | 'third_party/boringssl/crypto/x509/x509type.c', |
| 365 | 'third_party/boringssl/crypto/x509/x_algor.c', |
| 366 | 'third_party/boringssl/crypto/x509/x_all.c', |
| 367 | 'third_party/boringssl/crypto/x509/x_attrib.c', |
| 368 | 'third_party/boringssl/crypto/x509/x_crl.c', |
| 369 | 'third_party/boringssl/crypto/x509/x_exten.c', |
| 370 | 'third_party/boringssl/crypto/x509/x_info.c', |
| 371 | 'third_party/boringssl/crypto/x509/x_name.c', |
| 372 | 'third_party/boringssl/crypto/x509/x_pkey.c', |
| 373 | 'third_party/boringssl/crypto/x509/x_pubkey.c', |
| 374 | 'third_party/boringssl/crypto/x509/x_req.c', |
| 375 | 'third_party/boringssl/crypto/x509/x_sig.c', |
| 376 | 'third_party/boringssl/crypto/x509/x_spki.c', |
| 377 | 'third_party/boringssl/crypto/x509/x_val.c', |
| 378 | 'third_party/boringssl/crypto/x509/x_x509.c', |
| 379 | 'third_party/boringssl/crypto/x509/x_x509a.c', |
| 380 | 'third_party/boringssl/crypto/x509v3/pcy_cache.c', |
| 381 | 'third_party/boringssl/crypto/x509v3/pcy_data.c', |
| 382 | 'third_party/boringssl/crypto/x509v3/pcy_lib.c', |
| 383 | 'third_party/boringssl/crypto/x509v3/pcy_map.c', |
| 384 | 'third_party/boringssl/crypto/x509v3/pcy_node.c', |
| 385 | 'third_party/boringssl/crypto/x509v3/pcy_tree.c', |
| 386 | 'third_party/boringssl/crypto/x509v3/v3_akey.c', |
| 387 | 'third_party/boringssl/crypto/x509v3/v3_akeya.c', |
| 388 | 'third_party/boringssl/crypto/x509v3/v3_alt.c', |
| 389 | 'third_party/boringssl/crypto/x509v3/v3_bcons.c', |
| 390 | 'third_party/boringssl/crypto/x509v3/v3_bitst.c', |
| 391 | 'third_party/boringssl/crypto/x509v3/v3_conf.c', |
| 392 | 'third_party/boringssl/crypto/x509v3/v3_cpols.c', |
| 393 | 'third_party/boringssl/crypto/x509v3/v3_crld.c', |
| 394 | 'third_party/boringssl/crypto/x509v3/v3_enum.c', |
| 395 | 'third_party/boringssl/crypto/x509v3/v3_extku.c', |
| 396 | 'third_party/boringssl/crypto/x509v3/v3_genn.c', |
| 397 | 'third_party/boringssl/crypto/x509v3/v3_ia5.c', |
| 398 | 'third_party/boringssl/crypto/x509v3/v3_info.c', |
| 399 | 'third_party/boringssl/crypto/x509v3/v3_int.c', |
| 400 | 'third_party/boringssl/crypto/x509v3/v3_lib.c', |
| 401 | 'third_party/boringssl/crypto/x509v3/v3_ncons.c', |
| 402 | 'third_party/boringssl/crypto/x509v3/v3_pci.c', |
| 403 | 'third_party/boringssl/crypto/x509v3/v3_pcia.c', |
| 404 | 'third_party/boringssl/crypto/x509v3/v3_pcons.c', |
| 405 | 'third_party/boringssl/crypto/x509v3/v3_pku.c', |
| 406 | 'third_party/boringssl/crypto/x509v3/v3_pmaps.c', |
| 407 | 'third_party/boringssl/crypto/x509v3/v3_prn.c', |
| 408 | 'third_party/boringssl/crypto/x509v3/v3_purp.c', |
| 409 | 'third_party/boringssl/crypto/x509v3/v3_skey.c', |
| 410 | 'third_party/boringssl/crypto/x509v3/v3_sxnet.c', |
| 411 | 'third_party/boringssl/crypto/x509v3/v3_utl.c', |
| 412 | 'third_party/boringssl/ssl/custom_extensions.c', |
| 413 | 'third_party/boringssl/ssl/d1_both.c', |
| 414 | 'third_party/boringssl/ssl/d1_clnt.c', |
| 415 | 'third_party/boringssl/ssl/d1_lib.c', |
| 416 | 'third_party/boringssl/ssl/d1_meth.c', |
| 417 | 'third_party/boringssl/ssl/d1_pkt.c', |
| 418 | 'third_party/boringssl/ssl/d1_srtp.c', |
| 419 | 'third_party/boringssl/ssl/d1_srvr.c', |
| 420 | 'third_party/boringssl/ssl/dtls_record.c', |
| 421 | 'third_party/boringssl/ssl/pqueue/pqueue.c', |
| 422 | 'third_party/boringssl/ssl/s3_both.c', |
| 423 | 'third_party/boringssl/ssl/s3_clnt.c', |
| 424 | 'third_party/boringssl/ssl/s3_enc.c', |
| 425 | 'third_party/boringssl/ssl/s3_lib.c', |
| 426 | 'third_party/boringssl/ssl/s3_meth.c', |
| 427 | 'third_party/boringssl/ssl/s3_pkt.c', |
| 428 | 'third_party/boringssl/ssl/s3_srvr.c', |
| 429 | 'third_party/boringssl/ssl/ssl_aead_ctx.c', |
| 430 | 'third_party/boringssl/ssl/ssl_asn1.c', |
| 431 | 'third_party/boringssl/ssl/ssl_buffer.c', |
| 432 | 'third_party/boringssl/ssl/ssl_cert.c', |
| 433 | 'third_party/boringssl/ssl/ssl_cipher.c', |
| 434 | 'third_party/boringssl/ssl/ssl_file.c', |
| 435 | 'third_party/boringssl/ssl/ssl_lib.c', |
| 436 | 'third_party/boringssl/ssl/ssl_rsa.c', |
| 437 | 'third_party/boringssl/ssl/ssl_session.c', |
| 438 | 'third_party/boringssl/ssl/ssl_stat.c', |
| 439 | 'third_party/boringssl/ssl/t1_enc.c', |
| 440 | 'third_party/boringssl/ssl/t1_lib.c', |
| 441 | 'third_party/boringssl/ssl/tls_record.c', |
murgatroid99 | af6c178 | 2016-01-28 13:14:24 -0800 | [diff] [blame] | 442 | ] |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 443 | }, |
| 444 | { |
| 445 | 'cflags': [ |
| 446 | '-std=c99', |
| 447 | '-Wall', |
| 448 | '-Werror' |
| 449 | ], |
| 450 | 'target_name': 'z', |
| 451 | 'product_prefix': 'lib', |
| 452 | 'type': 'static_library', |
| 453 | 'dependencies': [ |
| 454 | ], |
| 455 | 'sources': [ |
| 456 | 'third_party/zlib/adler32.c', |
| 457 | 'third_party/zlib/compress.c', |
| 458 | 'third_party/zlib/crc32.c', |
| 459 | 'third_party/zlib/deflate.c', |
| 460 | 'third_party/zlib/gzclose.c', |
| 461 | 'third_party/zlib/gzlib.c', |
| 462 | 'third_party/zlib/gzread.c', |
| 463 | 'third_party/zlib/gzwrite.c', |
| 464 | 'third_party/zlib/infback.c', |
| 465 | 'third_party/zlib/inffast.c', |
| 466 | 'third_party/zlib/inflate.c', |
| 467 | 'third_party/zlib/inftrees.c', |
| 468 | 'third_party/zlib/trees.c', |
| 469 | 'third_party/zlib/uncompr.c', |
| 470 | 'third_party/zlib/zutil.c', |
murgatroid99 | af6c178 | 2016-01-28 13:14:24 -0800 | [diff] [blame] | 471 | ] |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 472 | }, |
| 473 | ] |
| 474 | }] |
| 475 | ], |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 476 | 'targets': [ |
| 477 | { |
murgatroid99 | 3abed31 | 2016-01-07 17:16:46 -0800 | [diff] [blame] | 478 | 'cflags': [ |
| 479 | '-std=c99', |
| 480 | '-Wall', |
| 481 | '-Werror' |
| 482 | ], |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 483 | 'target_name': 'gpr', |
| 484 | 'product_prefix': 'lib', |
| 485 | 'type': 'static_library', |
| 486 | 'dependencies': [ |
| 487 | ], |
| 488 | 'sources': [ |
Craig Tiller | 9519009 | 2015-10-10 20:06:35 -0700 | [diff] [blame] | 489 | 'src/core/profiling/basic_timers.c', |
| 490 | 'src/core/profiling/stap_timers.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 491 | 'src/core/support/alloc.c', |
Craig Tiller | fba79f2 | 2015-11-23 11:06:55 -0800 | [diff] [blame] | 492 | 'src/core/support/avl.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 493 | 'src/core/support/cmdline.c', |
| 494 | 'src/core/support/cpu_iphone.c', |
| 495 | 'src/core/support/cpu_linux.c', |
| 496 | 'src/core/support/cpu_posix.c', |
| 497 | 'src/core/support/cpu_windows.c', |
| 498 | 'src/core/support/env_linux.c', |
| 499 | 'src/core/support/env_posix.c', |
| 500 | 'src/core/support/env_win32.c', |
| 501 | 'src/core/support/file.c', |
| 502 | 'src/core/support/file_posix.c', |
| 503 | 'src/core/support/file_win32.c', |
| 504 | 'src/core/support/histogram.c', |
| 505 | 'src/core/support/host_port.c', |
| 506 | 'src/core/support/log.c', |
| 507 | 'src/core/support/log_android.c', |
| 508 | 'src/core/support/log_linux.c', |
| 509 | 'src/core/support/log_posix.c', |
| 510 | 'src/core/support/log_win32.c', |
| 511 | 'src/core/support/murmur_hash.c', |
| 512 | 'src/core/support/slice.c', |
| 513 | 'src/core/support/slice_buffer.c', |
| 514 | 'src/core/support/stack_lockfree.c', |
| 515 | 'src/core/support/string.c', |
| 516 | 'src/core/support/string_posix.c', |
| 517 | 'src/core/support/string_win32.c', |
| 518 | 'src/core/support/subprocess_posix.c', |
Nicolas "Pixel" Noble | 4fba286 | 2016-01-31 07:00:53 +0100 | [diff] [blame] | 519 | 'src/core/support/subprocess_windows.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 520 | 'src/core/support/sync.c', |
| 521 | 'src/core/support/sync_posix.c', |
| 522 | 'src/core/support/sync_win32.c', |
| 523 | 'src/core/support/thd.c', |
| 524 | 'src/core/support/thd_posix.c', |
| 525 | 'src/core/support/thd_win32.c', |
| 526 | 'src/core/support/time.c', |
| 527 | 'src/core/support/time_posix.c', |
Craig Tiller | 9519009 | 2015-10-10 20:06:35 -0700 | [diff] [blame] | 528 | 'src/core/support/time_precise.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 529 | 'src/core/support/time_win32.c', |
| 530 | 'src/core/support/tls_pthread.c', |
Craig Tiller | 4bef7ce | 2016-02-02 08:38:43 -0800 | [diff] [blame] | 531 | 'src/core/support/wrap_memcpy.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 532 | ], |
murgatroid99 | 6ffdb94 | 2015-10-22 16:10:05 -0700 | [diff] [blame] | 533 | "conditions": [ |
| 534 | ['OS == "mac"', { |
| 535 | 'xcode_settings': { |
murgatroid99 | 22c448b | 2015-10-23 10:25:30 -0700 | [diff] [blame] | 536 | 'MACOSX_DEPLOYMENT_TARGET': '10.9' |
murgatroid99 | 6ffdb94 | 2015-10-22 16:10:05 -0700 | [diff] [blame] | 537 | } |
| 538 | }] |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 539 | ] |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 540 | }, |
| 541 | { |
murgatroid99 | 3abed31 | 2016-01-07 17:16:46 -0800 | [diff] [blame] | 542 | 'cflags': [ |
| 543 | '-std=c99', |
| 544 | '-Wall', |
| 545 | '-Werror' |
| 546 | ], |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 547 | 'target_name': 'grpc', |
| 548 | 'product_prefix': 'lib', |
| 549 | 'type': 'static_library', |
| 550 | 'dependencies': [ |
| 551 | 'gpr', |
| 552 | ], |
| 553 | 'sources': [ |
| 554 | 'src/core/httpcli/httpcli_security_connector.c', |
| 555 | 'src/core/security/base64.c', |
| 556 | 'src/core/security/client_auth_filter.c', |
| 557 | 'src/core/security/credentials.c', |
| 558 | 'src/core/security/credentials_metadata.c', |
| 559 | 'src/core/security/credentials_posix.c', |
| 560 | 'src/core/security/credentials_win32.c', |
| 561 | 'src/core/security/google_default_credentials.c', |
| 562 | 'src/core/security/handshake.c', |
| 563 | 'src/core/security/json_token.c', |
| 564 | 'src/core/security/jwt_verifier.c', |
| 565 | 'src/core/security/secure_endpoint.c', |
| 566 | 'src/core/security/security_connector.c', |
| 567 | 'src/core/security/security_context.c', |
| 568 | 'src/core/security/server_auth_filter.c', |
| 569 | 'src/core/security/server_secure_chttp2.c', |
| 570 | 'src/core/surface/init_secure.c', |
| 571 | 'src/core/surface/secure_channel_create.c', |
| 572 | 'src/core/tsi/fake_transport_security.c', |
| 573 | 'src/core/tsi/ssl_transport_security.c', |
| 574 | 'src/core/tsi/transport_security.c', |
| 575 | 'src/core/census/grpc_context.c', |
| 576 | 'src/core/census/grpc_filter.c', |
| 577 | 'src/core/channel/channel_args.c', |
| 578 | 'src/core/channel/channel_stack.c', |
| 579 | 'src/core/channel/client_channel.c', |
David Garcia Quintas | b5ab8a2 | 2015-10-19 15:41:42 -0700 | [diff] [blame] | 580 | 'src/core/channel/client_uchannel.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 581 | 'src/core/channel/compress_filter.c', |
| 582 | 'src/core/channel/connected_channel.c', |
| 583 | 'src/core/channel/http_client_filter.c', |
| 584 | 'src/core/channel/http_server_filter.c', |
Craig Tiller | ca1593a | 2015-11-02 14:08:33 -0800 | [diff] [blame] | 585 | 'src/core/channel/subchannel_call_holder.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 586 | 'src/core/client_config/client_config.c', |
| 587 | 'src/core/client_config/connector.c', |
yang-g | a612412 | 2015-11-05 22:36:20 -0800 | [diff] [blame] | 588 | 'src/core/client_config/default_initial_connect_string.c', |
| 589 | 'src/core/client_config/initial_connect_string.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 590 | 'src/core/client_config/lb_policies/pick_first.c', |
| 591 | 'src/core/client_config/lb_policies/round_robin.c', |
| 592 | 'src/core/client_config/lb_policy.c', |
| 593 | 'src/core/client_config/lb_policy_factory.c', |
| 594 | 'src/core/client_config/lb_policy_registry.c', |
| 595 | 'src/core/client_config/resolver.c', |
| 596 | 'src/core/client_config/resolver_factory.c', |
| 597 | 'src/core/client_config/resolver_registry.c', |
| 598 | 'src/core/client_config/resolvers/dns_resolver.c', |
| 599 | 'src/core/client_config/resolvers/sockaddr_resolver.c', |
| 600 | 'src/core/client_config/subchannel.c', |
| 601 | 'src/core/client_config/subchannel_factory.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 602 | 'src/core/client_config/uri_parser.c', |
| 603 | 'src/core/compression/algorithm.c', |
| 604 | 'src/core/compression/message_compress.c', |
| 605 | 'src/core/debug/trace.c', |
| 606 | 'src/core/httpcli/format_request.c', |
| 607 | 'src/core/httpcli/httpcli.c', |
| 608 | 'src/core/httpcli/parser.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 609 | 'src/core/iomgr/closure.c', |
| 610 | 'src/core/iomgr/endpoint.c', |
| 611 | 'src/core/iomgr/endpoint_pair_posix.c', |
| 612 | 'src/core/iomgr/endpoint_pair_windows.c', |
| 613 | 'src/core/iomgr/exec_ctx.c', |
David Garcia Quintas | 63e72a7 | 2015-10-12 22:07:32 -0700 | [diff] [blame] | 614 | 'src/core/iomgr/executor.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 615 | 'src/core/iomgr/fd_posix.c', |
| 616 | 'src/core/iomgr/iocp_windows.c', |
| 617 | 'src/core/iomgr/iomgr.c', |
| 618 | 'src/core/iomgr/iomgr_posix.c', |
| 619 | 'src/core/iomgr/iomgr_windows.c', |
| 620 | 'src/core/iomgr/pollset_multipoller_with_epoll.c', |
| 621 | 'src/core/iomgr/pollset_multipoller_with_poll_posix.c', |
| 622 | 'src/core/iomgr/pollset_posix.c', |
| 623 | 'src/core/iomgr/pollset_set_posix.c', |
| 624 | 'src/core/iomgr/pollset_set_windows.c', |
| 625 | 'src/core/iomgr/pollset_windows.c', |
| 626 | 'src/core/iomgr/resolve_address_posix.c', |
| 627 | 'src/core/iomgr/resolve_address_windows.c', |
| 628 | 'src/core/iomgr/sockaddr_utils.c', |
| 629 | 'src/core/iomgr/socket_utils_common_posix.c', |
| 630 | 'src/core/iomgr/socket_utils_linux.c', |
| 631 | 'src/core/iomgr/socket_utils_posix.c', |
| 632 | 'src/core/iomgr/socket_windows.c', |
| 633 | 'src/core/iomgr/tcp_client_posix.c', |
| 634 | 'src/core/iomgr/tcp_client_windows.c', |
| 635 | 'src/core/iomgr/tcp_posix.c', |
| 636 | 'src/core/iomgr/tcp_server_posix.c', |
| 637 | 'src/core/iomgr/tcp_server_windows.c', |
| 638 | 'src/core/iomgr/tcp_windows.c', |
| 639 | 'src/core/iomgr/time_averaged_stats.c', |
David Garcia Quintas | b65e421 | 2015-10-14 12:00:21 -0700 | [diff] [blame] | 640 | 'src/core/iomgr/timer.c', |
| 641 | 'src/core/iomgr/timer_heap.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 642 | 'src/core/iomgr/udp_server.c', |
| 643 | 'src/core/iomgr/wakeup_fd_eventfd.c', |
| 644 | 'src/core/iomgr/wakeup_fd_nospecial.c', |
| 645 | 'src/core/iomgr/wakeup_fd_pipe.c', |
| 646 | 'src/core/iomgr/wakeup_fd_posix.c', |
| 647 | 'src/core/iomgr/workqueue_posix.c', |
| 648 | 'src/core/iomgr/workqueue_windows.c', |
| 649 | 'src/core/json/json.c', |
| 650 | 'src/core/json/json_reader.c', |
| 651 | 'src/core/json/json_string.c', |
| 652 | 'src/core/json/json_writer.c', |
Nicolas "Pixel" Noble | d5d83aa | 2016-01-31 06:21:49 +0100 | [diff] [blame] | 653 | 'src/core/surface/alarm.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 654 | 'src/core/surface/api_trace.c', |
| 655 | 'src/core/surface/byte_buffer.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 656 | 'src/core/surface/byte_buffer_reader.c', |
| 657 | 'src/core/surface/call.c', |
| 658 | 'src/core/surface/call_details.c', |
| 659 | 'src/core/surface/call_log_batch.c', |
| 660 | 'src/core/surface/channel.c', |
| 661 | 'src/core/surface/channel_connectivity.c', |
| 662 | 'src/core/surface/channel_create.c', |
Craig Tiller | 26dab31 | 2015-12-07 14:43:47 -0800 | [diff] [blame] | 663 | 'src/core/surface/channel_ping.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 664 | 'src/core/surface/completion_queue.c', |
| 665 | 'src/core/surface/event_string.c', |
| 666 | 'src/core/surface/init.c', |
| 667 | 'src/core/surface/lame_client.c', |
| 668 | 'src/core/surface/metadata_array.c', |
| 669 | 'src/core/surface/server.c', |
| 670 | 'src/core/surface/server_chttp2.c', |
| 671 | 'src/core/surface/server_create.c', |
murgatroid99 | c3910ca | 2016-01-06 13:14:23 -0800 | [diff] [blame] | 672 | 'src/core/surface/validate_metadata.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 673 | 'src/core/surface/version.c', |
Craig Tiller | ca1593a | 2015-11-02 14:08:33 -0800 | [diff] [blame] | 674 | 'src/core/transport/byte_stream.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 675 | 'src/core/transport/chttp2/alpn.c', |
| 676 | 'src/core/transport/chttp2/bin_encoder.c', |
| 677 | 'src/core/transport/chttp2/frame_data.c', |
| 678 | 'src/core/transport/chttp2/frame_goaway.c', |
| 679 | 'src/core/transport/chttp2/frame_ping.c', |
| 680 | 'src/core/transport/chttp2/frame_rst_stream.c', |
| 681 | 'src/core/transport/chttp2/frame_settings.c', |
| 682 | 'src/core/transport/chttp2/frame_window_update.c', |
Craig Tiller | ca1593a | 2015-11-02 14:08:33 -0800 | [diff] [blame] | 683 | 'src/core/transport/chttp2/hpack_encoder.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 684 | 'src/core/transport/chttp2/hpack_parser.c', |
| 685 | 'src/core/transport/chttp2/hpack_table.c', |
| 686 | 'src/core/transport/chttp2/huffsyms.c', |
| 687 | 'src/core/transport/chttp2/incoming_metadata.c', |
| 688 | 'src/core/transport/chttp2/parsing.c', |
| 689 | 'src/core/transport/chttp2/status_conversion.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 690 | 'src/core/transport/chttp2/stream_lists.c', |
| 691 | 'src/core/transport/chttp2/stream_map.c', |
| 692 | 'src/core/transport/chttp2/timeout_encoding.c', |
| 693 | 'src/core/transport/chttp2/varint.c', |
| 694 | 'src/core/transport/chttp2/writing.c', |
| 695 | 'src/core/transport/chttp2_transport.c', |
| 696 | 'src/core/transport/connectivity_state.c', |
| 697 | 'src/core/transport/metadata.c', |
Craig Tiller | ca1593a | 2015-11-02 14:08:33 -0800 | [diff] [blame] | 698 | 'src/core/transport/metadata_batch.c', |
Craig Tiller | 2e7687c | 2015-11-18 14:56:46 -0800 | [diff] [blame] | 699 | 'src/core/transport/static_metadata.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 700 | 'src/core/transport/transport.c', |
| 701 | 'src/core/transport/transport_op_string.c', |
| 702 | 'src/core/census/context.c', |
| 703 | 'src/core/census/initialize.c', |
| 704 | 'src/core/census/operation.c', |
Nicolas "Pixel" Noble | fa132c2 | 2016-01-31 09:31:15 +0100 | [diff] [blame] | 705 | 'src/core/census/placeholders.c', |
Alistair Veitch | bb30d25 | 2016-01-12 17:36:05 -0800 | [diff] [blame] | 706 | 'src/core/census/tag_set.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 707 | 'src/core/census/tracing.c', |
| 708 | ], |
murgatroid99 | 6ffdb94 | 2015-10-22 16:10:05 -0700 | [diff] [blame] | 709 | "conditions": [ |
| 710 | ['OS == "mac"', { |
| 711 | 'xcode_settings': { |
murgatroid99 | 22c448b | 2015-10-23 10:25:30 -0700 | [diff] [blame] | 712 | 'MACOSX_DEPLOYMENT_TARGET': '10.9' |
murgatroid99 | 6ffdb94 | 2015-10-22 16:10:05 -0700 | [diff] [blame] | 713 | } |
| 714 | }] |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 715 | ] |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 716 | }, |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 717 | { |
| 718 | 'include_dirs': [ |
| 719 | "<!(node -e \"require('nan')\")" |
| 720 | ], |
| 721 | 'cflags': [ |
murgatroid99 | 3abed31 | 2016-01-07 17:16:46 -0800 | [diff] [blame] | 722 | '-std=c++11', |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 723 | '-Wall', |
| 724 | '-pthread', |
| 725 | '-g', |
| 726 | '-zdefs', |
| 727 | '-Werror', |
| 728 | '-Wno-error=deprecated-declarations' |
| 729 | ], |
| 730 | 'ldflags': [ |
| 731 | '-g' |
| 732 | ], |
| 733 | "conditions": [ |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 734 | ['OS=="mac"', { |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 735 | 'xcode_settings': { |
| 736 | 'MACOSX_DEPLOYMENT_TARGET': '10.9', |
| 737 | 'OTHER_CFLAGS': [ |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 738 | '-stdlib=libc++' |
| 739 | ] |
| 740 | } |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 741 | }], |
| 742 | ['OS=="win"', { |
| 743 | 'dependencies': [ |
| 744 | "boringssl", |
| 745 | "z", |
| 746 | ] |
Craig Tiller | 4bef7ce | 2016-02-02 08:38:43 -0800 | [diff] [blame] | 747 | }], |
| 748 | ['OS=="linux"', { |
| 749 | 'ldflags': [ |
| 750 | '-Wl,-wrap,memcpy' |
| 751 | ] |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 752 | }] |
| 753 | ], |
| 754 | "target_name": "grpc_node", |
| 755 | "sources": [ |
| 756 | "src/node/ext/byte_buffer.cc", |
| 757 | "src/node/ext/call.cc", |
murgatroid99 | 47f519e | 2015-10-07 12:34:24 -0700 | [diff] [blame] | 758 | "src/node/ext/call_credentials.cc", |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 759 | "src/node/ext/channel.cc", |
murgatroid99 | 47f519e | 2015-10-07 12:34:24 -0700 | [diff] [blame] | 760 | "src/node/ext/channel_credentials.cc", |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 761 | "src/node/ext/completion_queue_async_worker.cc", |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 762 | "src/node/ext/node_grpc.cc", |
| 763 | "src/node/ext/server.cc", |
| 764 | "src/node/ext/server_credentials.cc", |
murgatroid99 | 879bc4f | 2015-11-05 10:35:04 -0800 | [diff] [blame] | 765 | "src/node/ext/timeval.cc", |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 766 | ], |
| 767 | "dependencies": [ |
murgatroid99 | 879bc4f | 2015-11-05 10:35:04 -0800 | [diff] [blame] | 768 | "grpc", |
| 769 | "gpr", |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 770 | ] |
murgatroid99 | 879bc4f | 2015-11-05 10:35:04 -0800 | [diff] [blame] | 771 | }, |
murgatroid99 | e190f35 | 2016-01-20 13:52:08 -0800 | [diff] [blame] | 772 | { |
| 773 | "target_name": "action_after_build", |
| 774 | "type": "none", |
| 775 | "dependencies": [ "<(module_name)" ], |
| 776 | "copies": [ |
| 777 | { |
| 778 | "files": [ "<(PRODUCT_DIR)/<(module_name).node"], |
| 779 | "destination": "<(module_path)" |
| 780 | } |
| 781 | ] |
| 782 | } |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 783 | ] |
| 784 | } |