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