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