Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 # Config for us and everybody else depending on openssl. | |
| 6 config("openssl_config") { | |
| 7 include_dirs = [] | |
| 8 if (cpu_arch == "x64") { | |
| 9 # Ensure the 64-bit opensslconf.h header is used in preference to the one | |
| 10 # in openssl/include. | |
| 11 include_dirs += [ "config/x64" ] | |
| 12 } | |
| 13 | |
| 14 include_dirs += [ "openssl/include" ] | |
| 15 } | |
| 16 | |
| 17 # Config internal to this build file. | |
| 18 config("openssl_internal_config") { | |
| 19 visibility = ":*" # Only targets in this file can depend on this. | |
| 20 } | |
| 21 | |
| 22 component("openssl") { | |
| 23 sources = [ | |
| 24 "openssl/crypto/cryptlib.c", | |
| 25 "openssl/crypto/mem.c", | |
| 26 "openssl/crypto/mem_clr.c", | |
| 27 "openssl/crypto/mem_dbg.c", | |
| 28 "openssl/crypto/cversion.c", | |
| 29 "openssl/crypto/ex_data.c", | |
| 30 "openssl/crypto/cpt_err.c", | |
| 31 "openssl/crypto/ebcdic.c", | |
| 32 "openssl/crypto/uid.c", | |
| 33 "openssl/crypto/o_time.c", | |
| 34 "openssl/crypto/o_str.c", | |
| 35 "openssl/crypto/o_dir.c", | |
| 36 "openssl/crypto/aes/aes_cbc.c", | |
| 37 "openssl/crypto/aes/aes_cfb.c", | |
| 38 "openssl/crypto/aes/aes_core.c", | |
| 39 "openssl/crypto/aes/aes_ctr.c", | |
| 40 "openssl/crypto/aes/aes_ecb.c", | |
| 41 "openssl/crypto/aes/aes_misc.c", | |
| 42 "openssl/crypto/aes/aes_ofb.c", | |
| 43 "openssl/crypto/aes/aes_wrap.c", | |
| 44 "openssl/crypto/asn1/a_bitstr.c", | |
| 45 "openssl/crypto/asn1/a_bool.c", | |
| 46 "openssl/crypto/asn1/a_bytes.c", | |
| 47 "openssl/crypto/asn1/a_d2i_fp.c", | |
| 48 "openssl/crypto/asn1/a_digest.c", | |
| 49 "openssl/crypto/asn1/a_dup.c", | |
| 50 "openssl/crypto/asn1/a_enum.c", | |
| 51 "openssl/crypto/asn1/a_gentm.c", | |
| 52 "openssl/crypto/asn1/a_i2d_fp.c", | |
| 53 "openssl/crypto/asn1/a_int.c", | |
| 54 "openssl/crypto/asn1/a_mbstr.c", | |
| 55 "openssl/crypto/asn1/a_object.c", | |
| 56 "openssl/crypto/asn1/a_octet.c", | |
| 57 "openssl/crypto/asn1/a_print.c", | |
| 58 "openssl/crypto/asn1/a_set.c", | |
| 59 "openssl/crypto/asn1/a_sign.c", | |
| 60 "openssl/crypto/asn1/a_strex.c", | |
| 61 "openssl/crypto/asn1/a_strnid.c", | |
| 62 "openssl/crypto/asn1/a_time.c", | |
| 63 "openssl/crypto/asn1/a_type.c", | |
| 64 "openssl/crypto/asn1/a_utctm.c", | |
| 65 "openssl/crypto/asn1/a_utf8.c", | |
| 66 "openssl/crypto/asn1/a_verify.c", | |
| 67 "openssl/crypto/asn1/ameth_lib.c", | |
| 68 "openssl/crypto/asn1/asn1_err.c", | |
| 69 "openssl/crypto/asn1/asn1_gen.c", | |
| 70 "openssl/crypto/asn1/asn1_lib.c", | |
| 71 "openssl/crypto/asn1/asn1_par.c", | |
| 72 "openssl/crypto/asn1/asn_mime.c", | |
| 73 "openssl/crypto/asn1/asn_moid.c", | |
| 74 "openssl/crypto/asn1/asn_pack.c", | |
| 75 "openssl/crypto/asn1/bio_asn1.c", | |
| 76 "openssl/crypto/asn1/bio_ndef.c", | |
| 77 "openssl/crypto/asn1/d2i_pr.c", | |
| 78 "openssl/crypto/asn1/d2i_pu.c", | |
| 79 "openssl/crypto/asn1/evp_asn1.c", | |
| 80 "openssl/crypto/asn1/f_enum.c", | |
| 81 "openssl/crypto/asn1/f_int.c", | |
| 82 "openssl/crypto/asn1/f_string.c", | |
| 83 "openssl/crypto/asn1/i2d_pr.c", | |
| 84 "openssl/crypto/asn1/i2d_pu.c", | |
| 85 "openssl/crypto/asn1/n_pkey.c", | |
| 86 "openssl/crypto/asn1/nsseq.c", | |
| 87 "openssl/crypto/asn1/p5_pbe.c", | |
| 88 "openssl/crypto/asn1/p5_pbev2.c", | |
| 89 "openssl/crypto/asn1/p8_pkey.c", | |
| 90 "openssl/crypto/asn1/t_bitst.c", | |
| 91 "openssl/crypto/asn1/t_crl.c", | |
| 92 "openssl/crypto/asn1/t_pkey.c", | |
| 93 "openssl/crypto/asn1/t_req.c", | |
| 94 "openssl/crypto/asn1/t_spki.c", | |
| 95 "openssl/crypto/asn1/t_x509.c", | |
| 96 "openssl/crypto/asn1/t_x509a.c", | |
| 97 "openssl/crypto/asn1/tasn_dec.c", | |
| 98 "openssl/crypto/asn1/tasn_enc.c", | |
| 99 "openssl/crypto/asn1/tasn_fre.c", | |
| 100 "openssl/crypto/asn1/tasn_new.c", | |
| 101 "openssl/crypto/asn1/tasn_prn.c", | |
| 102 "openssl/crypto/asn1/tasn_typ.c", | |
| 103 "openssl/crypto/asn1/tasn_utl.c", | |
| 104 "openssl/crypto/asn1/x_algor.c", | |
| 105 "openssl/crypto/asn1/x_attrib.c", | |
| 106 "openssl/crypto/asn1/x_bignum.c", | |
| 107 "openssl/crypto/asn1/x_crl.c", | |
| 108 "openssl/crypto/asn1/x_exten.c", | |
| 109 "openssl/crypto/asn1/x_info.c", | |
| 110 "openssl/crypto/asn1/x_long.c", | |
| 111 "openssl/crypto/asn1/x_name.c", | |
| 112 "openssl/crypto/asn1/x_nx509.c", | |
| 113 "openssl/crypto/asn1/x_pkey.c", | |
| 114 "openssl/crypto/asn1/x_pubkey.c", | |
| 115 "openssl/crypto/asn1/x_req.c", | |
| 116 "openssl/crypto/asn1/x_sig.c", | |
| 117 "openssl/crypto/asn1/x_spki.c", | |
| 118 "openssl/crypto/asn1/x_val.c", | |
| 119 "openssl/crypto/asn1/x_x509.c", | |
| 120 "openssl/crypto/asn1/x_x509a.c", | |
| 121 "openssl/crypto/bf/bf_cfb64.c", | |
| 122 "openssl/crypto/bf/bf_ecb.c", | |
| 123 "openssl/crypto/bf/bf_enc.c", | |
| 124 "openssl/crypto/bf/bf_ofb64.c", | |
| 125 "openssl/crypto/bf/bf_skey.c", | |
| 126 "openssl/crypto/bio/b_dump.c", | |
| 127 "openssl/crypto/bio/b_print.c", | |
| 128 "openssl/crypto/bio/b_sock.c", | |
| 129 "openssl/crypto/bio/bf_buff.c", | |
| 130 "openssl/crypto/bio/bf_nbio.c", | |
| 131 "openssl/crypto/bio/bf_null.c", | |
| 132 "openssl/crypto/bio/bio_cb.c", | |
| 133 "openssl/crypto/bio/bio_err.c", | |
| 134 "openssl/crypto/bio/bio_lib.c", | |
| 135 "openssl/crypto/bio/bss_acpt.c", | |
| 136 "openssl/crypto/bio/bss_bio.c", | |
| 137 "openssl/crypto/bio/bss_conn.c", | |
| 138 "openssl/crypto/bio/bss_dgram.c", | |
| 139 "openssl/crypto/bio/bss_fd.c", | |
| 140 "openssl/crypto/bio/bss_file.c", | |
| 141 "openssl/crypto/bio/bss_log.c", | |
| 142 "openssl/crypto/bio/bss_mem.c", | |
| 143 "openssl/crypto/bio/bss_null.c", | |
| 144 "openssl/crypto/bio/bss_sock.c", | |
| 145 "openssl/crypto/bn/bn_add.c", | |
| 146 "openssl/crypto/bn/bn_asm.c", | |
| 147 "openssl/crypto/bn/bn_blind.c", | |
| 148 "openssl/crypto/bn/bn_const.c", | |
| 149 "openssl/crypto/bn/bn_ctx.c", | |
| 150 "openssl/crypto/bn/bn_div.c", | |
| 151 "openssl/crypto/bn/bn_err.c", | |
| 152 "openssl/crypto/bn/bn_exp.c", | |
| 153 "openssl/crypto/bn/bn_exp2.c", | |
| 154 "openssl/crypto/bn/bn_gcd.c", | |
| 155 "openssl/crypto/bn/bn_gf2m.c", | |
| 156 "openssl/crypto/bn/bn_kron.c", | |
| 157 "openssl/crypto/bn/bn_lib.c", | |
| 158 "openssl/crypto/bn/bn_mod.c", | |
| 159 "openssl/crypto/bn/bn_mont.c", | |
| 160 "openssl/crypto/bn/bn_mpi.c", | |
| 161 "openssl/crypto/bn/bn_mul.c", | |
| 162 "openssl/crypto/bn/bn_nist.c", | |
| 163 "openssl/crypto/bn/bn_prime.c", | |
| 164 "openssl/crypto/bn/bn_print.c", | |
| 165 "openssl/crypto/bn/bn_rand.c", | |
| 166 "openssl/crypto/bn/bn_recp.c", | |
| 167 "openssl/crypto/bn/bn_shift.c", | |
| 168 "openssl/crypto/bn/bn_sqr.c", | |
| 169 "openssl/crypto/bn/bn_sqrt.c", | |
| 170 "openssl/crypto/bn/bn_word.c", | |
| 171 "openssl/crypto/buffer/buf_err.c", | |
| 172 "openssl/crypto/buffer/buf_str.c", | |
| 173 "openssl/crypto/buffer/buffer.c", | |
| 174 "openssl/crypto/chacha/chacha_enc.c", | |
| 175 "openssl/crypto/cmac/cm_ameth.c", | |
| 176 "openssl/crypto/cmac/cm_pmeth.c", | |
| 177 "openssl/crypto/cmac/cmac.c", | |
| 178 "openssl/crypto/comp/c_rle.c", | |
| 179 "openssl/crypto/comp/c_zlib.c", | |
| 180 "openssl/crypto/comp/comp_err.c", | |
| 181 "openssl/crypto/comp/comp_lib.c", | |
| 182 "openssl/crypto/conf/conf_api.c", | |
| 183 "openssl/crypto/conf/conf_def.c", | |
| 184 "openssl/crypto/conf/conf_err.c", | |
| 185 "openssl/crypto/conf/conf_lib.c", | |
| 186 "openssl/crypto/conf/conf_mall.c", | |
| 187 "openssl/crypto/conf/conf_mod.c", | |
| 188 "openssl/crypto/conf/conf_sap.c", | |
| 189 "openssl/crypto/des/cbc_cksm.c", | |
| 190 "openssl/crypto/des/cbc_enc.c", | |
| 191 "openssl/crypto/des/cfb64ede.c", | |
| 192 "openssl/crypto/des/cfb64enc.c", | |
| 193 "openssl/crypto/des/cfb_enc.c", | |
| 194 "openssl/crypto/des/des_enc.c", | |
| 195 "openssl/crypto/des/des_old.c", | |
| 196 "openssl/crypto/des/des_old2.c", | |
| 197 "openssl/crypto/des/ecb3_enc.c", | |
| 198 "openssl/crypto/des/ecb_enc.c", | |
| 199 "openssl/crypto/des/ede_cbcm_enc.c", | |
| 200 "openssl/crypto/des/enc_read.c", | |
| 201 "openssl/crypto/des/enc_writ.c", | |
| 202 "openssl/crypto/des/fcrypt.c", | |
| 203 "openssl/crypto/des/fcrypt_b.c", | |
| 204 "openssl/crypto/des/ofb64ede.c", | |
| 205 "openssl/crypto/des/ofb64enc.c", | |
| 206 "openssl/crypto/des/ofb_enc.c", | |
| 207 "openssl/crypto/des/pcbc_enc.c", | |
| 208 "openssl/crypto/des/qud_cksm.c", | |
| 209 "openssl/crypto/des/rand_key.c", | |
| 210 "openssl/crypto/des/read2pwd.c", | |
| 211 "openssl/crypto/des/rpc_enc.c", | |
| 212 "openssl/crypto/des/set_key.c", | |
| 213 "openssl/crypto/des/str2key.c", | |
| 214 "openssl/crypto/des/xcbc_enc.c", | |
| 215 "openssl/crypto/dh/dh_ameth.c", | |
| 216 "openssl/crypto/dh/dh_asn1.c", | |
| 217 "openssl/crypto/dh/dh_check.c", | |
| 218 "openssl/crypto/dh/dh_depr.c", | |
| 219 "openssl/crypto/dh/dh_err.c", | |
| 220 "openssl/crypto/dh/dh_gen.c", | |
| 221 "openssl/crypto/dh/dh_key.c", | |
| 222 "openssl/crypto/dh/dh_lib.c", | |
| 223 "openssl/crypto/dh/dh_pmeth.c", | |
| 224 "openssl/crypto/dsa/dsa_ameth.c", | |
| 225 "openssl/crypto/dsa/dsa_asn1.c", | |
| 226 "openssl/crypto/dsa/dsa_depr.c", | |
| 227 "openssl/crypto/dsa/dsa_err.c", | |
| 228 "openssl/crypto/dsa/dsa_gen.c", | |
| 229 "openssl/crypto/dsa/dsa_key.c", | |
| 230 "openssl/crypto/dsa/dsa_lib.c", | |
| 231 "openssl/crypto/dsa/dsa_ossl.c", | |
| 232 "openssl/crypto/dsa/dsa_pmeth.c", | |
| 233 "openssl/crypto/dsa/dsa_prn.c", | |
| 234 "openssl/crypto/dsa/dsa_sign.c", | |
| 235 "openssl/crypto/dsa/dsa_vrf.c", | |
| 236 "openssl/crypto/dso/dso_dl.c", | |
| 237 "openssl/crypto/dso/dso_dlfcn.c", | |
| 238 "openssl/crypto/dso/dso_err.c", | |
| 239 "openssl/crypto/dso/dso_lib.c", | |
| 240 "openssl/crypto/dso/dso_null.c", | |
| 241 "openssl/crypto/dso/dso_openssl.c", | |
| 242 "openssl/crypto/ec/ec2_mult.c", | |
| 243 "openssl/crypto/ec/ec2_oct.c", | |
| 244 "openssl/crypto/ec/ec2_smpl.c", | |
| 245 "openssl/crypto/ec/ec_ameth.c", | |
| 246 "openssl/crypto/ec/ec_asn1.c", | |
| 247 "openssl/crypto/ec/ec_check.c", | |
| 248 "openssl/crypto/ec/ec_curve.c", | |
| 249 "openssl/crypto/ec/ec_cvt.c", | |
| 250 "openssl/crypto/ec/ec_err.c", | |
| 251 "openssl/crypto/ec/ec_key.c", | |
| 252 "openssl/crypto/ec/ec_lib.c", | |
| 253 "openssl/crypto/ec/ec_mult.c", | |
| 254 "openssl/crypto/ec/ec_oct.c", | |
| 255 "openssl/crypto/ec/ec_pmeth.c", | |
| 256 "openssl/crypto/ec/ec_print.c", | |
| 257 "openssl/crypto/ec/eck_prn.c", | |
| 258 "openssl/crypto/ec/ecp_mont.c", | |
| 259 "openssl/crypto/ec/ecp_nist.c", | |
| 260 "openssl/crypto/ec/ecp_oct.c", | |
| 261 "openssl/crypto/ec/ecp_smpl.c", | |
| 262 "openssl/crypto/ecdh/ech_err.c", | |
| 263 "openssl/crypto/ecdh/ech_key.c", | |
| 264 "openssl/crypto/ecdh/ech_lib.c", | |
| 265 "openssl/crypto/ecdh/ech_ossl.c", | |
| 266 "openssl/crypto/ecdsa/ecs_asn1.c", | |
| 267 "openssl/crypto/ecdsa/ecs_err.c", | |
| 268 "openssl/crypto/ecdsa/ecs_lib.c", | |
| 269 "openssl/crypto/ecdsa/ecs_ossl.c", | |
| 270 "openssl/crypto/ecdsa/ecs_sign.c", | |
| 271 "openssl/crypto/ecdsa/ecs_vrf.c", | |
| 272 "openssl/crypto/engine/eng_all.c", | |
| 273 "openssl/crypto/engine/eng_cnf.c", | |
| 274 "openssl/crypto/engine/eng_ctrl.c", | |
| 275 "openssl/crypto/engine/eng_dyn.c", | |
| 276 "openssl/crypto/engine/eng_err.c", | |
| 277 "openssl/crypto/engine/eng_fat.c", | |
| 278 "openssl/crypto/engine/eng_init.c", | |
| 279 "openssl/crypto/engine/eng_lib.c", | |
| 280 "openssl/crypto/engine/eng_list.c", | |
| 281 "openssl/crypto/engine/eng_pkey.c", | |
| 282 "openssl/crypto/engine/eng_table.c", | |
| 283 "openssl/crypto/engine/tb_asnmth.c", | |
| 284 "openssl/crypto/engine/tb_cipher.c", | |
| 285 "openssl/crypto/engine/tb_dh.c", | |
| 286 "openssl/crypto/engine/tb_digest.c", | |
| 287 "openssl/crypto/engine/tb_dsa.c", | |
| 288 "openssl/crypto/engine/tb_ecdh.c", | |
| 289 "openssl/crypto/engine/tb_ecdsa.c", | |
| 290 "openssl/crypto/engine/tb_pkmeth.c", | |
| 291 "openssl/crypto/engine/tb_rand.c", | |
| 292 "openssl/crypto/engine/tb_rsa.c", | |
| 293 "openssl/crypto/engine/tb_store.c", | |
| 294 "openssl/crypto/err/err.c", | |
| 295 "openssl/crypto/err/err_all.c", | |
| 296 "openssl/crypto/err/err_prn.c", | |
| 297 "openssl/crypto/evp/bio_b64.c", | |
| 298 "openssl/crypto/evp/bio_enc.c", | |
| 299 "openssl/crypto/evp/bio_md.c", | |
| 300 "openssl/crypto/evp/bio_ok.c", | |
| 301 "openssl/crypto/evp/c_all.c", | |
| 302 "openssl/crypto/evp/c_allc.c", | |
| 303 "openssl/crypto/evp/c_alld.c", | |
| 304 "openssl/crypto/evp/digest.c", | |
| 305 "openssl/crypto/evp/e_aes.c", | |
| 306 "openssl/crypto/evp/e_aes_cbc_hmac_sha1.c", | |
| 307 "openssl/crypto/evp/e_bf.c", | |
| 308 "openssl/crypto/evp/e_chacha20poly1305.c", | |
| 309 "openssl/crypto/evp/e_des.c", | |
| 310 "openssl/crypto/evp/e_des3.c", | |
| 311 "openssl/crypto/evp/e_null.c", | |
| 312 "openssl/crypto/evp/e_old.c", | |
| 313 "openssl/crypto/evp/e_rc2.c", | |
| 314 "openssl/crypto/evp/e_rc4.c", | |
| 315 "openssl/crypto/evp/e_rc4_hmac_md5.c", | |
| 316 "openssl/crypto/evp/e_rc5.c", | |
| 317 "openssl/crypto/evp/e_xcbc_d.c", | |
| 318 "openssl/crypto/evp/encode.c", | |
| 319 "openssl/crypto/evp/evp_acnf.c", | |
| 320 "openssl/crypto/evp/evp_aead.c", | |
| 321 "openssl/crypto/evp/evp_cnf.c", | |
| 322 "openssl/crypto/evp/evp_enc.c", | |
| 323 "openssl/crypto/evp/evp_err.c", | |
| 324 "openssl/crypto/evp/evp_key.c", | |
| 325 "openssl/crypto/evp/evp_lib.c", | |
| 326 "openssl/crypto/evp/evp_pbe.c", | |
| 327 "openssl/crypto/evp/evp_pkey.c", | |
| 328 "openssl/crypto/evp/m_dss.c", | |
| 329 "openssl/crypto/evp/m_dss1.c", | |
| 330 "openssl/crypto/evp/m_ecdsa.c", | |
| 331 "openssl/crypto/evp/m_md4.c", | |
| 332 "openssl/crypto/evp/m_md5.c", | |
| 333 "openssl/crypto/evp/m_mdc2.c", | |
| 334 "openssl/crypto/evp/m_null.c", | |
| 335 "openssl/crypto/evp/m_ripemd.c", | |
| 336 "openssl/crypto/evp/m_sha1.c", | |
| 337 "openssl/crypto/evp/m_sigver.c", | |
| 338 "openssl/crypto/evp/m_wp.c", | |
| 339 "openssl/crypto/evp/names.c", | |
| 340 "openssl/crypto/evp/p5_crpt.c", | |
| 341 "openssl/crypto/evp/p5_crpt2.c", | |
| 342 "openssl/crypto/evp/p_dec.c", | |
| 343 "openssl/crypto/evp/p_enc.c", | |
| 344 "openssl/crypto/evp/p_lib.c", | |
| 345 "openssl/crypto/evp/p_open.c", | |
| 346 "openssl/crypto/evp/p_seal.c", | |
| 347 "openssl/crypto/evp/p_sign.c", | |
| 348 "openssl/crypto/evp/p_verify.c", | |
| 349 "openssl/crypto/evp/pmeth_fn.c", | |
| 350 "openssl/crypto/evp/pmeth_gn.c", | |
| 351 "openssl/crypto/evp/pmeth_lib.c", | |
| 352 "openssl/crypto/hmac/hm_ameth.c", | |
| 353 "openssl/crypto/hmac/hm_pmeth.c", | |
| 354 "openssl/crypto/hmac/hmac.c", | |
| 355 "openssl/crypto/krb5/krb5_asn.c", | |
| 356 "openssl/crypto/lhash/lh_stats.c", | |
| 357 "openssl/crypto/lhash/lhash.c", | |
| 358 "openssl/crypto/md4/md4_dgst.c", | |
| 359 "openssl/crypto/md4/md4_one.c", | |
| 360 "openssl/crypto/md5/md5_dgst.c", | |
| 361 "openssl/crypto/md5/md5_one.c", | |
| 362 "openssl/crypto/modes/cbc128.c", | |
| 363 "openssl/crypto/modes/ccm128.c", | |
| 364 "openssl/crypto/modes/cfb128.c", | |
| 365 "openssl/crypto/modes/ctr128.c", | |
| 366 "openssl/crypto/modes/gcm128.c", | |
| 367 "openssl/crypto/modes/ofb128.c", | |
| 368 "openssl/crypto/modes/xts128.c", | |
| 369 "openssl/crypto/o_init.c", | |
| 370 "openssl/crypto/objects/o_names.c", | |
| 371 "openssl/crypto/objects/obj_dat.c", | |
| 372 "openssl/crypto/objects/obj_err.c", | |
| 373 "openssl/crypto/objects/obj_lib.c", | |
| 374 "openssl/crypto/objects/obj_xref.c", | |
| 375 "openssl/crypto/ocsp/ocsp_asn.c", | |
| 376 "openssl/crypto/ocsp/ocsp_cl.c", | |
| 377 "openssl/crypto/ocsp/ocsp_err.c", | |
| 378 "openssl/crypto/ocsp/ocsp_ext.c", | |
| 379 "openssl/crypto/ocsp/ocsp_ht.c", | |
| 380 "openssl/crypto/ocsp/ocsp_lib.c", | |
| 381 "openssl/crypto/ocsp/ocsp_prn.c", | |
| 382 "openssl/crypto/ocsp/ocsp_srv.c", | |
| 383 "openssl/crypto/ocsp/ocsp_vfy.c", | |
| 384 "openssl/crypto/pem/pem_all.c", | |
| 385 "openssl/crypto/pem/pem_err.c", | |
| 386 "openssl/crypto/pem/pem_info.c", | |
| 387 "openssl/crypto/pem/pem_lib.c", | |
| 388 "openssl/crypto/pem/pem_oth.c", | |
| 389 "openssl/crypto/pem/pem_pk8.c", | |
| 390 "openssl/crypto/pem/pem_pkey.c", | |
| 391 "openssl/crypto/pem/pem_seal.c", | |
| 392 "openssl/crypto/pem/pem_sign.c", | |
| 393 "openssl/crypto/pem/pem_x509.c", | |
| 394 "openssl/crypto/pem/pem_xaux.c", | |
| 395 "openssl/crypto/pem/pvkfmt.c", | |
| 396 "openssl/crypto/pkcs12/p12_add.c", | |
| 397 "openssl/crypto/pkcs12/p12_asn.c", | |
| 398 "openssl/crypto/pkcs12/p12_attr.c", | |
| 399 "openssl/crypto/pkcs12/p12_crpt.c", | |
| 400 "openssl/crypto/pkcs12/p12_crt.c", | |
| 401 "openssl/crypto/pkcs12/p12_decr.c", | |
| 402 "openssl/crypto/pkcs12/p12_init.c", | |
| 403 "openssl/crypto/pkcs12/p12_key.c", | |
| 404 "openssl/crypto/pkcs12/p12_kiss.c", | |
| 405 "openssl/crypto/pkcs12/p12_mutl.c", | |
| 406 "openssl/crypto/pkcs12/p12_npas.c", | |
| 407 "openssl/crypto/pkcs12/p12_p8d.c", | |
| 408 "openssl/crypto/pkcs12/p12_p8e.c", | |
| 409 "openssl/crypto/pkcs12/p12_utl.c", | |
| 410 "openssl/crypto/pkcs12/pk12err.c", | |
| 411 "openssl/crypto/pkcs7/pk7_asn1.c", | |
| 412 "openssl/crypto/pkcs7/pk7_attr.c", | |
| 413 "openssl/crypto/pkcs7/pk7_doit.c", | |
| 414 "openssl/crypto/pkcs7/pk7_lib.c", | |
| 415 "openssl/crypto/pkcs7/pk7_mime.c", | |
| 416 "openssl/crypto/pkcs7/pk7_smime.c", | |
| 417 "openssl/crypto/pkcs7/pkcs7err.c", | |
| 418 "openssl/crypto/pqueue/pqueue.c", | |
| 419 "openssl/crypto/poly1305/poly1305.c", | |
| 420 "openssl/crypto/rand/md_rand.c", | |
| 421 "openssl/crypto/rand/rand_egd.c", | |
| 422 "openssl/crypto/rand/rand_err.c", | |
| 423 "openssl/crypto/rand/rand_lib.c", | |
| 424 "openssl/crypto/rand/rand_unix.c", | |
| 425 "openssl/crypto/rand/rand_win.c", | |
| 426 "openssl/crypto/rand/randfile.c", | |
| 427 "openssl/crypto/rc2/rc2_cbc.c", | |
| 428 "openssl/crypto/rc2/rc2_ecb.c", | |
| 429 "openssl/crypto/rc2/rc2_skey.c", | |
| 430 "openssl/crypto/rc2/rc2cfb64.c", | |
| 431 "openssl/crypto/rc2/rc2ofb64.c", | |
| 432 "openssl/crypto/rc4/rc4_enc.c", | |
| 433 "openssl/crypto/rc4/rc4_skey.c", | |
| 434 "openssl/crypto/rc4/rc4_utl.c", | |
| 435 "openssl/crypto/ripemd/rmd_dgst.c", | |
| 436 "openssl/crypto/ripemd/rmd_one.c", | |
| 437 "openssl/crypto/rsa/rsa_ameth.c", | |
| 438 "openssl/crypto/rsa/rsa_asn1.c", | |
| 439 "openssl/crypto/rsa/rsa_chk.c", | |
| 440 "openssl/crypto/rsa/rsa_crpt.c", | |
| 441 "openssl/crypto/rsa/rsa_eay.c", | |
| 442 "openssl/crypto/rsa/rsa_err.c", | |
| 443 "openssl/crypto/rsa/rsa_gen.c", | |
| 444 "openssl/crypto/rsa/rsa_lib.c", | |
| 445 "openssl/crypto/rsa/rsa_none.c", | |
| 446 "openssl/crypto/rsa/rsa_null.c", | |
| 447 "openssl/crypto/rsa/rsa_oaep.c", | |
| 448 "openssl/crypto/rsa/rsa_pk1.c", | |
| 449 "openssl/crypto/rsa/rsa_pmeth.c", | |
| 450 "openssl/crypto/rsa/rsa_prn.c", | |
| 451 "openssl/crypto/rsa/rsa_pss.c", | |
| 452 "openssl/crypto/rsa/rsa_saos.c", | |
| 453 "openssl/crypto/rsa/rsa_sign.c", | |
| 454 "openssl/crypto/rsa/rsa_ssl.c", | |
| 455 "openssl/crypto/rsa/rsa_x931.c", | |
| 456 "openssl/crypto/sha/sha1_one.c", | |
| 457 "openssl/crypto/sha/sha1dgst.c", | |
| 458 "openssl/crypto/sha/sha256.c", | |
| 459 "openssl/crypto/sha/sha512.c", | |
| 460 "openssl/crypto/sha/sha_dgst.c", | |
| 461 "openssl/crypto/srp/srp_lib.c", | |
| 462 "openssl/crypto/srp/srp_vfy.c", | |
| 463 "openssl/crypto/stack/stack.c", | |
| 464 "openssl/crypto/ts/ts_err.c", | |
| 465 "openssl/crypto/txt_db/txt_db.c", | |
| 466 "openssl/crypto/ui/ui_compat.c", | |
| 467 "openssl/crypto/ui/ui_err.c", | |
| 468 "openssl/crypto/ui/ui_lib.c", | |
| 469 "openssl/crypto/ui/ui_openssl.c", | |
| 470 "openssl/crypto/ui/ui_util.c", | |
| 471 "openssl/crypto/x509/by_dir.c", | |
| 472 "openssl/crypto/x509/by_file.c", | |
| 473 "openssl/crypto/x509/x509_att.c", | |
| 474 "openssl/crypto/x509/x509_cmp.c", | |
| 475 "openssl/crypto/x509/x509_d2.c", | |
| 476 "openssl/crypto/x509/x509_def.c", | |
| 477 "openssl/crypto/x509/x509_err.c", | |
| 478 "openssl/crypto/x509/x509_ext.c", | |
| 479 "openssl/crypto/x509/x509_lu.c", | |
| 480 "openssl/crypto/x509/x509_obj.c", | |
| 481 "openssl/crypto/x509/x509_r2x.c", | |
| 482 "openssl/crypto/x509/x509_req.c", | |
| 483 "openssl/crypto/x509/x509_set.c", | |
| 484 "openssl/crypto/x509/x509_trs.c", | |
| 485 "openssl/crypto/x509/x509_txt.c", | |
| 486 "openssl/crypto/x509/x509_v3.c", | |
| 487 "openssl/crypto/x509/x509_vfy.c", | |
| 488 "openssl/crypto/x509/x509_vpm.c", | |
| 489 "openssl/crypto/x509/x509cset.c", | |
| 490 "openssl/crypto/x509/x509name.c", | |
| 491 "openssl/crypto/x509/x509rset.c", | |
| 492 "openssl/crypto/x509/x509spki.c", | |
| 493 "openssl/crypto/x509/x509type.c", | |
| 494 "openssl/crypto/x509/x_all.c", | |
| 495 "openssl/crypto/x509v3/pcy_cache.c", | |
| 496 "openssl/crypto/x509v3/pcy_data.c", | |
| 497 "openssl/crypto/x509v3/pcy_lib.c", | |
| 498 "openssl/crypto/x509v3/pcy_map.c", | |
| 499 "openssl/crypto/x509v3/pcy_node.c", | |
| 500 "openssl/crypto/x509v3/pcy_tree.c", | |
| 501 "openssl/crypto/x509v3/v3_akey.c", | |
| 502 "openssl/crypto/x509v3/v3_akeya.c", | |
| 503 "openssl/crypto/x509v3/v3_alt.c", | |
| 504 "openssl/crypto/x509v3/v3_bcons.c", | |
| 505 "openssl/crypto/x509v3/v3_bitst.c", | |
| 506 "openssl/crypto/x509v3/v3_conf.c", | |
| 507 "openssl/crypto/x509v3/v3_cpols.c", | |
| 508 "openssl/crypto/x509v3/v3_crld.c", | |
| 509 "openssl/crypto/x509v3/v3_enum.c", | |
| 510 "openssl/crypto/x509v3/v3_extku.c", | |
| 511 "openssl/crypto/x509v3/v3_genn.c", | |
| 512 "openssl/crypto/x509v3/v3_ia5.c", | |
| 513 "openssl/crypto/x509v3/v3_info.c", | |
| 514 "openssl/crypto/x509v3/v3_int.c", | |
| 515 "openssl/crypto/x509v3/v3_lib.c", | |
| 516 "openssl/crypto/x509v3/v3_ncons.c", | |
| 517 "openssl/crypto/x509v3/v3_ocsp.c", | |
| 518 "openssl/crypto/x509v3/v3_pci.c", | |
| 519 "openssl/crypto/x509v3/v3_pcia.c", | |
| 520 "openssl/crypto/x509v3/v3_pcons.c", | |
| 521 "openssl/crypto/x509v3/v3_pku.c", | |
| 522 "openssl/crypto/x509v3/v3_pmaps.c", | |
| 523 "openssl/crypto/x509v3/v3_prn.c", | |
| 524 "openssl/crypto/x509v3/v3_purp.c", | |
| 525 "openssl/crypto/x509v3/v3_skey.c", | |
| 526 "openssl/crypto/x509v3/v3_sxnet.c", | |
| 527 "openssl/crypto/x509v3/v3_utl.c", | |
| 528 "openssl/crypto/x509v3/v3err.c", | |
| 529 "openssl/ssl/bio_ssl.c", | |
| 530 "openssl/ssl/d1_both.c", | |
| 531 "openssl/ssl/d1_clnt.c", | |
| 532 "openssl/ssl/d1_enc.c", | |
| 533 "openssl/ssl/d1_lib.c", | |
| 534 "openssl/ssl/d1_pkt.c", | |
| 535 "openssl/ssl/d1_srtp.c", | |
| 536 "openssl/ssl/d1_srvr.c", | |
| 537 "openssl/ssl/kssl.c", | |
| 538 "openssl/ssl/s23_clnt.c", | |
| 539 "openssl/ssl/s23_lib.c", | |
| 540 "openssl/ssl/s23_meth.c", | |
| 541 "openssl/ssl/s23_pkt.c", | |
| 542 "openssl/ssl/s23_srvr.c", | |
| 543 "openssl/ssl/s2_clnt.c", | |
| 544 "openssl/ssl/s2_enc.c", | |
| 545 "openssl/ssl/s2_lib.c", | |
| 546 "openssl/ssl/s2_meth.c", | |
| 547 "openssl/ssl/s2_pkt.c", | |
| 548 "openssl/ssl/s2_srvr.c", | |
| 549 "openssl/ssl/s3_both.c", | |
| 550 "openssl/ssl/s3_cbc.c", | |
| 551 "openssl/ssl/s3_clnt.c", | |
| 552 "openssl/ssl/s3_enc.c", | |
| 553 "openssl/ssl/s3_lib.c", | |
| 554 "openssl/ssl/s3_meth.c", | |
| 555 "openssl/ssl/s3_pkt.c", | |
| 556 "openssl/ssl/s3_srvr.c", | |
| 557 "openssl/ssl/ssl_algs.c", | |
| 558 "openssl/ssl/ssl_asn1.c", | |
| 559 "openssl/ssl/ssl_cert.c", | |
| 560 "openssl/ssl/ssl_ciph.c", | |
| 561 "openssl/ssl/ssl_err.c", | |
| 562 "openssl/ssl/ssl_err2.c", | |
| 563 "openssl/ssl/ssl_lib.c", | |
| 564 "openssl/ssl/ssl_rsa.c", | |
| 565 "openssl/ssl/ssl_sess.c", | |
| 566 "openssl/ssl/ssl_stat.c", | |
| 567 "openssl/ssl/ssl_txt.c", | |
| 568 "openssl/ssl/t1_clnt.c", | |
| 569 "openssl/ssl/t1_enc.c", | |
| 570 "openssl/ssl/t1_lib.c", | |
| 571 "openssl/ssl/t1_meth.c", | |
| 572 "openssl/ssl/t1_reneg.c", | |
| 573 "openssl/ssl/t1_srvr.c", | |
| 574 "openssl/ssl/tls_srp.c", | |
| 575 ] | |
| 576 | |
| 577 defines = [ | |
| 578 "PURIFY", | |
| 579 "MONOLITH", | |
| 580 "NO_WINDOWS_BRAINDEATH", | |
| 581 ] | |
| 582 | |
| 583 direct_dependent_configs = [ ":openssl_config" ] | |
| 584 | |
| 585 cflags = [] | |
| 586 | |
| 587 # Also gets the include dirs from :openssl_config | |
| 588 include_dirs = [ | |
| 589 ".", | |
| 590 "openssl", | |
| 591 "openssl/crypto", | |
| 592 "openssl/crypto/asn1", | |
| 593 "openssl/crypto/evp", | |
| 594 "openssl/crypto/modes", | |
| 595 ] | |
| 596 | |
| 597 if (is_posix && !is_android) { | |
| 598 defines += [ | |
| 599 # ENGINESDIR must be defined if OPENSSLDIR is. | |
| 600 "ENGINESDIR=\"/dev/null\"", | |
| 601 # Set to ubuntu default path for convenience. If necessary, override | |
| 602 # this at runtime with the SSL_CERT_DIR environment variable. | |
| 603 "OPENSSLDIR=\"/etc/ssl\"", | |
| 604 ] | |
| 605 } | |
| 606 | |
| 607 if (cpu_arch == "x64") { | |
| 608 sources += [ | |
| 609 "openssl/crypto/aes/asm/aes-x86_64.S", | |
| 610 "openssl/crypto/aes/asm/aesni-x86_64.S", | |
| 611 "openssl/crypto/aes/asm/aesni-sha1-x86_64.S", | |
| 612 "openssl/crypto/aes/asm/bsaes-x86_64.S", | |
| 613 "openssl/crypto/aes/asm/vpaes-x86_64.S", | |
| 614 "openssl/crypto/bn/asm/modexp512-x86_64.S", | |
| 615 "openssl/crypto/bn/asm/x86_64-gcc.c", | |
| 616 "openssl/crypto/bn/asm/x86_64-gf2m.S", | |
| 617 "openssl/crypto/bn/asm/x86_64-mont.S", | |
| 618 "openssl/crypto/bn/asm/x86_64-mont5.S", | |
| 619 "openssl/crypto/chacha/chacha_vec.c", | |
| 620 "openssl/crypto/md5/asm/md5-x86_64.S", | |
| 621 "openssl/crypto/modes/asm/ghash-x86_64.S", | |
| 622 "openssl/crypto/rc4/asm/rc4-md5-x86_64.S", | |
| 623 "openssl/crypto/rc4/asm/rc4-x86_64.S", | |
| 624 "openssl/crypto/sha/asm/sha1-x86_64.S", | |
| 625 "openssl/crypto/sha/asm/sha256-x86_64.S", | |
| 626 "openssl/crypto/sha/asm/sha512-x86_64.S", | |
| 627 "openssl/crypto/poly1305/poly1305_vec.c", | |
| 628 "openssl/crypto/x86_64cpuid.S", | |
| 629 ] | |
| 630 sources -= [ | |
| 631 "openssl/crypto/aes/aes_cbc.c", | |
| 632 "openssl/crypto/aes/aes_core.c", | |
| 633 "openssl/crypto/bn/bn_asm.c", | |
| 634 "openssl/crypto/chacha/chacha_enc.c", | |
| 635 "openssl/crypto/mem_clr.c", | |
| 636 "openssl/crypto/poly1305/poly1305.c", | |
| 637 "openssl/crypto/rc4/rc4_enc.c", | |
| 638 "openssl/crypto/rc4/rc4_skey.c", | |
| 639 ] | |
| 640 | |
| 641 defines += [ | |
| 642 "OPENSSL_BN_ASM_GF2m", | |
| 643 "OPENSSL_BN_ASM_MONT", | |
| 644 "AES_ASM", | |
| 645 "GHASH_ASM", | |
| 646 "SHA1_ASM", | |
| 647 "SHA256_ASM", | |
| 648 "SHA512_ASM", | |
| 649 "MD5_ASM", | |
| 650 "DES_PTR", | |
| 651 "DES_RISC1", | |
| 652 "DES_UNROLL", | |
| 653 "OPENSSL_CPUID_OBJ", | |
| 654 ] | |
| 655 } else if (cpu_arch == "x86") { | |
| 656 sources += [ | |
| 657 "openssl/crypto/aes/asm/aes-586.S", | |
| 658 "openssl/crypto/aes/asm/aesni-x86.S", | |
| 659 "openssl/crypto/aes/asm/vpaes-x86.S", | |
| 660 "openssl/crypto/bf/asm/bf-586.S", | |
| 661 "openssl/crypto/bn/asm/bn-586.S", | |
| 662 "openssl/crypto/bn/asm/co-586.S", | |
| 663 "openssl/crypto/bn/asm/x86-gf2m.S", | |
| 664 "openssl/crypto/bn/asm/x86-mont.S", | |
| 665 "openssl/crypto/des/asm/crypt586.S", | |
| 666 "openssl/crypto/des/asm/des-586.S", | |
| 667 "openssl/crypto/md5/asm/md5-586.S", | |
| 668 "openssl/crypto/modes/asm/ghash-x86.S", | |
| 669 "openssl/crypto/sha/asm/sha1-586.S", | |
| 670 "openssl/crypto/sha/asm/sha256-586.S", | |
| 671 "openssl/crypto/sha/asm/sha512-586.S", | |
| 672 "openssl/crypto/x86cpuid.S", | |
| 673 ] | |
| 674 sources -= [ | |
| 675 "openssl/crypto/aes/aes_core.c", | |
| 676 "openssl/crypto/aes/aes_cbc.c", | |
| 677 "openssl/crypto/bf/bf_enc.c", | |
| 678 "openssl/crypto/bn/bn_asm.c", | |
| 679 "openssl/crypto/des/des_enc.c", | |
| 680 "openssl/crypto/des/fcrypt_b.c", | |
| 681 "openssl/crypto/mem_clr.c", | |
| 682 ] | |
| 683 | |
| 684 defines += [ | |
| 685 "OPENSSL_BN_ASM_GF2m", | |
| 686 "OPENSSL_BN_ASM_MONT", | |
| 687 "OPENSSL_BN_ASM_PART_WORDS", | |
| 688 "AES_ASM", | |
| 689 "GHASH_ASM", | |
| 690 "SHA1_ASM", | |
| 691 "SHA256_ASM", | |
| 692 "SHA512_ASM", | |
| 693 "MD5_ASM", | |
| 694 "DES_PTR", | |
| 695 "DES_RISC1", | |
| 696 "DES_UNROLL", | |
| 697 "OPENSSL_CPUID_OBJ", | |
| 698 ] | |
| 699 } else if (cpu_arch == "arm") { | |
| 700 sources += [ | |
| 701 "openssl/crypto/aes/asm/aes-armv4.S", | |
| 702 "openssl/crypto/bn/asm/armv4-gf2m.S", | |
| 703 "openssl/crypto/bn/asm/armv4-mont.S", | |
| 704 "openssl/crypto/chacha/chacha_vec_arm.S", | |
| 705 "openssl/crypto/modes/asm/ghash-armv4.S", | |
| 706 "openssl/crypto/poly1305/poly1305_arm.c", | |
| 707 "openssl/crypto/poly1305/poly1305_arm_asm.S", | |
| 708 "openssl/crypto/sha/asm/sha1-armv4-large.S", | |
| 709 "openssl/crypto/sha/asm/sha256-armv4.S", | |
| 710 "openssl/crypto/sha/asm/sha512-armv4.S", | |
| 711 ] | |
| 712 sources -= [ "openssl/crypto/aes/aes_core.c" ] | |
| 713 | |
| 714 defines += [ | |
| 715 "OPENSSL_BN_ASM_GF2m", | |
| 716 "OPENSSL_BN_ASM_MONT", | |
| 717 "GHASH_ASM", | |
| 718 "AES_ASM", | |
| 719 "SHA1_ASM", | |
| 720 "SHA256_ASM", | |
| 721 "SHA512_ASM", | |
| 722 ] | |
| 723 } else if (cpu_arch == "mips") { | |
| 724 sources += [ | |
| 725 "openssl/crypto/aes/asm/aes-mips.S", | |
| 726 "openssl/crypto/bn/asm/bn-mips.S", | |
| 727 "openssl/crypto/bn/asm/mips-mont.S", | |
| 728 "openssl/crypto/sha/asm/sha1-mips.S", | |
| 729 "openssl/crypto/sha/asm/sha256-mips.S", | |
| 730 ] | |
| 731 sources -= [ | |
| 732 "openssl/crypto/aes/aes_core.c", | |
| 733 "openssl/crypto/bn/bn_asm.c", | |
| 734 ] | |
| 735 defines += [ | |
| 736 "OPENSSL_BN_ASM_MONT", | |
| 737 "AES_ASM", | |
| 738 "SHA1_ASM", | |
| 739 "SHA256_ASM", | |
| 740 ] | |
| 741 } | |
| 742 | |
| 743 if (is_clang) { | |
| 744 cflags += [ | |
| 745 # OpenSSL has a few |if ((foo == NULL))| checks. | |
| 746 "-Wno-parentheses-equality", | |
| 747 # OpenSSL uses several function-style macros and then ignores the | |
| 748 # returned value. | |
| 749 "-Wno-unused-value", | |
| 750 ] | |
| 751 } else { | |
| 752 cflags += [ | |
|
brettw
2014/04/10 17:45:53
GYP would disable all warnings in this case, but i
| |
| 753 "-Wno-unused-variable", | |
| 754 ] | |
| 755 } | |
| 756 } | |
| OLD | NEW |