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 | |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 8 | # Copyright 2015 gRPC authors. |
murgatroid99 | f33b132 | 2015-10-05 09:45:04 -0700 | [diff] [blame] | 9 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 10 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 11 | # you may not use this file except in compliance with the License. |
| 12 | # You may obtain a copy of the License at |
murgatroid99 | f33b132 | 2015-10-05 09:45:04 -0700 | [diff] [blame] | 13 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 14 | # http://www.apache.org/licenses/LICENSE-2.0 |
murgatroid99 | f33b132 | 2015-10-05 09:45:04 -0700 | [diff] [blame] | 15 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 16 | # Unless required by applicable law or agreed to in writing, software |
| 17 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 18 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 19 | # See the License for the specific language governing permissions and |
| 20 | # limitations under the License. |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 21 | |
| 22 | # Some of this file is built with the help of |
| 23 | # https://n8.io/converting-a-c-library-to-gyp/ |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 24 | { |
murgatroid99 | dc23046 | 2016-10-25 14:12:42 -0700 | [diff] [blame] | 25 | 'variables': { |
murgatroid99 | 1191b72 | 2017-02-08 11:56:52 -0800 | [diff] [blame] | 26 | 'runtime%': 'node', |
murgatroid99 | a99c947 | 2017-03-02 11:32:08 -0800 | [diff] [blame] | 27 | # Some Node installations use the system installation of OpenSSL, and on |
| 28 | # some systems, the system OpenSSL still does not have ALPN support. This |
| 29 | # will let users recompile gRPC to work without ALPN. |
murgatroid99 | fef3913 | 2017-03-23 17:45:21 -0700 | [diff] [blame] | 30 | 'grpc_alpn%': 'true', |
| 31 | # Indicates that the library should be built with gcov. |
murgatroid99 | 9805833 | 2017-04-19 10:25:34 -0700 | [diff] [blame] | 32 | 'grpc_gcov%': 'false', |
| 33 | # Indicates that the library should be built with compatibility for musl |
| 34 | # libc, so that it can run on Alpine Linux. This is only necessary if not |
| 35 | # building on Alpine Linux |
| 36 | 'grpc_alpine%': 'false' |
murgatroid99 | dc23046 | 2016-10-25 14:12:42 -0700 | [diff] [blame] | 37 | }, |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 38 | 'target_defaults': { |
murgatroid99 | fef3913 | 2017-03-23 17:45:21 -0700 | [diff] [blame] | 39 | 'configurations': { |
| 40 | 'Release': { |
| 41 | 'cflags': [ |
| 42 | '-O2', |
| 43 | ], |
| 44 | 'defines': [ |
| 45 | 'NDEBUG', |
| 46 | ], |
| 47 | }, |
| 48 | 'Debug': { |
| 49 | 'cflags': [ |
| 50 | '-O0', |
| 51 | ], |
| 52 | 'defines': [ |
| 53 | '_DEBUG', |
| 54 | 'DEBUG', |
| 55 | ], |
| 56 | }, |
| 57 | }, |
| 58 | 'cflags': [ |
| 59 | '-g', |
| 60 | '-Wall', |
| 61 | '-Wextra', |
| 62 | '-Werror', |
| 63 | '-Wno-long-long', |
| 64 | '-Wno-unused-parameter', |
| 65 | '-DOSATOMIC_USE_INLINED=1', |
| 66 | ], |
| 67 | 'ldflags': [ |
| 68 | '-g', |
| 69 | ], |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 70 | 'include_dirs': [ |
| 71 | '.', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 72 | 'include' |
murgatroid99 | a89d9e7 | 2015-10-13 16:03:16 -0700 | [diff] [blame] | 73 | ], |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 74 | 'defines': [ |
murgatroid99 | f94f64f | 2017-04-24 13:35:21 -0700 | [diff] [blame] | 75 | 'GPR_BACKWARDS_COMPATIBILITY_MODE', |
| 76 | 'GRPC_ARES=0', |
| 77 | 'GRPC_UV' |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 78 | ], |
murgatroid99 | a89d9e7 | 2015-10-13 16:03:16 -0700 | [diff] [blame] | 79 | 'conditions': [ |
murgatroid99 | fef3913 | 2017-03-23 17:45:21 -0700 | [diff] [blame] | 80 | ['grpc_gcov=="true"', { |
| 81 | 'cflags': [ |
| 82 | '-O0', |
| 83 | '-fprofile-arcs', |
| 84 | '-ftest-coverage', |
| 85 | '-Wno-return-type', |
| 86 | ], |
| 87 | 'defines': [ |
| 88 | '_DEBUG', |
| 89 | 'DEBUG', |
| 90 | 'GPR_GCOV', |
| 91 | ], |
| 92 | 'ldflags': [ |
| 93 | '-fprofile-arcs', |
| 94 | '-ftest-coverage', |
| 95 | '-rdynamic', |
| 96 | ], |
| 97 | }], |
murgatroid99 | 9805833 | 2017-04-19 10:25:34 -0700 | [diff] [blame] | 98 | ['grpc_alpine=="true"', { |
| 99 | 'defines': [ |
| 100 | 'GPR_MUSL_LIBC_COMPAT' |
| 101 | ] |
| 102 | }], |
murgatroid99 | e8ec16d | 2017-01-13 11:00:53 -0800 | [diff] [blame] | 103 | ['OS!="win" and runtime=="electron"', { |
Michael Lumish | 88162f8 | 2017-01-12 17:37:58 -0800 | [diff] [blame] | 104 | "defines": [ |
| 105 | 'OPENSSL_NO_THREADS' |
| 106 | ] |
| 107 | }], |
murgatroid99 | dc23046 | 2016-10-25 14:12:42 -0700 | [diff] [blame] | 108 | # This is the condition for using boringssl |
| 109 | ['OS=="win" or runtime=="electron"', { |
| 110 | "include_dirs": [ |
| 111 | "third_party/boringssl/include" |
| 112 | ], |
| 113 | "defines": [ |
Michael Lumish | 88162f8 | 2017-01-12 17:37:58 -0800 | [diff] [blame] | 114 | 'OPENSSL_NO_ASM' |
murgatroid99 | dc23046 | 2016-10-25 14:12:42 -0700 | [diff] [blame] | 115 | ] |
| 116 | }, { |
murgatroid99 | a99c947 | 2017-03-02 11:32:08 -0800 | [diff] [blame] | 117 | 'conditions': [ |
Yaron Shani | 8d1cfdc | 2017-05-22 14:43:05 +0300 | [diff] [blame] | 118 | ["target_arch=='ia32'", { |
Yaron Shani | 1d9a11b | 2017-05-22 23:00:46 -0700 | [diff] [blame] | 119 | "include_dirs": [ "<(node_root_dir)/deps/openssl/config/piii" ] |
Yaron Shani | 8d1cfdc | 2017-05-22 14:43:05 +0300 | [diff] [blame] | 120 | }], |
| 121 | ["target_arch=='x64'", { |
Yaron Shani | 1d9a11b | 2017-05-22 23:00:46 -0700 | [diff] [blame] | 122 | "include_dirs": [ "<(node_root_dir)/deps/openssl/config/k8" ] |
Yaron Shani | 8d1cfdc | 2017-05-22 14:43:05 +0300 | [diff] [blame] | 123 | }], |
| 124 | ["target_arch=='arm'", { |
Yaron Shani | 1d9a11b | 2017-05-22 23:00:46 -0700 | [diff] [blame] | 125 | "include_dirs": [ "<(node_root_dir)/deps/openssl/config/arm" ] |
Yaron Shani | 8d1cfdc | 2017-05-22 14:43:05 +0300 | [diff] [blame] | 126 | }], |
murgatroid99 | a99c947 | 2017-03-02 11:32:08 -0800 | [diff] [blame] | 127 | ['grpc_alpn=="true"', { |
| 128 | 'defines': [ |
| 129 | 'TSI_OPENSSL_ALPN_SUPPORT=1' |
| 130 | ], |
| 131 | }, { |
| 132 | 'defines': [ |
| 133 | 'TSI_OPENSSL_ALPN_SUPPORT=0' |
| 134 | ], |
| 135 | }] |
murgatroid99 | dc23046 | 2016-10-25 14:12:42 -0700 | [diff] [blame] | 136 | ], |
| 137 | 'include_dirs': [ |
| 138 | '<(node_root_dir)/deps/openssl/openssl/include', |
murgatroid99 | dc23046 | 2016-10-25 14:12:42 -0700 | [diff] [blame] | 139 | ] |
| 140 | }], |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 141 | ['OS == "win"', { |
murgatroid99 | 673f65b | 2016-02-01 11:19:07 -0800 | [diff] [blame] | 142 | "include_dirs": [ |
Yuchen Zeng | b48000c | 2016-08-09 22:44:23 -0700 | [diff] [blame] | 143 | "third_party/zlib", |
Yuchen Zeng | 6694bb0 | 2017-01-23 17:09:51 -0800 | [diff] [blame] | 144 | "third_party/cares/cares" |
murgatroid99 | 673f65b | 2016-02-01 11:19:07 -0800 | [diff] [blame] | 145 | ], |
Michael Lumish | e2f3465 | 2016-01-27 16:41:54 -0800 | [diff] [blame] | 146 | "defines": [ |
| 147 | '_WIN32_WINNT=0x0600', |
| 148 | 'WIN32_LEAN_AND_MEAN', |
| 149 | '_HAS_EXCEPTIONS=0', |
| 150 | 'UNICODE', |
| 151 | '_UNICODE', |
| 152 | 'NOMINMAX', |
Michael Lumish | e2f3465 | 2016-01-27 16:41:54 -0800 | [diff] [blame] | 153 | ], |
| 154 | "msvs_settings": { |
| 155 | 'VCCLCompilerTool': { |
| 156 | 'RuntimeLibrary': 1, # static debug |
| 157 | } |
| 158 | }, |
| 159 | "libraries": [ |
| 160 | "ws2_32" |
| 161 | ] |
| 162 | }, { # OS != "win" |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 163 | 'include_dirs': [ |
Yuchen Zeng | b48000c | 2016-08-09 22:44:23 -0700 | [diff] [blame] | 164 | '<(node_root_dir)/deps/zlib', |
Michael Lumish | 68dff87 | 2017-04-03 11:16:41 -0700 | [diff] [blame] | 165 | '<(node_root_dir)/deps/cares/include' |
murgatroid99 | a89d9e7 | 2015-10-13 16:03:16 -0700 | [diff] [blame] | 166 | ] |
murgatroid99 | afe4698 | 2015-10-23 10:17:26 -0700 | [diff] [blame] | 167 | }] |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 168 | ] |
| 169 | }, |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 170 | 'conditions': [ |
murgatroid99 | dc23046 | 2016-10-25 14:12:42 -0700 | [diff] [blame] | 171 | ['OS=="win" or runtime=="electron"', { |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 172 | 'targets': [ |
murgatroid99 | af6c178 | 2016-01-28 13:14:24 -0800 | [diff] [blame] | 173 | { |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 174 | 'cflags': [ |
Ken Payson | f8d6fb7 | 2017-06-15 17:32:49 -0700 | [diff] [blame] | 175 | '-std=c++11', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 176 | '-std=c99', |
| 177 | '-Wall', |
| 178 | '-Werror' |
| 179 | ], |
| 180 | 'target_name': 'boringssl', |
| 181 | 'product_prefix': 'lib', |
| 182 | 'type': 'static_library', |
| 183 | 'dependencies': [ |
| 184 | ], |
| 185 | 'sources': [ |
| 186 | 'src/boringssl/err_data.c', |
| 187 | 'third_party/boringssl/crypto/aes/aes.c', |
Ken Payson | f8d6fb7 | 2017-06-15 17:32:49 -0700 | [diff] [blame] | 188 | 'third_party/boringssl/crypto/aes/key_wrap.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 189 | 'third_party/boringssl/crypto/aes/mode_wrappers.c', |
| 190 | 'third_party/boringssl/crypto/asn1/a_bitstr.c', |
| 191 | 'third_party/boringssl/crypto/asn1/a_bool.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 192 | 'third_party/boringssl/crypto/asn1/a_d2i_fp.c', |
| 193 | 'third_party/boringssl/crypto/asn1/a_dup.c', |
| 194 | 'third_party/boringssl/crypto/asn1/a_enum.c', |
| 195 | 'third_party/boringssl/crypto/asn1/a_gentm.c', |
| 196 | 'third_party/boringssl/crypto/asn1/a_i2d_fp.c', |
| 197 | 'third_party/boringssl/crypto/asn1/a_int.c', |
| 198 | 'third_party/boringssl/crypto/asn1/a_mbstr.c', |
| 199 | 'third_party/boringssl/crypto/asn1/a_object.c', |
| 200 | 'third_party/boringssl/crypto/asn1/a_octet.c', |
| 201 | 'third_party/boringssl/crypto/asn1/a_print.c', |
| 202 | 'third_party/boringssl/crypto/asn1/a_strnid.c', |
| 203 | 'third_party/boringssl/crypto/asn1/a_time.c', |
| 204 | 'third_party/boringssl/crypto/asn1/a_type.c', |
| 205 | 'third_party/boringssl/crypto/asn1/a_utctm.c', |
| 206 | 'third_party/boringssl/crypto/asn1/a_utf8.c', |
| 207 | 'third_party/boringssl/crypto/asn1/asn1_lib.c', |
| 208 | 'third_party/boringssl/crypto/asn1/asn1_par.c', |
| 209 | 'third_party/boringssl/crypto/asn1/asn_pack.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 210 | 'third_party/boringssl/crypto/asn1/f_enum.c', |
| 211 | 'third_party/boringssl/crypto/asn1/f_int.c', |
| 212 | 'third_party/boringssl/crypto/asn1/f_string.c', |
| 213 | 'third_party/boringssl/crypto/asn1/t_bitst.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 214 | 'third_party/boringssl/crypto/asn1/tasn_dec.c', |
| 215 | 'third_party/boringssl/crypto/asn1/tasn_enc.c', |
| 216 | 'third_party/boringssl/crypto/asn1/tasn_fre.c', |
| 217 | 'third_party/boringssl/crypto/asn1/tasn_new.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 218 | 'third_party/boringssl/crypto/asn1/tasn_typ.c', |
| 219 | 'third_party/boringssl/crypto/asn1/tasn_utl.c', |
Ken Payson | f8d6fb7 | 2017-06-15 17:32:49 -0700 | [diff] [blame] | 220 | 'third_party/boringssl/crypto/asn1/time_support.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 221 | 'third_party/boringssl/crypto/asn1/x_bignum.c', |
| 222 | 'third_party/boringssl/crypto/asn1/x_long.c', |
| 223 | 'third_party/boringssl/crypto/base64/base64.c', |
| 224 | 'third_party/boringssl/crypto/bio/bio.c', |
| 225 | 'third_party/boringssl/crypto/bio/bio_mem.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 226 | 'third_party/boringssl/crypto/bio/connect.c', |
| 227 | 'third_party/boringssl/crypto/bio/fd.c', |
| 228 | 'third_party/boringssl/crypto/bio/file.c', |
| 229 | 'third_party/boringssl/crypto/bio/hexdump.c', |
| 230 | 'third_party/boringssl/crypto/bio/pair.c', |
| 231 | 'third_party/boringssl/crypto/bio/printf.c', |
| 232 | 'third_party/boringssl/crypto/bio/socket.c', |
| 233 | 'third_party/boringssl/crypto/bio/socket_helper.c', |
| 234 | 'third_party/boringssl/crypto/bn/add.c', |
| 235 | 'third_party/boringssl/crypto/bn/asm/x86_64-gcc.c', |
| 236 | 'third_party/boringssl/crypto/bn/bn.c', |
| 237 | 'third_party/boringssl/crypto/bn/bn_asn1.c', |
| 238 | 'third_party/boringssl/crypto/bn/cmp.c', |
| 239 | 'third_party/boringssl/crypto/bn/convert.c', |
| 240 | 'third_party/boringssl/crypto/bn/ctx.c', |
| 241 | 'third_party/boringssl/crypto/bn/div.c', |
| 242 | 'third_party/boringssl/crypto/bn/exponentiation.c', |
| 243 | 'third_party/boringssl/crypto/bn/gcd.c', |
| 244 | 'third_party/boringssl/crypto/bn/generic.c', |
| 245 | 'third_party/boringssl/crypto/bn/kronecker.c', |
| 246 | 'third_party/boringssl/crypto/bn/montgomery.c', |
Stanley Cheung | b39942f | 2017-01-12 21:31:07 -0800 | [diff] [blame] | 247 | 'third_party/boringssl/crypto/bn/montgomery_inv.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 248 | 'third_party/boringssl/crypto/bn/mul.c', |
| 249 | 'third_party/boringssl/crypto/bn/prime.c', |
| 250 | 'third_party/boringssl/crypto/bn/random.c', |
| 251 | 'third_party/boringssl/crypto/bn/rsaz_exp.c', |
| 252 | 'third_party/boringssl/crypto/bn/shift.c', |
| 253 | 'third_party/boringssl/crypto/bn/sqrt.c', |
| 254 | 'third_party/boringssl/crypto/buf/buf.c', |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 255 | 'third_party/boringssl/crypto/bytestring/asn1_compat.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 256 | 'third_party/boringssl/crypto/bytestring/ber.c', |
| 257 | 'third_party/boringssl/crypto/bytestring/cbb.c', |
| 258 | 'third_party/boringssl/crypto/bytestring/cbs.c', |
Stanley Cheung | b39942f | 2017-01-12 21:31:07 -0800 | [diff] [blame] | 259 | 'third_party/boringssl/crypto/chacha/chacha.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 260 | 'third_party/boringssl/crypto/cipher/aead.c', |
| 261 | 'third_party/boringssl/crypto/cipher/cipher.c', |
| 262 | 'third_party/boringssl/crypto/cipher/derive_key.c', |
| 263 | 'third_party/boringssl/crypto/cipher/e_aes.c', |
| 264 | 'third_party/boringssl/crypto/cipher/e_chacha20poly1305.c', |
| 265 | 'third_party/boringssl/crypto/cipher/e_des.c', |
| 266 | 'third_party/boringssl/crypto/cipher/e_null.c', |
| 267 | 'third_party/boringssl/crypto/cipher/e_rc2.c', |
| 268 | 'third_party/boringssl/crypto/cipher/e_rc4.c', |
| 269 | 'third_party/boringssl/crypto/cipher/e_ssl3.c', |
| 270 | 'third_party/boringssl/crypto/cipher/e_tls.c', |
| 271 | 'third_party/boringssl/crypto/cipher/tls_cbc.c', |
| 272 | 'third_party/boringssl/crypto/cmac/cmac.c', |
| 273 | 'third_party/boringssl/crypto/conf/conf.c', |
Stanley Cheung | b39942f | 2017-01-12 21:31:07 -0800 | [diff] [blame] | 274 | 'third_party/boringssl/crypto/cpu-aarch64-linux.c', |
| 275 | 'third_party/boringssl/crypto/cpu-arm-linux.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 276 | 'third_party/boringssl/crypto/cpu-arm.c', |
| 277 | 'third_party/boringssl/crypto/cpu-intel.c', |
Stanley Cheung | b39942f | 2017-01-12 21:31:07 -0800 | [diff] [blame] | 278 | 'third_party/boringssl/crypto/cpu-ppc64le.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 279 | 'third_party/boringssl/crypto/crypto.c', |
| 280 | 'third_party/boringssl/crypto/curve25519/curve25519.c', |
Stanley Cheung | b39942f | 2017-01-12 21:31:07 -0800 | [diff] [blame] | 281 | 'third_party/boringssl/crypto/curve25519/spake25519.c', |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 282 | 'third_party/boringssl/crypto/curve25519/x25519-x86_64.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 283 | 'third_party/boringssl/crypto/des/des.c', |
| 284 | 'third_party/boringssl/crypto/dh/check.c', |
| 285 | 'third_party/boringssl/crypto/dh/dh.c', |
| 286 | 'third_party/boringssl/crypto/dh/dh_asn1.c', |
| 287 | 'third_party/boringssl/crypto/dh/params.c', |
| 288 | 'third_party/boringssl/crypto/digest/digest.c', |
| 289 | 'third_party/boringssl/crypto/digest/digests.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 290 | 'third_party/boringssl/crypto/dsa/dsa.c', |
| 291 | 'third_party/boringssl/crypto/dsa/dsa_asn1.c', |
| 292 | 'third_party/boringssl/crypto/ec/ec.c', |
| 293 | 'third_party/boringssl/crypto/ec/ec_asn1.c', |
| 294 | 'third_party/boringssl/crypto/ec/ec_key.c', |
| 295 | 'third_party/boringssl/crypto/ec/ec_montgomery.c', |
| 296 | 'third_party/boringssl/crypto/ec/oct.c', |
| 297 | 'third_party/boringssl/crypto/ec/p224-64.c', |
| 298 | 'third_party/boringssl/crypto/ec/p256-64.c', |
| 299 | 'third_party/boringssl/crypto/ec/p256-x86_64.c', |
| 300 | 'third_party/boringssl/crypto/ec/simple.c', |
| 301 | 'third_party/boringssl/crypto/ec/util-64.c', |
| 302 | 'third_party/boringssl/crypto/ec/wnaf.c', |
| 303 | 'third_party/boringssl/crypto/ecdh/ecdh.c', |
| 304 | 'third_party/boringssl/crypto/ecdsa/ecdsa.c', |
| 305 | 'third_party/boringssl/crypto/ecdsa/ecdsa_asn1.c', |
| 306 | 'third_party/boringssl/crypto/engine/engine.c', |
| 307 | 'third_party/boringssl/crypto/err/err.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 308 | 'third_party/boringssl/crypto/evp/digestsign.c', |
| 309 | 'third_party/boringssl/crypto/evp/evp.c', |
| 310 | 'third_party/boringssl/crypto/evp/evp_asn1.c', |
| 311 | 'third_party/boringssl/crypto/evp/evp_ctx.c', |
| 312 | 'third_party/boringssl/crypto/evp/p_dsa_asn1.c', |
| 313 | 'third_party/boringssl/crypto/evp/p_ec.c', |
| 314 | 'third_party/boringssl/crypto/evp/p_ec_asn1.c', |
| 315 | 'third_party/boringssl/crypto/evp/p_rsa.c', |
| 316 | 'third_party/boringssl/crypto/evp/p_rsa_asn1.c', |
| 317 | 'third_party/boringssl/crypto/evp/pbkdf.c', |
Stanley Cheung | b39942f | 2017-01-12 21:31:07 -0800 | [diff] [blame] | 318 | 'third_party/boringssl/crypto/evp/print.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 319 | 'third_party/boringssl/crypto/evp/sign.c', |
| 320 | 'third_party/boringssl/crypto/ex_data.c', |
| 321 | 'third_party/boringssl/crypto/hkdf/hkdf.c', |
| 322 | 'third_party/boringssl/crypto/hmac/hmac.c', |
| 323 | 'third_party/boringssl/crypto/lhash/lhash.c', |
| 324 | 'third_party/boringssl/crypto/md4/md4.c', |
| 325 | 'third_party/boringssl/crypto/md5/md5.c', |
| 326 | 'third_party/boringssl/crypto/mem.c', |
| 327 | 'third_party/boringssl/crypto/modes/cbc.c', |
| 328 | 'third_party/boringssl/crypto/modes/cfb.c', |
| 329 | 'third_party/boringssl/crypto/modes/ctr.c', |
| 330 | 'third_party/boringssl/crypto/modes/gcm.c', |
| 331 | 'third_party/boringssl/crypto/modes/ofb.c', |
Ken Payson | f8d6fb7 | 2017-06-15 17:32:49 -0700 | [diff] [blame] | 332 | 'third_party/boringssl/crypto/modes/polyval.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 333 | 'third_party/boringssl/crypto/obj/obj.c', |
| 334 | 'third_party/boringssl/crypto/obj/obj_xref.c', |
| 335 | 'third_party/boringssl/crypto/pem/pem_all.c', |
| 336 | 'third_party/boringssl/crypto/pem/pem_info.c', |
| 337 | 'third_party/boringssl/crypto/pem/pem_lib.c', |
| 338 | 'third_party/boringssl/crypto/pem/pem_oth.c', |
| 339 | 'third_party/boringssl/crypto/pem/pem_pk8.c', |
| 340 | 'third_party/boringssl/crypto/pem/pem_pkey.c', |
| 341 | 'third_party/boringssl/crypto/pem/pem_x509.c', |
| 342 | 'third_party/boringssl/crypto/pem/pem_xaux.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 343 | 'third_party/boringssl/crypto/pkcs8/p5_pbev2.c', |
| 344 | 'third_party/boringssl/crypto/pkcs8/p8_pkey.c', |
| 345 | 'third_party/boringssl/crypto/pkcs8/pkcs8.c', |
| 346 | 'third_party/boringssl/crypto/poly1305/poly1305.c', |
| 347 | 'third_party/boringssl/crypto/poly1305/poly1305_arm.c', |
| 348 | 'third_party/boringssl/crypto/poly1305/poly1305_vec.c', |
Ken Payson | f8d6fb7 | 2017-06-15 17:32:49 -0700 | [diff] [blame] | 349 | 'third_party/boringssl/crypto/pool/pool.c', |
Stanley Cheung | b39942f | 2017-01-12 21:31:07 -0800 | [diff] [blame] | 350 | 'third_party/boringssl/crypto/rand/deterministic.c', |
Ken Payson | f8d6fb7 | 2017-06-15 17:32:49 -0700 | [diff] [blame] | 351 | 'third_party/boringssl/crypto/rand/fuchsia.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 352 | 'third_party/boringssl/crypto/rand/rand.c', |
| 353 | 'third_party/boringssl/crypto/rand/urandom.c', |
| 354 | 'third_party/boringssl/crypto/rand/windows.c', |
| 355 | 'third_party/boringssl/crypto/rc4/rc4.c', |
| 356 | 'third_party/boringssl/crypto/refcount_c11.c', |
| 357 | 'third_party/boringssl/crypto/refcount_lock.c', |
| 358 | 'third_party/boringssl/crypto/rsa/blinding.c', |
| 359 | 'third_party/boringssl/crypto/rsa/padding.c', |
| 360 | 'third_party/boringssl/crypto/rsa/rsa.c', |
| 361 | 'third_party/boringssl/crypto/rsa/rsa_asn1.c', |
| 362 | 'third_party/boringssl/crypto/rsa/rsa_impl.c', |
Ken Payson | f8d6fb7 | 2017-06-15 17:32:49 -0700 | [diff] [blame] | 363 | 'third_party/boringssl/crypto/sha/sha1-altivec.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 364 | 'third_party/boringssl/crypto/sha/sha1.c', |
| 365 | 'third_party/boringssl/crypto/sha/sha256.c', |
| 366 | 'third_party/boringssl/crypto/sha/sha512.c', |
| 367 | 'third_party/boringssl/crypto/stack/stack.c', |
| 368 | 'third_party/boringssl/crypto/thread.c', |
| 369 | 'third_party/boringssl/crypto/thread_none.c', |
| 370 | 'third_party/boringssl/crypto/thread_pthread.c', |
| 371 | 'third_party/boringssl/crypto/thread_win.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 372 | 'third_party/boringssl/crypto/x509/a_digest.c', |
| 373 | 'third_party/boringssl/crypto/x509/a_sign.c', |
| 374 | 'third_party/boringssl/crypto/x509/a_strex.c', |
| 375 | 'third_party/boringssl/crypto/x509/a_verify.c', |
Stanley Cheung | b39942f | 2017-01-12 21:31:07 -0800 | [diff] [blame] | 376 | 'third_party/boringssl/crypto/x509/algorithm.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 377 | 'third_party/boringssl/crypto/x509/asn1_gen.c', |
| 378 | 'third_party/boringssl/crypto/x509/by_dir.c', |
| 379 | 'third_party/boringssl/crypto/x509/by_file.c', |
| 380 | 'third_party/boringssl/crypto/x509/i2d_pr.c', |
| 381 | 'third_party/boringssl/crypto/x509/pkcs7.c', |
Stanley Cheung | b39942f | 2017-01-12 21:31:07 -0800 | [diff] [blame] | 382 | 'third_party/boringssl/crypto/x509/rsa_pss.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 383 | 'third_party/boringssl/crypto/x509/t_crl.c', |
| 384 | 'third_party/boringssl/crypto/x509/t_req.c', |
| 385 | 'third_party/boringssl/crypto/x509/t_x509.c', |
| 386 | 'third_party/boringssl/crypto/x509/t_x509a.c', |
| 387 | 'third_party/boringssl/crypto/x509/x509.c', |
| 388 | 'third_party/boringssl/crypto/x509/x509_att.c', |
| 389 | 'third_party/boringssl/crypto/x509/x509_cmp.c', |
| 390 | 'third_party/boringssl/crypto/x509/x509_d2.c', |
| 391 | 'third_party/boringssl/crypto/x509/x509_def.c', |
| 392 | 'third_party/boringssl/crypto/x509/x509_ext.c', |
| 393 | 'third_party/boringssl/crypto/x509/x509_lu.c', |
| 394 | 'third_party/boringssl/crypto/x509/x509_obj.c', |
| 395 | 'third_party/boringssl/crypto/x509/x509_r2x.c', |
| 396 | 'third_party/boringssl/crypto/x509/x509_req.c', |
| 397 | 'third_party/boringssl/crypto/x509/x509_set.c', |
| 398 | 'third_party/boringssl/crypto/x509/x509_trs.c', |
| 399 | 'third_party/boringssl/crypto/x509/x509_txt.c', |
| 400 | 'third_party/boringssl/crypto/x509/x509_v3.c', |
| 401 | 'third_party/boringssl/crypto/x509/x509_vfy.c', |
| 402 | 'third_party/boringssl/crypto/x509/x509_vpm.c', |
| 403 | 'third_party/boringssl/crypto/x509/x509cset.c', |
| 404 | 'third_party/boringssl/crypto/x509/x509name.c', |
| 405 | 'third_party/boringssl/crypto/x509/x509rset.c', |
| 406 | 'third_party/boringssl/crypto/x509/x509spki.c', |
| 407 | 'third_party/boringssl/crypto/x509/x509type.c', |
| 408 | 'third_party/boringssl/crypto/x509/x_algor.c', |
| 409 | 'third_party/boringssl/crypto/x509/x_all.c', |
| 410 | 'third_party/boringssl/crypto/x509/x_attrib.c', |
| 411 | 'third_party/boringssl/crypto/x509/x_crl.c', |
| 412 | 'third_party/boringssl/crypto/x509/x_exten.c', |
| 413 | 'third_party/boringssl/crypto/x509/x_info.c', |
| 414 | 'third_party/boringssl/crypto/x509/x_name.c', |
| 415 | 'third_party/boringssl/crypto/x509/x_pkey.c', |
| 416 | 'third_party/boringssl/crypto/x509/x_pubkey.c', |
| 417 | 'third_party/boringssl/crypto/x509/x_req.c', |
| 418 | 'third_party/boringssl/crypto/x509/x_sig.c', |
| 419 | 'third_party/boringssl/crypto/x509/x_spki.c', |
| 420 | 'third_party/boringssl/crypto/x509/x_val.c', |
| 421 | 'third_party/boringssl/crypto/x509/x_x509.c', |
| 422 | 'third_party/boringssl/crypto/x509/x_x509a.c', |
| 423 | 'third_party/boringssl/crypto/x509v3/pcy_cache.c', |
| 424 | 'third_party/boringssl/crypto/x509v3/pcy_data.c', |
| 425 | 'third_party/boringssl/crypto/x509v3/pcy_lib.c', |
| 426 | 'third_party/boringssl/crypto/x509v3/pcy_map.c', |
| 427 | 'third_party/boringssl/crypto/x509v3/pcy_node.c', |
| 428 | 'third_party/boringssl/crypto/x509v3/pcy_tree.c', |
| 429 | 'third_party/boringssl/crypto/x509v3/v3_akey.c', |
| 430 | 'third_party/boringssl/crypto/x509v3/v3_akeya.c', |
| 431 | 'third_party/boringssl/crypto/x509v3/v3_alt.c', |
| 432 | 'third_party/boringssl/crypto/x509v3/v3_bcons.c', |
| 433 | 'third_party/boringssl/crypto/x509v3/v3_bitst.c', |
| 434 | 'third_party/boringssl/crypto/x509v3/v3_conf.c', |
| 435 | 'third_party/boringssl/crypto/x509v3/v3_cpols.c', |
| 436 | 'third_party/boringssl/crypto/x509v3/v3_crld.c', |
| 437 | 'third_party/boringssl/crypto/x509v3/v3_enum.c', |
| 438 | 'third_party/boringssl/crypto/x509v3/v3_extku.c', |
| 439 | 'third_party/boringssl/crypto/x509v3/v3_genn.c', |
| 440 | 'third_party/boringssl/crypto/x509v3/v3_ia5.c', |
| 441 | 'third_party/boringssl/crypto/x509v3/v3_info.c', |
| 442 | 'third_party/boringssl/crypto/x509v3/v3_int.c', |
| 443 | 'third_party/boringssl/crypto/x509v3/v3_lib.c', |
| 444 | 'third_party/boringssl/crypto/x509v3/v3_ncons.c', |
| 445 | 'third_party/boringssl/crypto/x509v3/v3_pci.c', |
| 446 | 'third_party/boringssl/crypto/x509v3/v3_pcia.c', |
| 447 | 'third_party/boringssl/crypto/x509v3/v3_pcons.c', |
| 448 | 'third_party/boringssl/crypto/x509v3/v3_pku.c', |
| 449 | 'third_party/boringssl/crypto/x509v3/v3_pmaps.c', |
| 450 | 'third_party/boringssl/crypto/x509v3/v3_prn.c', |
| 451 | 'third_party/boringssl/crypto/x509v3/v3_purp.c', |
| 452 | 'third_party/boringssl/crypto/x509v3/v3_skey.c', |
| 453 | 'third_party/boringssl/crypto/x509v3/v3_sxnet.c', |
| 454 | 'third_party/boringssl/crypto/x509v3/v3_utl.c', |
Ken Payson | f8d6fb7 | 2017-06-15 17:32:49 -0700 | [diff] [blame] | 455 | 'third_party/boringssl/ssl/bio_ssl.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 456 | 'third_party/boringssl/ssl/custom_extensions.c', |
| 457 | 'third_party/boringssl/ssl/d1_both.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 458 | 'third_party/boringssl/ssl/d1_lib.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 459 | 'third_party/boringssl/ssl/d1_pkt.c', |
| 460 | 'third_party/boringssl/ssl/d1_srtp.c', |
Stanley Cheung | b39942f | 2017-01-12 21:31:07 -0800 | [diff] [blame] | 461 | 'third_party/boringssl/ssl/dtls_method.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 462 | 'third_party/boringssl/ssl/dtls_record.c', |
Stanley Cheung | b39942f | 2017-01-12 21:31:07 -0800 | [diff] [blame] | 463 | 'third_party/boringssl/ssl/handshake_client.c', |
| 464 | 'third_party/boringssl/ssl/handshake_server.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 465 | 'third_party/boringssl/ssl/s3_both.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 466 | 'third_party/boringssl/ssl/s3_lib.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 467 | 'third_party/boringssl/ssl/s3_pkt.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 468 | 'third_party/boringssl/ssl/ssl_aead_ctx.c', |
| 469 | 'third_party/boringssl/ssl/ssl_asn1.c', |
| 470 | 'third_party/boringssl/ssl/ssl_buffer.c', |
| 471 | 'third_party/boringssl/ssl/ssl_cert.c', |
| 472 | 'third_party/boringssl/ssl/ssl_cipher.c', |
itessier | 2a52203 | 2016-04-19 17:38:51 -0700 | [diff] [blame] | 473 | 'third_party/boringssl/ssl/ssl_ecdh.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 474 | 'third_party/boringssl/ssl/ssl_file.c', |
| 475 | 'third_party/boringssl/ssl/ssl_lib.c', |
Ken Payson | f8d6fb7 | 2017-06-15 17:32:49 -0700 | [diff] [blame] | 476 | 'third_party/boringssl/ssl/ssl_privkey.c', |
| 477 | 'third_party/boringssl/ssl/ssl_privkey_cc.cc', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 478 | 'third_party/boringssl/ssl/ssl_session.c', |
| 479 | 'third_party/boringssl/ssl/ssl_stat.c', |
Ken Payson | f8d6fb7 | 2017-06-15 17:32:49 -0700 | [diff] [blame] | 480 | 'third_party/boringssl/ssl/ssl_transcript.c', |
| 481 | 'third_party/boringssl/ssl/ssl_x509.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 482 | 'third_party/boringssl/ssl/t1_enc.c', |
| 483 | 'third_party/boringssl/ssl/t1_lib.c', |
Stanley Cheung | b39942f | 2017-01-12 21:31:07 -0800 | [diff] [blame] | 484 | 'third_party/boringssl/ssl/tls13_both.c', |
| 485 | 'third_party/boringssl/ssl/tls13_client.c', |
| 486 | 'third_party/boringssl/ssl/tls13_enc.c', |
| 487 | 'third_party/boringssl/ssl/tls13_server.c', |
| 488 | 'third_party/boringssl/ssl/tls_method.c', |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 489 | 'third_party/boringssl/ssl/tls_record.c', |
Ken Payson | f8d6fb7 | 2017-06-15 17:32:49 -0700 | [diff] [blame] | 490 | ], |
| 491 | 'conditions': [ |
| 492 | ['OS=="mac"', { |
| 493 | 'xcode_settings': { |
| 494 | 'MACOSX_DEPLOYMENT_TARGET': '10.9', |
| 495 | 'OTHER_CPLUSPLUSFLAGS': [ |
| 496 | '-stdlib=libc++', |
| 497 | '-std=c++11' |
| 498 | ], |
| 499 | } |
| 500 | }], |
| 501 | ], |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 502 | }, |
Ken Payson | f8d6fb7 | 2017-06-15 17:32:49 -0700 | [diff] [blame] | 503 | ], |
murgatroid99 | dc23046 | 2016-10-25 14:12:42 -0700 | [diff] [blame] | 504 | }], |
murgatroid99 | f25f505 | 2017-04-13 17:22:32 -0700 | [diff] [blame] | 505 | ['OS == "win" and runtime!="electron"', { |
murgatroid99 | dc23046 | 2016-10-25 14:12:42 -0700 | [diff] [blame] | 506 | 'targets': [ |
| 507 | { |
| 508 | # IMPORTANT WINDOWS BUILD INFORMATION |
| 509 | # This library does not build on Windows without modifying the Node |
| 510 | # development packages that node-gyp downloads in order to build. |
| 511 | # Due to https://github.com/nodejs/node/issues/4932, the headers for |
| 512 | # BoringSSL conflict with the OpenSSL headers included by default |
| 513 | # when including the Node headers. The remedy for this is to remove |
| 514 | # the OpenSSL headers, from the downloaded Node development package, |
| 515 | # which is typically located in `.node-gyp` in your home directory. |
murgatroid99 | f25f505 | 2017-04-13 17:22:32 -0700 | [diff] [blame] | 516 | # |
| 517 | # This is not true of Electron, which does not have OpenSSL headers. |
murgatroid99 | dc23046 | 2016-10-25 14:12:42 -0700 | [diff] [blame] | 518 | 'target_name': 'WINDOWS_BUILD_WARNING', |
murgatroid99 | 025f110 | 2017-04-10 13:07:37 -0700 | [diff] [blame] | 519 | 'rules': [ |
murgatroid99 | dc23046 | 2016-10-25 14:12:42 -0700 | [diff] [blame] | 520 | { |
murgatroid99 | 025f110 | 2017-04-10 13:07:37 -0700 | [diff] [blame] | 521 | 'rule_name': 'WINDOWS_BUILD_WARNING', |
| 522 | 'extension': 'S', |
murgatroid99 | dc23046 | 2016-10-25 14:12:42 -0700 | [diff] [blame] | 523 | 'inputs': [ |
| 524 | 'package.json' |
| 525 | ], |
| 526 | 'outputs': [ |
| 527 | 'ignore_this_part' |
| 528 | ], |
| 529 | '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/'] |
| 530 | } |
| 531 | ] |
| 532 | }, |
murgatroid99 | 652210a | 2017-04-19 13:46:32 -0700 | [diff] [blame] | 533 | ] |
| 534 | }], |
| 535 | ['OS == "win"', { |
| 536 | 'targets': [ |
murgatroid99 | dc23046 | 2016-10-25 14:12:42 -0700 | [diff] [blame] | 537 | # Only want to compile zlib under Windows |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 538 | { |
| 539 | 'cflags': [ |
| 540 | '-std=c99', |
| 541 | '-Wall', |
| 542 | '-Werror' |
| 543 | ], |
| 544 | 'target_name': 'z', |
| 545 | 'product_prefix': 'lib', |
| 546 | 'type': 'static_library', |
| 547 | 'dependencies': [ |
| 548 | ], |
| 549 | 'sources': [ |
| 550 | 'third_party/zlib/adler32.c', |
| 551 | 'third_party/zlib/compress.c', |
| 552 | 'third_party/zlib/crc32.c', |
| 553 | 'third_party/zlib/deflate.c', |
| 554 | 'third_party/zlib/gzclose.c', |
| 555 | 'third_party/zlib/gzlib.c', |
| 556 | 'third_party/zlib/gzread.c', |
| 557 | 'third_party/zlib/gzwrite.c', |
| 558 | 'third_party/zlib/infback.c', |
| 559 | 'third_party/zlib/inffast.c', |
| 560 | 'third_party/zlib/inflate.c', |
| 561 | 'third_party/zlib/inftrees.c', |
| 562 | 'third_party/zlib/trees.c', |
| 563 | 'third_party/zlib/uncompr.c', |
| 564 | 'third_party/zlib/zutil.c', |
murgatroid99 | af6c178 | 2016-01-28 13:14:24 -0800 | [diff] [blame] | 565 | ] |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 566 | }, |
| 567 | ] |
| 568 | }] |
| 569 | ], |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 570 | 'targets': [ |
| 571 | { |
murgatroid99 | 3abed31 | 2016-01-07 17:16:46 -0800 | [diff] [blame] | 572 | 'cflags': [ |
| 573 | '-std=c99', |
| 574 | '-Wall', |
| 575 | '-Werror' |
| 576 | ], |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 577 | 'target_name': 'gpr', |
| 578 | 'product_prefix': 'lib', |
| 579 | 'type': 'static_library', |
| 580 | 'dependencies': [ |
| 581 | ], |
| 582 | 'sources': [ |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 583 | 'src/core/lib/profiling/basic_timers.c', |
| 584 | 'src/core/lib/profiling/stap_timers.c', |
| 585 | 'src/core/lib/support/alloc.c', |
Craig Tiller | 9202b3f | 2017-03-12 22:30:38 -0700 | [diff] [blame] | 586 | 'src/core/lib/support/arena.c', |
Mark D. Roth | fecba53 | 2017-03-17 09:50:48 -0700 | [diff] [blame] | 587 | 'src/core/lib/support/atm.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 588 | 'src/core/lib/support/avl.c', |
| 589 | 'src/core/lib/support/backoff.c', |
| 590 | 'src/core/lib/support/cmdline.c', |
| 591 | 'src/core/lib/support/cpu_iphone.c', |
| 592 | 'src/core/lib/support/cpu_linux.c', |
| 593 | 'src/core/lib/support/cpu_posix.c', |
| 594 | 'src/core/lib/support/cpu_windows.c', |
| 595 | 'src/core/lib/support/env_linux.c', |
| 596 | 'src/core/lib/support/env_posix.c', |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 597 | 'src/core/lib/support/env_windows.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 598 | 'src/core/lib/support/histogram.c', |
| 599 | 'src/core/lib/support/host_port.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 600 | 'src/core/lib/support/log.c', |
| 601 | 'src/core/lib/support/log_android.c', |
| 602 | 'src/core/lib/support/log_linux.c', |
| 603 | 'src/core/lib/support/log_posix.c', |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 604 | 'src/core/lib/support/log_windows.c', |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 605 | 'src/core/lib/support/mpscq.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 606 | 'src/core/lib/support/murmur_hash.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 607 | 'src/core/lib/support/string.c', |
| 608 | 'src/core/lib/support/string_posix.c', |
Yuchen Zeng | 4594bd9 | 2016-05-31 14:06:01 -0700 | [diff] [blame] | 609 | 'src/core/lib/support/string_util_windows.c', |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 610 | 'src/core/lib/support/string_windows.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 611 | 'src/core/lib/support/subprocess_posix.c', |
| 612 | 'src/core/lib/support/subprocess_windows.c', |
| 613 | 'src/core/lib/support/sync.c', |
| 614 | 'src/core/lib/support/sync_posix.c', |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 615 | 'src/core/lib/support/sync_windows.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 616 | 'src/core/lib/support/thd.c', |
| 617 | 'src/core/lib/support/thd_posix.c', |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 618 | 'src/core/lib/support/thd_windows.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 619 | 'src/core/lib/support/time.c', |
| 620 | 'src/core/lib/support/time_posix.c', |
| 621 | 'src/core/lib/support/time_precise.c', |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 622 | 'src/core/lib/support/time_windows.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 623 | 'src/core/lib/support/tls_pthread.c', |
Nicolas "Pixel" Noble | c4b18a5 | 2016-04-15 04:53:54 +0200 | [diff] [blame] | 624 | 'src/core/lib/support/tmpfile_msys.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 625 | 'src/core/lib/support/tmpfile_posix.c', |
Yuchen Zeng | 12dfdc3 | 2016-04-26 22:05:41 -0700 | [diff] [blame] | 626 | 'src/core/lib/support/tmpfile_windows.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 627 | 'src/core/lib/support/wrap_memcpy.c', |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 628 | ], |
| 629 | "conditions": [ |
| 630 | ['OS == "mac"', { |
| 631 | 'xcode_settings': { |
| 632 | 'MACOSX_DEPLOYMENT_TARGET': '10.9' |
| 633 | } |
| 634 | }] |
| 635 | ] |
| 636 | }, |
| 637 | { |
| 638 | 'cflags': [ |
| 639 | '-std=c99', |
| 640 | '-Wall', |
| 641 | '-Werror' |
| 642 | ], |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 643 | 'target_name': 'grpc', |
| 644 | 'product_prefix': 'lib', |
| 645 | 'type': 'static_library', |
| 646 | 'dependencies': [ |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 647 | 'gpr', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 648 | ], |
| 649 | 'sources': [ |
Craig Tiller | 3ab2fe0 | 2016-04-11 20:11:18 -0700 | [diff] [blame] | 650 | 'src/core/lib/surface/init.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 651 | 'src/core/lib/channel/channel_args.c', |
| 652 | 'src/core/lib/channel/channel_stack.c', |
| 653 | 'src/core/lib/channel/channel_stack_builder.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 654 | 'src/core/lib/channel/connected_channel.c', |
Mark D. Roth | dfbdefe | 2016-07-14 09:18:22 -0700 | [diff] [blame] | 655 | 'src/core/lib/channel/handshaker.c', |
Mark D. Roth | 1f0f23c | 2017-01-06 13:07:19 -0800 | [diff] [blame] | 656 | 'src/core/lib/channel/handshaker_factory.c', |
| 657 | 'src/core/lib/channel/handshaker_registry.c', |
David Garcia Quintas | ac09447 | 2016-05-18 20:25:57 -0700 | [diff] [blame] | 658 | 'src/core/lib/compression/compression.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 659 | 'src/core/lib/compression/message_compress.c', |
Muxi Yan | e87a7e1 | 2017-06-29 16:53:24 -0700 | [diff] [blame] | 660 | 'src/core/lib/compression/stream_compression.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 661 | 'src/core/lib/http/format_request.c', |
| 662 | 'src/core/lib/http/httpcli.c', |
| 663 | 'src/core/lib/http/parser.c', |
| 664 | 'src/core/lib/iomgr/closure.c', |
Craig Tiller | 57726ca | 2016-09-12 11:59:45 -0700 | [diff] [blame] | 665 | 'src/core/lib/iomgr/combiner.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 666 | 'src/core/lib/iomgr/endpoint.c', |
| 667 | 'src/core/lib/iomgr/endpoint_pair_posix.c', |
murgatroid99 | c36f6ea | 2016-10-03 09:24:09 -0700 | [diff] [blame] | 668 | 'src/core/lib/iomgr/endpoint_pair_uv.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 669 | 'src/core/lib/iomgr/endpoint_pair_windows.c', |
Craig Tiller | 27f59af | 2016-04-28 14:19:48 -0700 | [diff] [blame] | 670 | 'src/core/lib/iomgr/error.c', |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 671 | 'src/core/lib/iomgr/ev_epoll1_linux.c', |
Sree Kuchibhotla | 5a1a3b4 | 2017-05-05 13:14:45 -0700 | [diff] [blame] | 672 | 'src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c', |
Sree Kuchibhotla | d4fc32e | 2017-05-02 14:15:12 -0700 | [diff] [blame] | 673 | 'src/core/lib/iomgr/ev_epoll_thread_pool_linux.c', |
Craig Tiller | f4360d7 | 2017-04-07 08:51:00 -0700 | [diff] [blame] | 674 | 'src/core/lib/iomgr/ev_epollex_linux.c', |
Craig Tiller | c67cc99 | 2017-04-27 10:15:51 -0700 | [diff] [blame] | 675 | 'src/core/lib/iomgr/ev_epollsig_linux.c', |
Craig Tiller | d9a60bb | 2016-03-28 23:13:19 -0700 | [diff] [blame] | 676 | 'src/core/lib/iomgr/ev_poll_posix.c', |
Craig Tiller | 8a03448 | 2016-03-28 16:09:04 -0700 | [diff] [blame] | 677 | 'src/core/lib/iomgr/ev_posix.c', |
Jan Tattermusch | de030a3 | 2017-05-16 18:20:26 +0200 | [diff] [blame] | 678 | 'src/core/lib/iomgr/ev_windows.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 679 | 'src/core/lib/iomgr/exec_ctx.c', |
| 680 | 'src/core/lib/iomgr/executor.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 681 | 'src/core/lib/iomgr/iocp_windows.c', |
| 682 | 'src/core/lib/iomgr/iomgr.c', |
| 683 | 'src/core/lib/iomgr/iomgr_posix.c', |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 684 | 'src/core/lib/iomgr/iomgr_uv.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 685 | 'src/core/lib/iomgr/iomgr_windows.c', |
Craig Tiller | 819cd88 | 2017-04-25 13:18:22 -0700 | [diff] [blame] | 686 | 'src/core/lib/iomgr/is_epollexclusive_available.c', |
Craig Tiller | 8517886 | 2016-05-18 16:09:16 -0700 | [diff] [blame] | 687 | 'src/core/lib/iomgr/load_file.c', |
Craig Tiller | 376887d | 2017-04-06 08:27:03 -0700 | [diff] [blame] | 688 | 'src/core/lib/iomgr/lockfree_event.c', |
Makarand Dharmapurikar | 0579cfc | 2016-06-20 15:45:24 -0700 | [diff] [blame] | 689 | 'src/core/lib/iomgr/network_status_tracker.c', |
David Garcia Quintas | 2a50dfe | 2016-05-31 15:09:12 -0700 | [diff] [blame] | 690 | 'src/core/lib/iomgr/polling_entity.c', |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 691 | 'src/core/lib/iomgr/pollset_set_uv.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 692 | 'src/core/lib/iomgr/pollset_set_windows.c', |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 693 | 'src/core/lib/iomgr/pollset_uv.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 694 | 'src/core/lib/iomgr/pollset_windows.c', |
| 695 | 'src/core/lib/iomgr/resolve_address_posix.c', |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 696 | 'src/core/lib/iomgr/resolve_address_uv.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 697 | 'src/core/lib/iomgr/resolve_address_windows.c', |
Craig Tiller | 20afa3d | 2016-10-17 14:52:14 -0700 | [diff] [blame] | 698 | 'src/core/lib/iomgr/resource_quota.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 699 | 'src/core/lib/iomgr/sockaddr_utils.c', |
Michael Warres | c46b3eb | 2017-02-22 22:57:04 -0500 | [diff] [blame] | 700 | 'src/core/lib/iomgr/socket_factory_posix.c', |
Yuchen Zeng | de3daf5 | 2016-10-13 17:26:26 -0700 | [diff] [blame] | 701 | 'src/core/lib/iomgr/socket_mutator.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 702 | 'src/core/lib/iomgr/socket_utils_common_posix.c', |
| 703 | 'src/core/lib/iomgr/socket_utils_linux.c', |
| 704 | 'src/core/lib/iomgr/socket_utils_posix.c', |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 705 | 'src/core/lib/iomgr/socket_utils_uv.c', |
murgatroid99 | 79b3227 | 2016-08-08 13:38:30 -0700 | [diff] [blame] | 706 | 'src/core/lib/iomgr/socket_utils_windows.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 707 | 'src/core/lib/iomgr/socket_windows.c', |
| 708 | 'src/core/lib/iomgr/tcp_client_posix.c', |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 709 | 'src/core/lib/iomgr/tcp_client_uv.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 710 | 'src/core/lib/iomgr/tcp_client_windows.c', |
| 711 | 'src/core/lib/iomgr/tcp_posix.c', |
| 712 | 'src/core/lib/iomgr/tcp_server_posix.c', |
Yuchen Zeng | 68745bb | 2017-03-14 17:51:07 -0700 | [diff] [blame] | 713 | 'src/core/lib/iomgr/tcp_server_utils_posix_common.c', |
Yuchen Zeng | 47155ed | 2017-03-13 17:18:07 -0700 | [diff] [blame] | 714 | 'src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c', |
| 715 | 'src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c', |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 716 | 'src/core/lib/iomgr/tcp_server_uv.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 717 | 'src/core/lib/iomgr/tcp_server_windows.c', |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 718 | 'src/core/lib/iomgr/tcp_uv.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 719 | 'src/core/lib/iomgr/tcp_windows.c', |
| 720 | 'src/core/lib/iomgr/time_averaged_stats.c', |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 721 | 'src/core/lib/iomgr/timer_generic.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 722 | 'src/core/lib/iomgr/timer_heap.c', |
Craig Tiller | c357179 | 2017-05-02 12:33:38 -0700 | [diff] [blame] | 723 | 'src/core/lib/iomgr/timer_manager.c', |
murgatroid99 | 9030c81 | 2016-09-16 13:25:08 -0700 | [diff] [blame] | 724 | 'src/core/lib/iomgr/timer_uv.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 725 | 'src/core/lib/iomgr/udp_server.c', |
| 726 | 'src/core/lib/iomgr/unix_sockets_posix.c', |
| 727 | 'src/core/lib/iomgr/unix_sockets_posix_noop.c', |
Ken Payson | 31caabd | 2016-08-06 21:27:29 -0700 | [diff] [blame] | 728 | 'src/core/lib/iomgr/wakeup_fd_cv.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 729 | 'src/core/lib/iomgr/wakeup_fd_eventfd.c', |
| 730 | 'src/core/lib/iomgr/wakeup_fd_nospecial.c', |
| 731 | 'src/core/lib/iomgr/wakeup_fd_pipe.c', |
| 732 | 'src/core/lib/iomgr/wakeup_fd_posix.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 733 | 'src/core/lib/json/json.c', |
| 734 | 'src/core/lib/json/json_reader.c', |
| 735 | 'src/core/lib/json/json_string.c', |
| 736 | 'src/core/lib/json/json_writer.c', |
Craig Tiller | 29b527f | 2017-03-30 10:27:20 -0700 | [diff] [blame] | 737 | 'src/core/lib/slice/b64.c', |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 738 | 'src/core/lib/slice/percent_encoding.c', |
| 739 | 'src/core/lib/slice/slice.c', |
| 740 | 'src/core/lib/slice/slice_buffer.c', |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 741 | 'src/core/lib/slice/slice_hash_table.c', |
| 742 | 'src/core/lib/slice/slice_intern.c', |
Craig Tiller | c335054 | 2016-10-26 16:19:01 -0700 | [diff] [blame] | 743 | 'src/core/lib/slice/slice_string_helpers.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 744 | 'src/core/lib/surface/alarm.c', |
| 745 | 'src/core/lib/surface/api_trace.c', |
| 746 | 'src/core/lib/surface/byte_buffer.c', |
| 747 | 'src/core/lib/surface/byte_buffer_reader.c', |
| 748 | 'src/core/lib/surface/call.c', |
| 749 | 'src/core/lib/surface/call_details.c', |
| 750 | 'src/core/lib/surface/call_log_batch.c', |
| 751 | 'src/core/lib/surface/channel.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 752 | 'src/core/lib/surface/channel_init.c', |
| 753 | 'src/core/lib/surface/channel_ping.c', |
| 754 | 'src/core/lib/surface/channel_stack_type.c', |
| 755 | 'src/core/lib/surface/completion_queue.c', |
Sree Kuchibhotla | bf18428 | 2017-03-21 15:18:58 -0700 | [diff] [blame] | 756 | 'src/core/lib/surface/completion_queue_factory.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 757 | 'src/core/lib/surface/event_string.c', |
Craig Tiller | 8ebb544 | 2017-04-07 16:01:55 -0700 | [diff] [blame] | 758 | 'src/core/lib/surface/lame_client.cc', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 759 | 'src/core/lib/surface/metadata_array.c', |
| 760 | 'src/core/lib/surface/server.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 761 | 'src/core/lib/surface/validate_metadata.c', |
| 762 | 'src/core/lib/surface/version.c', |
Craig Tiller | 9e0066b | 2016-10-20 14:04:18 -0700 | [diff] [blame] | 763 | 'src/core/lib/transport/bdp_estimator.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 764 | 'src/core/lib/transport/byte_stream.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 765 | 'src/core/lib/transport/connectivity_state.c', |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 766 | 'src/core/lib/transport/error_utils.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 767 | 'src/core/lib/transport/metadata.c', |
| 768 | 'src/core/lib/transport/metadata_batch.c', |
Craig Tiller | dd2fa64 | 2016-10-20 15:46:32 -0700 | [diff] [blame] | 769 | 'src/core/lib/transport/pid_controller.c', |
Mark D. Roth | ea846a0 | 2016-11-03 11:32:54 -0700 | [diff] [blame] | 770 | 'src/core/lib/transport/service_config.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 771 | 'src/core/lib/transport/static_metadata.c', |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 772 | 'src/core/lib/transport/status_conversion.c', |
Robbie Shade | 710d242 | 2016-07-13 15:15:38 -0400 | [diff] [blame] | 773 | 'src/core/lib/transport/timeout_encoding.c', |
Craig Tiller | f23078c | 2016-03-25 17:07:29 -0700 | [diff] [blame] | 774 | 'src/core/lib/transport/transport.c', |
| 775 | 'src/core/lib/transport/transport_op_string.c', |
Craig Tiller | 1f47730 | 2017-05-05 11:01:25 -0700 | [diff] [blame] | 776 | 'src/core/lib/debug/trace.c', |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 777 | 'src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c', |
Yuchen Zeng | d982bba | 2016-05-12 18:53:52 -0700 | [diff] [blame] | 778 | 'src/core/ext/transport/chttp2/transport/bin_decoder.c', |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 779 | 'src/core/ext/transport/chttp2/transport/bin_encoder.c', |
| 780 | 'src/core/ext/transport/chttp2/transport/chttp2_plugin.c', |
| 781 | 'src/core/ext/transport/chttp2/transport/chttp2_transport.c', |
| 782 | 'src/core/ext/transport/chttp2/transport/frame_data.c', |
| 783 | 'src/core/ext/transport/chttp2/transport/frame_goaway.c', |
| 784 | 'src/core/ext/transport/chttp2/transport/frame_ping.c', |
| 785 | 'src/core/ext/transport/chttp2/transport/frame_rst_stream.c', |
| 786 | 'src/core/ext/transport/chttp2/transport/frame_settings.c', |
| 787 | 'src/core/ext/transport/chttp2/transport/frame_window_update.c', |
| 788 | 'src/core/ext/transport/chttp2/transport/hpack_encoder.c', |
| 789 | 'src/core/ext/transport/chttp2/transport/hpack_parser.c', |
| 790 | 'src/core/ext/transport/chttp2/transport/hpack_table.c', |
Craig Tiller | c8f62bc | 2017-04-03 16:25:45 -0700 | [diff] [blame] | 791 | 'src/core/ext/transport/chttp2/transport/http2_settings.c', |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 792 | 'src/core/ext/transport/chttp2/transport/huffsyms.c', |
| 793 | 'src/core/ext/transport/chttp2/transport/incoming_metadata.c', |
| 794 | 'src/core/ext/transport/chttp2/transport/parsing.c', |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 795 | 'src/core/ext/transport/chttp2/transport/stream_lists.c', |
| 796 | 'src/core/ext/transport/chttp2/transport/stream_map.c', |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 797 | 'src/core/ext/transport/chttp2/transport/varint.c', |
| 798 | 'src/core/ext/transport/chttp2/transport/writing.c', |
| 799 | 'src/core/ext/transport/chttp2/alpn/alpn.c', |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 800 | 'src/core/ext/filters/http/client/http_client_filter.c', |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 801 | 'src/core/ext/filters/http/http_filters_plugin.c', |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 802 | 'src/core/ext/filters/http/message_compress/message_compress_filter.c', |
Craig Tiller | af76743 | 2017-04-03 13:54:31 -0700 | [diff] [blame] | 803 | 'src/core/ext/filters/http/server/http_server_filter.c', |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 804 | 'src/core/lib/http/httpcli_security_connector.c', |
Julien Boeuf | 8ca294e | 2016-05-02 14:56:30 -0700 | [diff] [blame] | 805 | 'src/core/lib/security/context/security_context.c', |
| 806 | 'src/core/lib/security/credentials/composite/composite_credentials.c', |
| 807 | 'src/core/lib/security/credentials/credentials.c', |
| 808 | 'src/core/lib/security/credentials/credentials_metadata.c', |
| 809 | 'src/core/lib/security/credentials/fake/fake_credentials.c', |
murgatroid99 | 7c20590 | 2016-08-09 10:07:42 -0700 | [diff] [blame] | 810 | 'src/core/lib/security/credentials/google_default/credentials_generic.c', |
Julien Boeuf | 8ca294e | 2016-05-02 14:56:30 -0700 | [diff] [blame] | 811 | 'src/core/lib/security/credentials/google_default/google_default_credentials.c', |
| 812 | 'src/core/lib/security/credentials/iam/iam_credentials.c', |
| 813 | 'src/core/lib/security/credentials/jwt/json_token.c', |
| 814 | 'src/core/lib/security/credentials/jwt/jwt_credentials.c', |
| 815 | 'src/core/lib/security/credentials/jwt/jwt_verifier.c', |
| 816 | 'src/core/lib/security/credentials/oauth2/oauth2_credentials.c', |
| 817 | 'src/core/lib/security/credentials/plugin/plugin_credentials.c', |
| 818 | 'src/core/lib/security/credentials/ssl/ssl_credentials.c', |
| 819 | 'src/core/lib/security/transport/client_auth_filter.c', |
David Garcia Quintas | 0129150 | 2017-02-07 13:26:41 -0800 | [diff] [blame] | 820 | 'src/core/lib/security/transport/lb_targets_info.c', |
Julien Boeuf | 8ca294e | 2016-05-02 14:56:30 -0700 | [diff] [blame] | 821 | 'src/core/lib/security/transport/secure_endpoint.c', |
| 822 | 'src/core/lib/security/transport/security_connector.c', |
Mark D. Roth | 071cacf | 2016-11-17 13:17:56 -0800 | [diff] [blame] | 823 | 'src/core/lib/security/transport/security_handshaker.c', |
Julien Boeuf | 8ca294e | 2016-05-02 14:56:30 -0700 | [diff] [blame] | 824 | 'src/core/lib/security/transport/server_auth_filter.c', |
Craig Tiller | ddad978 | 2016-05-05 17:11:31 -0700 | [diff] [blame] | 825 | 'src/core/lib/security/transport/tsi_error.c', |
Julien Boeuf | 8ca294e | 2016-05-02 14:56:30 -0700 | [diff] [blame] | 826 | 'src/core/lib/security/util/json_util.c', |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 827 | 'src/core/lib/surface/init_secure.c', |
Craig Tiller | 134fed3 | 2017-03-28 14:27:18 -0700 | [diff] [blame] | 828 | 'src/core/tsi/fake_transport_security.c', |
| 829 | 'src/core/tsi/ssl_transport_security.c', |
| 830 | 'src/core/tsi/transport_security.c', |
jiangtaoli2016 | e69881d | 2017-04-10 14:29:43 -0700 | [diff] [blame] | 831 | 'src/core/tsi/transport_security_adapter.c', |
Mark D. Roth | 7140382 | 2016-12-02 10:51:39 -0800 | [diff] [blame] | 832 | 'src/core/ext/transport/chttp2/server/chttp2_server.c', |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 833 | 'src/core/ext/transport/chttp2/client/secure/secure_channel_create.c', |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 834 | 'src/core/ext/filters/client_channel/channel_connectivity.c', |
| 835 | 'src/core/ext/filters/client_channel/client_channel.c', |
| 836 | 'src/core/ext/filters/client_channel/client_channel_factory.c', |
| 837 | 'src/core/ext/filters/client_channel/client_channel_plugin.c', |
| 838 | 'src/core/ext/filters/client_channel/connector.c', |
| 839 | 'src/core/ext/filters/client_channel/http_connect_handshaker.c', |
| 840 | 'src/core/ext/filters/client_channel/http_proxy.c', |
| 841 | 'src/core/ext/filters/client_channel/lb_policy.c', |
| 842 | 'src/core/ext/filters/client_channel/lb_policy_factory.c', |
| 843 | 'src/core/ext/filters/client_channel/lb_policy_registry.c', |
| 844 | 'src/core/ext/filters/client_channel/parse_address.c', |
| 845 | 'src/core/ext/filters/client_channel/proxy_mapper.c', |
| 846 | 'src/core/ext/filters/client_channel/proxy_mapper_registry.c', |
| 847 | 'src/core/ext/filters/client_channel/resolver.c', |
| 848 | 'src/core/ext/filters/client_channel/resolver_factory.c', |
| 849 | 'src/core/ext/filters/client_channel/resolver_registry.c', |
| 850 | 'src/core/ext/filters/client_channel/retry_throttle.c', |
| 851 | 'src/core/ext/filters/client_channel/subchannel.c', |
| 852 | 'src/core/ext/filters/client_channel/subchannel_index.c', |
| 853 | 'src/core/ext/filters/client_channel/uri_parser.c', |
Craig Tiller | 71d6ce6 | 2017-04-06 09:10:09 -0700 | [diff] [blame] | 854 | 'src/core/ext/filters/deadline/deadline_filter.c', |
Mark D. Roth | 8686cab | 2016-11-17 13:12:17 -0800 | [diff] [blame] | 855 | 'src/core/ext/transport/chttp2/client/chttp2_connector.c', |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 856 | 'src/core/ext/transport/chttp2/server/insecure/server_chttp2.c', |
Adam Michalik | bf10c82 | 2016-05-20 16:13:32 -0700 | [diff] [blame] | 857 | 'src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c', |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 858 | 'src/core/ext/transport/chttp2/client/insecure/channel_create.c', |
Adam Michalik | 321b1fb | 2016-05-16 15:42:36 -0700 | [diff] [blame] | 859 | 'src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c', |
Mark D. Roth | 09e458c | 2017-05-02 08:13:26 -0700 | [diff] [blame] | 860 | 'src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c', |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 861 | 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c', |
| 862 | 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.c', |
Mark D. Roth | 09e458c | 2017-05-02 08:13:26 -0700 | [diff] [blame] | 863 | 'src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c', |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 864 | 'src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c', |
| 865 | 'src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c', |
Craig Tiller | eb841e2 | 2016-02-11 15:49:16 -0800 | [diff] [blame] | 866 | 'third_party/nanopb/pb_common.c', |
| 867 | 'third_party/nanopb/pb_decode.c', |
| 868 | 'third_party/nanopb/pb_encode.c', |
David Garcia Quintas | 87d5a31 | 2017-06-06 19:45:58 -0700 | [diff] [blame] | 869 | 'src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c', |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 870 | 'src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c', |
| 871 | 'src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c', |
| 872 | 'src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c', |
| 873 | 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c', |
| 874 | 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c', |
Yuchen Zeng | 4ebace7 | 2017-06-05 17:24:06 -0700 | [diff] [blame] | 875 | 'src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.c', |
Craig Tiller | 9eb0fde | 2017-03-31 16:59:30 -0700 | [diff] [blame] | 876 | 'src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.c', |
| 877 | 'src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c', |
| 878 | 'src/core/ext/filters/load_reporting/load_reporting.c', |
| 879 | 'src/core/ext/filters/load_reporting/load_reporting_filter.c', |
Alistair Veitch | 4aaba75 | 2016-06-02 17:11:46 -0700 | [diff] [blame] | 880 | 'src/core/ext/census/base_resources.c', |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 881 | 'src/core/ext/census/context.c', |
Alistair Veitch | 30fe632 | 2016-05-23 10:11:28 -0700 | [diff] [blame] | 882 | 'src/core/ext/census/gen/census.pb.c', |
Alistair Veitch | a0c69f9 | 2016-08-31 12:01:27 -0700 | [diff] [blame] | 883 | 'src/core/ext/census/gen/trace_context.pb.c', |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 884 | 'src/core/ext/census/grpc_context.c', |
| 885 | 'src/core/ext/census/grpc_filter.c', |
| 886 | 'src/core/ext/census/grpc_plugin.c', |
| 887 | 'src/core/ext/census/initialize.c', |
Vizerai | 0359e12 | 2017-04-28 20:06:58 -0700 | [diff] [blame] | 888 | 'src/core/ext/census/intrusive_hash_map.c', |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 889 | 'src/core/ext/census/mlog.c', |
| 890 | 'src/core/ext/census/operation.c', |
| 891 | 'src/core/ext/census/placeholders.c', |
Alistair Veitch | 4aaba75 | 2016-06-02 17:11:46 -0700 | [diff] [blame] | 892 | 'src/core/ext/census/resource.c', |
Vizerai | 12d1fc6 | 2016-09-09 14:22:19 -0700 | [diff] [blame] | 893 | 'src/core/ext/census/trace_context.c', |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 894 | 'src/core/ext/census/tracing.c', |
Craig Tiller | 6d4894e | 2017-03-31 17:22:06 -0700 | [diff] [blame] | 895 | 'src/core/ext/filters/max_age/max_age_filter.c', |
Craig Tiller | 9b3648a | 2017-04-03 12:25:19 -0700 | [diff] [blame] | 896 | 'src/core/ext/filters/message_size/message_size_filter.c', |
Muxi Yan | 29ff466 | 2017-05-15 10:27:55 -0700 | [diff] [blame] | 897 | 'src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c', |
| 898 | 'src/core/ext/filters/workarounds/workaround_utils.c', |
Craig Tiller | 03915e5 | 2016-04-07 09:15:10 -0700 | [diff] [blame] | 899 | 'src/core/plugin_registry/grpc_plugin_registry.c', |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 900 | ], |
murgatroid99 | 6ffdb94 | 2015-10-22 16:10:05 -0700 | [diff] [blame] | 901 | "conditions": [ |
| 902 | ['OS == "mac"', { |
| 903 | 'xcode_settings': { |
murgatroid99 | 22c448b | 2015-10-23 10:25:30 -0700 | [diff] [blame] | 904 | 'MACOSX_DEPLOYMENT_TARGET': '10.9' |
murgatroid99 | 6ffdb94 | 2015-10-22 16:10:05 -0700 | [diff] [blame] | 905 | } |
| 906 | }] |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 907 | ] |
murgatroid99 | fd994f1 | 2015-10-09 14:02:28 -0700 | [diff] [blame] | 908 | }, |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 909 | { |
| 910 | 'include_dirs': [ |
| 911 | "<!(node -e \"require('nan')\")" |
| 912 | ], |
| 913 | 'cflags': [ |
murgatroid99 | 3abed31 | 2016-01-07 17:16:46 -0800 | [diff] [blame] | 914 | '-std=c++11', |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 915 | '-pthread', |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 916 | '-zdefs', |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 917 | '-Wno-error=deprecated-declarations' |
| 918 | ], |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 919 | "conditions": [ |
murgatroid99 | dc23046 | 2016-10-25 14:12:42 -0700 | [diff] [blame] | 920 | ['OS=="win" or runtime=="electron"', { |
| 921 | 'dependencies': [ |
| 922 | "boringssl", |
| 923 | ] |
| 924 | }], |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 925 | ['OS=="mac"', { |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 926 | 'xcode_settings': { |
| 927 | 'MACOSX_DEPLOYMENT_TARGET': '10.9', |
| 928 | 'OTHER_CFLAGS': [ |
murgatroid99 | 673f65b | 2016-02-01 11:19:07 -0800 | [diff] [blame] | 929 | '-stdlib=libc++', |
| 930 | '-std=c++11' |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 931 | ] |
| 932 | } |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 933 | }], |
| 934 | ['OS=="win"', { |
| 935 | 'dependencies': [ |
murgatroid99 | 5c56c92 | 2016-01-25 13:32:52 -0800 | [diff] [blame] | 936 | "z", |
| 937 | ] |
Craig Tiller | 4bef7ce | 2016-02-02 08:38:43 -0800 | [diff] [blame] | 938 | }], |
| 939 | ['OS=="linux"', { |
| 940 | 'ldflags': [ |
| 941 | '-Wl,-wrap,memcpy' |
| 942 | ] |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 943 | }] |
| 944 | ], |
| 945 | "target_name": "grpc_node", |
| 946 | "sources": [ |
| 947 | "src/node/ext/byte_buffer.cc", |
| 948 | "src/node/ext/call.cc", |
murgatroid99 | 47f519e | 2015-10-07 12:34:24 -0700 | [diff] [blame] | 949 | "src/node/ext/call_credentials.cc", |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 950 | "src/node/ext/channel.cc", |
murgatroid99 | 47f519e | 2015-10-07 12:34:24 -0700 | [diff] [blame] | 951 | "src/node/ext/channel_credentials.cc", |
murgatroid99 | f94f64f | 2017-04-24 13:35:21 -0700 | [diff] [blame] | 952 | "src/node/ext/completion_queue.cc", |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 953 | "src/node/ext/node_grpc.cc", |
| 954 | "src/node/ext/server.cc", |
| 955 | "src/node/ext/server_credentials.cc", |
Craig Tiller | 7c70b6c | 2017-01-23 07:48:42 -0800 | [diff] [blame] | 956 | "src/node/ext/slice.cc", |
murgatroid99 | 879bc4f | 2015-11-05 10:35:04 -0800 | [diff] [blame] | 957 | "src/node/ext/timeval.cc", |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 958 | ], |
| 959 | "dependencies": [ |
murgatroid99 | 879bc4f | 2015-11-05 10:35:04 -0800 | [diff] [blame] | 960 | "grpc", |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 961 | "gpr", |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 962 | ] |
murgatroid99 | 879bc4f | 2015-11-05 10:35:04 -0800 | [diff] [blame] | 963 | }, |
murgatroid99 | e190f35 | 2016-01-20 13:52:08 -0800 | [diff] [blame] | 964 | { |
| 965 | "target_name": "action_after_build", |
| 966 | "type": "none", |
| 967 | "dependencies": [ "<(module_name)" ], |
| 968 | "copies": [ |
| 969 | { |
| 970 | "files": [ "<(PRODUCT_DIR)/<(module_name).node"], |
| 971 | "destination": "<(module_path)" |
| 972 | } |
| 973 | ] |
| 974 | } |
murgatroid99 | 2af89e4 | 2015-10-01 11:54:00 -0700 | [diff] [blame] | 975 | ] |
| 976 | } |