# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
  'includes': [
    'common.gypi',
  ],
  'targets': [
    {
      'target_name': 'openssl',
      'type': '<(library)',
      'defines': [
        'L_ENDIAN',
        'PURIFY',
        '_REENTRANT',
        'NO_WINDOWS_BRAINDEATH',
        'OPENSSL_NO_SSL3',
      ],
      'include_dirs': [
        'openssl/openssl',
        'openssl/openssl/crypto',
        'openssl/openssl/crypto/asn1',
        'openssl/openssl/crypto/evp',
        'openssl/openssl/crypto/md2',
        'openssl/openssl/crypto/modes',
        'openssl/openssl/crypto/store',
        'openssl/openssl/include',
      ],
      'direct_dependent_settings': {
        'include_dirs': [
           'openssl/openssl/include',
           'openssl/openssl/include/openssl',
        ]
      },
      'sources': [
        'openssl/openssl/crypto/aes/aes_cfb.c',
        'openssl/openssl/crypto/aes/aes_ctr.c',
        'openssl/openssl/crypto/aes/aes_ecb.c',
        'openssl/openssl/crypto/aes/aes_ige.c',
        'openssl/openssl/crypto/aes/aes_misc.c',
        'openssl/openssl/crypto/aes/aes_ofb.c',
        'openssl/openssl/crypto/aes/aes_wrap.c',
        'openssl/openssl/crypto/asn1/a_bitstr.c',
        'openssl/openssl/crypto/asn1/a_bool.c',
        'openssl/openssl/crypto/asn1/a_bytes.c',
        'openssl/openssl/crypto/asn1/a_d2i_fp.c',
        'openssl/openssl/crypto/asn1/a_digest.c',
        'openssl/openssl/crypto/asn1/a_dup.c',
        'openssl/openssl/crypto/asn1/a_enum.c',
        'openssl/openssl/crypto/asn1/a_gentm.c',
        'openssl/openssl/crypto/asn1/a_i2d_fp.c',
        'openssl/openssl/crypto/asn1/a_int.c',
        'openssl/openssl/crypto/asn1/a_mbstr.c',
        'openssl/openssl/crypto/asn1/a_object.c',
        'openssl/openssl/crypto/asn1/a_octet.c',
        'openssl/openssl/crypto/asn1/a_print.c',
        'openssl/openssl/crypto/asn1/a_set.c',
        'openssl/openssl/crypto/asn1/a_sign.c',
        'openssl/openssl/crypto/asn1/a_strex.c',
        'openssl/openssl/crypto/asn1/a_strnid.c',
        'openssl/openssl/crypto/asn1/a_time.c',
        'openssl/openssl/crypto/asn1/a_type.c',
        'openssl/openssl/crypto/asn1/a_utctm.c',
        'openssl/openssl/crypto/asn1/a_utf8.c',
        'openssl/openssl/crypto/asn1/a_verify.c',
        'openssl/openssl/crypto/asn1/ameth_lib.c',
        'openssl/openssl/crypto/asn1/asn1_err.c',
        'openssl/openssl/crypto/asn1/asn1_gen.c',
        'openssl/openssl/crypto/asn1/asn1_lib.c',
        'openssl/openssl/crypto/asn1/asn1_par.c',
        'openssl/openssl/crypto/asn1/asn_mime.c',
        'openssl/openssl/crypto/asn1/asn_moid.c',
        'openssl/openssl/crypto/asn1/asn_pack.c',
        'openssl/openssl/crypto/asn1/bio_asn1.c',
        'openssl/openssl/crypto/asn1/bio_ndef.c',
        'openssl/openssl/crypto/asn1/d2i_pr.c',
        'openssl/openssl/crypto/asn1/d2i_pu.c',
        'openssl/openssl/crypto/asn1/evp_asn1.c',
        'openssl/openssl/crypto/asn1/f_enum.c',
        'openssl/openssl/crypto/asn1/f_int.c',
        'openssl/openssl/crypto/asn1/f_string.c',
        'openssl/openssl/crypto/asn1/i2d_pr.c',
        'openssl/openssl/crypto/asn1/i2d_pu.c',
        'openssl/openssl/crypto/asn1/n_pkey.c',
        'openssl/openssl/crypto/asn1/nsseq.c',
        'openssl/openssl/crypto/asn1/p5_pbe.c',
        'openssl/openssl/crypto/asn1/p5_pbev2.c',
        'openssl/openssl/crypto/asn1/p8_pkey.c',
        'openssl/openssl/crypto/asn1/t_bitst.c',
        'openssl/openssl/crypto/asn1/t_crl.c',
        'openssl/openssl/crypto/asn1/t_pkey.c',
        'openssl/openssl/crypto/asn1/t_req.c',
        'openssl/openssl/crypto/asn1/t_spki.c',
        'openssl/openssl/crypto/asn1/t_x509.c',
        'openssl/openssl/crypto/asn1/t_x509a.c',
        'openssl/openssl/crypto/asn1/tasn_dec.c',
        'openssl/openssl/crypto/asn1/tasn_enc.c',
        'openssl/openssl/crypto/asn1/tasn_fre.c',
        'openssl/openssl/crypto/asn1/tasn_new.c',
        'openssl/openssl/crypto/asn1/tasn_prn.c',
        'openssl/openssl/crypto/asn1/tasn_typ.c',
        'openssl/openssl/crypto/asn1/tasn_utl.c',
        'openssl/openssl/crypto/asn1/x_algor.c',
        'openssl/openssl/crypto/asn1/x_attrib.c',
        'openssl/openssl/crypto/asn1/x_bignum.c',
        'openssl/openssl/crypto/asn1/x_crl.c',
        'openssl/openssl/crypto/asn1/x_exten.c',
        'openssl/openssl/crypto/asn1/x_info.c',
        'openssl/openssl/crypto/asn1/x_long.c',
        'openssl/openssl/crypto/asn1/x_name.c',
        'openssl/openssl/crypto/asn1/x_nx509.c',
        'openssl/openssl/crypto/asn1/x_pkey.c',
        'openssl/openssl/crypto/asn1/x_pubkey.c',
        'openssl/openssl/crypto/asn1/x_req.c',
        'openssl/openssl/crypto/asn1/x_sig.c',
        'openssl/openssl/crypto/asn1/x_spki.c',
        'openssl/openssl/crypto/asn1/x_val.c',
        'openssl/openssl/crypto/asn1/x_x509.c',
        'openssl/openssl/crypto/asn1/x_x509a.c',
        'openssl/openssl/crypto/bf/bf_cfb64.c',
        'openssl/openssl/crypto/bf/bf_ecb.c',
        'openssl/openssl/crypto/bf/bf_ofb64.c',
        'openssl/openssl/crypto/bf/bf_skey.c',
        'openssl/openssl/crypto/bio/b_dump.c',
        'openssl/openssl/crypto/bio/b_print.c',
        'openssl/openssl/crypto/bio/b_sock.c',
        'openssl/openssl/crypto/bio/bf_buff.c',
        'openssl/openssl/crypto/bio/bf_nbio.c',
        'openssl/openssl/crypto/bio/bf_null.c',
        'openssl/openssl/crypto/bio/bio_cb.c',
        'openssl/openssl/crypto/bio/bio_err.c',
        'openssl/openssl/crypto/bio/bio_lib.c',
        'openssl/openssl/crypto/bio/bss_acpt.c',
        'openssl/openssl/crypto/bio/bss_bio.c',
        'openssl/openssl/crypto/bio/bss_conn.c',
        'openssl/openssl/crypto/bio/bss_dgram.c',
        'openssl/openssl/crypto/bio/bss_fd.c',
        'openssl/openssl/crypto/bio/bss_file.c',
        'openssl/openssl/crypto/bio/bss_log.c',
        'openssl/openssl/crypto/bio/bss_mem.c',
        'openssl/openssl/crypto/bio/bss_null.c',
        'openssl/openssl/crypto/bio/bss_sock.c',
        'openssl/openssl/crypto/bn/bn_add.c',
        'openssl/openssl/crypto/bn/bn_blind.c',
        'openssl/openssl/crypto/bn/bn_const.c',
        'openssl/openssl/crypto/bn/bn_ctx.c',
        'openssl/openssl/crypto/bn/bn_depr.c',
        'openssl/openssl/crypto/bn/bn_div.c',
        'openssl/openssl/crypto/bn/bn_err.c',
        'openssl/openssl/crypto/bn/bn_exp.c',
        'openssl/openssl/crypto/bn/bn_exp2.c',
        'openssl/openssl/crypto/bn/bn_gcd.c',
        'openssl/openssl/crypto/bn/bn_gf2m.c',
        'openssl/openssl/crypto/bn/bn_kron.c',
        'openssl/openssl/crypto/bn/bn_lib.c',
        'openssl/openssl/crypto/bn/bn_mod.c',
        'openssl/openssl/crypto/bn/bn_mont.c',
        'openssl/openssl/crypto/bn/bn_mpi.c',
        'openssl/openssl/crypto/bn/bn_mul.c',
        'openssl/openssl/crypto/bn/bn_nist.c',
        'openssl/openssl/crypto/bn/bn_prime.c',
        'openssl/openssl/crypto/bn/bn_print.c',
        'openssl/openssl/crypto/bn/bn_rand.c',
        'openssl/openssl/crypto/bn/bn_recp.c',
        'openssl/openssl/crypto/bn/bn_shift.c',
        'openssl/openssl/crypto/bn/bn_sqr.c',
        'openssl/openssl/crypto/bn/bn_sqrt.c',
        'openssl/openssl/crypto/bn/bn_word.c',
        'openssl/openssl/crypto/bn/bn_x931p.c',
        'openssl/openssl/crypto/bn/rsaz_exp.c',
        'openssl/openssl/crypto/buffer/buf_err.c',
        'openssl/openssl/crypto/buffer/buf_str.c',
        'openssl/openssl/crypto/buffer/buffer.c',
        'openssl/openssl/crypto/camellia/cmll_cfb.c',
        'openssl/openssl/crypto/camellia/cmll_ctr.c',
        'openssl/openssl/crypto/camellia/cmll_ecb.c',
        'openssl/openssl/crypto/camellia/cmll_ofb.c',
        'openssl/openssl/crypto/camellia/cmll_utl.c',
        'openssl/openssl/crypto/cast/c_cfb64.c',
        'openssl/openssl/crypto/cast/c_ecb.c',
        'openssl/openssl/crypto/cast/c_ofb64.c',
        'openssl/openssl/crypto/cast/c_skey.c',
        'openssl/openssl/crypto/cmac/cm_ameth.c',
        'openssl/openssl/crypto/cmac/cm_pmeth.c',
        'openssl/openssl/crypto/cmac/cmac.c',
        'openssl/openssl/crypto/cms/cms_asn1.c',
        'openssl/openssl/crypto/cms/cms_att.c',
        'openssl/openssl/crypto/cms/cms_cd.c',
        'openssl/openssl/crypto/cms/cms_dd.c',
        'openssl/openssl/crypto/cms/cms_enc.c',
        'openssl/openssl/crypto/cms/cms_env.c',
        'openssl/openssl/crypto/cms/cms_err.c',
        'openssl/openssl/crypto/cms/cms_ess.c',
        'openssl/openssl/crypto/cms/cms_io.c',
        'openssl/openssl/crypto/cms/cms_kari.c',
        'openssl/openssl/crypto/cms/cms_lib.c',
        'openssl/openssl/crypto/cms/cms_pwri.c',
        'openssl/openssl/crypto/cms/cms_sd.c',
        'openssl/openssl/crypto/cms/cms_smime.c',
        'openssl/openssl/crypto/comp/c_rle.c',
        'openssl/openssl/crypto/comp/c_zlib.c',
        'openssl/openssl/crypto/comp/comp_err.c',
        'openssl/openssl/crypto/comp/comp_lib.c',
        'openssl/openssl/crypto/conf/conf_api.c',
        'openssl/openssl/crypto/conf/conf_def.c',
        'openssl/openssl/crypto/conf/conf_err.c',
        'openssl/openssl/crypto/conf/conf_lib.c',
        'openssl/openssl/crypto/conf/conf_mall.c',
        'openssl/openssl/crypto/conf/conf_mod.c',
        'openssl/openssl/crypto/conf/conf_sap.c',
        'openssl/openssl/crypto/cpt_err.c',
        'openssl/openssl/crypto/cryptlib.c',
        'openssl/openssl/crypto/cversion.c',
        'openssl/openssl/crypto/des/cbc_cksm.c',
        'openssl/openssl/crypto/des/cbc_enc.c',
        'openssl/openssl/crypto/des/cfb64ede.c',
        'openssl/openssl/crypto/des/cfb64enc.c',
        'openssl/openssl/crypto/des/cfb_enc.c',
        'openssl/openssl/crypto/des/des_old.c',
        'openssl/openssl/crypto/des/des_old2.c',
        'openssl/openssl/crypto/des/ecb3_enc.c',
        'openssl/openssl/crypto/des/ecb_enc.c',
        'openssl/openssl/crypto/des/ede_cbcm_enc.c',
        'openssl/openssl/crypto/des/enc_read.c',
        'openssl/openssl/crypto/des/enc_writ.c',
        'openssl/openssl/crypto/des/fcrypt.c',
        'openssl/openssl/crypto/des/ofb64ede.c',
        'openssl/openssl/crypto/des/ofb64enc.c',
        'openssl/openssl/crypto/des/ofb_enc.c',
        'openssl/openssl/crypto/des/pcbc_enc.c',
        'openssl/openssl/crypto/des/qud_cksm.c',
        'openssl/openssl/crypto/des/rand_key.c',
        'openssl/openssl/crypto/des/read2pwd.c',
        'openssl/openssl/crypto/des/rpc_enc.c',
        'openssl/openssl/crypto/des/set_key.c',
        'openssl/openssl/crypto/des/str2key.c',
        'openssl/openssl/crypto/des/xcbc_enc.c',
        'openssl/openssl/crypto/dh/dh_ameth.c',
        'openssl/openssl/crypto/dh/dh_asn1.c',
        'openssl/openssl/crypto/dh/dh_check.c',
        'openssl/openssl/crypto/dh/dh_depr.c',
        'openssl/openssl/crypto/dh/dh_err.c',
        'openssl/openssl/crypto/dh/dh_gen.c',
        'openssl/openssl/crypto/dh/dh_kdf.c',
        'openssl/openssl/crypto/dh/dh_key.c',
        'openssl/openssl/crypto/dh/dh_lib.c',
        'openssl/openssl/crypto/dh/dh_pmeth.c',
        'openssl/openssl/crypto/dh/dh_prn.c',
        'openssl/openssl/crypto/dh/dh_rfc5114.c',
        'openssl/openssl/crypto/dsa/dsa_ameth.c',
        'openssl/openssl/crypto/dsa/dsa_asn1.c',
        'openssl/openssl/crypto/dsa/dsa_depr.c',
        'openssl/openssl/crypto/dsa/dsa_err.c',
        'openssl/openssl/crypto/dsa/dsa_gen.c',
        'openssl/openssl/crypto/dsa/dsa_key.c',
        'openssl/openssl/crypto/dsa/dsa_lib.c',
        'openssl/openssl/crypto/dsa/dsa_ossl.c',
        'openssl/openssl/crypto/dsa/dsa_pmeth.c',
        'openssl/openssl/crypto/dsa/dsa_prn.c',
        'openssl/openssl/crypto/dsa/dsa_sign.c',
        'openssl/openssl/crypto/dsa/dsa_vrf.c',
        'openssl/openssl/crypto/dso/dso_beos.c',
        'openssl/openssl/crypto/dso/dso_dl.c',
        'openssl/openssl/crypto/dso/dso_dlfcn.c',
        'openssl/openssl/crypto/dso/dso_err.c',
        'openssl/openssl/crypto/dso/dso_lib.c',
        'openssl/openssl/crypto/dso/dso_null.c',
        'openssl/openssl/crypto/dso/dso_openssl.c',
        'openssl/openssl/crypto/dso/dso_vms.c',
        'openssl/openssl/crypto/dso/dso_win32.c',
        'openssl/openssl/crypto/ebcdic.c',
        'openssl/openssl/crypto/ec/ec2_mult.c',
        'openssl/openssl/crypto/ec/ec2_oct.c',
        'openssl/openssl/crypto/ec/ec2_smpl.c',
        'openssl/openssl/crypto/ec/ec_ameth.c',
        'openssl/openssl/crypto/ec/ec_asn1.c',
        'openssl/openssl/crypto/ec/ec_check.c',
        'openssl/openssl/crypto/ec/ec_curve.c',
        'openssl/openssl/crypto/ec/ec_cvt.c',
        'openssl/openssl/crypto/ec/ec_err.c',
        'openssl/openssl/crypto/ec/ec_key.c',
        'openssl/openssl/crypto/ec/ec_lib.c',
        'openssl/openssl/crypto/ec/ec_mult.c',
        'openssl/openssl/crypto/ec/ec_oct.c',
        'openssl/openssl/crypto/ec/ec_pmeth.c',
        'openssl/openssl/crypto/ec/ec_print.c',
        'openssl/openssl/crypto/ec/eck_prn.c',
        'openssl/openssl/crypto/ec/ecp_mont.c',
        'openssl/openssl/crypto/ec/ecp_nist.c',
        'openssl/openssl/crypto/ec/ecp_nistp224.c',
        'openssl/openssl/crypto/ec/ecp_nistp256.c',
        'openssl/openssl/crypto/ec/ecp_nistp521.c',
        'openssl/openssl/crypto/ec/ecp_nistputil.c',
        'openssl/openssl/crypto/ec/ecp_nistz256.c',
        'openssl/openssl/crypto/ec/ecp_oct.c',
        'openssl/openssl/crypto/ec/ecp_smpl.c',
        'openssl/openssl/crypto/ecdh/ech_err.c',
        'openssl/openssl/crypto/ecdh/ech_kdf.c',
        'openssl/openssl/crypto/ecdh/ech_key.c',
        'openssl/openssl/crypto/ecdh/ech_lib.c',
        'openssl/openssl/crypto/ecdh/ech_ossl.c',
        'openssl/openssl/crypto/ecdsa/ecs_asn1.c',
        'openssl/openssl/crypto/ecdsa/ecs_err.c',
        'openssl/openssl/crypto/ecdsa/ecs_lib.c',
        'openssl/openssl/crypto/ecdsa/ecs_ossl.c',
        'openssl/openssl/crypto/ecdsa/ecs_sign.c',
        'openssl/openssl/crypto/ecdsa/ecs_vrf.c',
        'openssl/openssl/crypto/engine/eng_all.c',
        'openssl/openssl/crypto/engine/eng_cnf.c',
        'openssl/openssl/crypto/engine/eng_cryptodev.c',
        'openssl/openssl/crypto/engine/eng_ctrl.c',
        'openssl/openssl/crypto/engine/eng_dyn.c',
        'openssl/openssl/crypto/engine/eng_err.c',
        'openssl/openssl/crypto/engine/eng_fat.c',
        'openssl/openssl/crypto/engine/eng_init.c',
        'openssl/openssl/crypto/engine/eng_lib.c',
        'openssl/openssl/crypto/engine/eng_list.c',
        'openssl/openssl/crypto/engine/eng_openssl.c',
        'openssl/openssl/crypto/engine/eng_pkey.c',
        'openssl/openssl/crypto/engine/eng_rdrand.c',
        'openssl/openssl/crypto/engine/eng_table.c',
        'openssl/openssl/crypto/engine/tb_asnmth.c',
        'openssl/openssl/crypto/engine/tb_cipher.c',
        'openssl/openssl/crypto/engine/tb_dh.c',
        'openssl/openssl/crypto/engine/tb_digest.c',
        'openssl/openssl/crypto/engine/tb_dsa.c',
        'openssl/openssl/crypto/engine/tb_ecdh.c',
        'openssl/openssl/crypto/engine/tb_ecdsa.c',
        'openssl/openssl/crypto/engine/tb_pkmeth.c',
        'openssl/openssl/crypto/engine/tb_rand.c',
        'openssl/openssl/crypto/engine/tb_rsa.c',
        'openssl/openssl/crypto/engine/tb_store.c',
        'openssl/openssl/crypto/err/err.c',
        'openssl/openssl/crypto/err/err_all.c',
        'openssl/openssl/crypto/err/err_prn.c',
        'openssl/openssl/crypto/evp/bio_b64.c',
        'openssl/openssl/crypto/evp/bio_enc.c',
        'openssl/openssl/crypto/evp/bio_md.c',
        'openssl/openssl/crypto/evp/bio_ok.c',
        'openssl/openssl/crypto/evp/c_all.c',
        'openssl/openssl/crypto/evp/c_allc.c',
        'openssl/openssl/crypto/evp/c_alld.c',
        'openssl/openssl/crypto/evp/digest.c',
        'openssl/openssl/crypto/evp/e_aes.c',
        'openssl/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c',
        'openssl/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c',
        'openssl/openssl/crypto/evp/e_bf.c',
        'openssl/openssl/crypto/evp/e_camellia.c',
        'openssl/openssl/crypto/evp/e_cast.c',
        'openssl/openssl/crypto/evp/e_des.c',
        'openssl/openssl/crypto/evp/e_des3.c',
        'openssl/openssl/crypto/evp/e_idea.c',
        'openssl/openssl/crypto/evp/e_null.c',
        'openssl/openssl/crypto/evp/e_old.c',
        'openssl/openssl/crypto/evp/e_rc2.c',
        'openssl/openssl/crypto/evp/e_rc4.c',
        'openssl/openssl/crypto/evp/e_rc4_hmac_md5.c',
        'openssl/openssl/crypto/evp/e_rc5.c',
        'openssl/openssl/crypto/evp/e_seed.c',
        'openssl/openssl/crypto/evp/e_xcbc_d.c',
        'openssl/openssl/crypto/evp/encode.c',
        'openssl/openssl/crypto/evp/evp_acnf.c',
        'openssl/openssl/crypto/evp/evp_cnf.c',
        'openssl/openssl/crypto/evp/evp_enc.c',
        'openssl/openssl/crypto/evp/evp_err.c',
        'openssl/openssl/crypto/evp/evp_key.c',
        'openssl/openssl/crypto/evp/evp_lib.c',
        'openssl/openssl/crypto/evp/evp_pbe.c',
        'openssl/openssl/crypto/evp/evp_pkey.c',
        'openssl/openssl/crypto/evp/m_dss.c',
        'openssl/openssl/crypto/evp/m_dss1.c',
        'openssl/openssl/crypto/evp/m_ecdsa.c',
        'openssl/openssl/crypto/evp/m_md2.c',
        'openssl/openssl/crypto/evp/m_md4.c',
        'openssl/openssl/crypto/evp/m_md5.c',
        'openssl/openssl/crypto/evp/m_mdc2.c',
        'openssl/openssl/crypto/evp/m_null.c',
        'openssl/openssl/crypto/evp/m_ripemd.c',
        'openssl/openssl/crypto/evp/m_sha.c',
        'openssl/openssl/crypto/evp/m_sha1.c',
        'openssl/openssl/crypto/evp/m_sigver.c',
        'openssl/openssl/crypto/evp/m_wp.c',
        'openssl/openssl/crypto/evp/names.c',
        'openssl/openssl/crypto/evp/p5_crpt.c',
        'openssl/openssl/crypto/evp/p5_crpt2.c',
        'openssl/openssl/crypto/evp/p_dec.c',
        'openssl/openssl/crypto/evp/p_enc.c',
        'openssl/openssl/crypto/evp/p_lib.c',
        'openssl/openssl/crypto/evp/p_open.c',
        'openssl/openssl/crypto/evp/p_seal.c',
        'openssl/openssl/crypto/evp/p_sign.c',
        'openssl/openssl/crypto/evp/p_verify.c',
        'openssl/openssl/crypto/evp/pmeth_fn.c',
        'openssl/openssl/crypto/evp/pmeth_gn.c',
        'openssl/openssl/crypto/evp/pmeth_lib.c',
        'openssl/openssl/crypto/ex_data.c',
        'openssl/openssl/crypto/fips_ers.c',
        'openssl/openssl/crypto/hmac/hm_ameth.c',
        'openssl/openssl/crypto/hmac/hm_pmeth.c',
        'openssl/openssl/crypto/hmac/hmac.c',
        'openssl/openssl/crypto/idea/i_cbc.c',
        'openssl/openssl/crypto/idea/i_cfb64.c',
        'openssl/openssl/crypto/idea/i_ecb.c',
        'openssl/openssl/crypto/idea/i_ofb64.c',
        'openssl/openssl/crypto/idea/i_skey.c',
        'openssl/openssl/crypto/krb5/krb5_asn.c',
        'openssl/openssl/crypto/lhash/lh_stats.c',
        'openssl/openssl/crypto/lhash/lhash.c',
        'openssl/openssl/crypto/md2/md2_dgst.c',
        'openssl/openssl/crypto/md2/md2_one.c',
        'openssl/openssl/crypto/md4/md4_dgst.c',
        'openssl/openssl/crypto/md4/md4_one.c',
        'openssl/openssl/crypto/md5/md5_dgst.c',
        'openssl/openssl/crypto/md5/md5_one.c',
        'openssl/openssl/crypto/mdc2/mdc2_one.c',
        'openssl/openssl/crypto/mdc2/mdc2dgst.c',
        'openssl/openssl/crypto/mem.c',
        'openssl/openssl/crypto/mem_dbg.c',
        'openssl/openssl/crypto/modes/cbc128.c',
        'openssl/openssl/crypto/modes/ccm128.c',
        'openssl/openssl/crypto/modes/cfb128.c',
        'openssl/openssl/crypto/modes/ctr128.c',
        'openssl/openssl/crypto/modes/cts128.c',
        'openssl/openssl/crypto/modes/gcm128.c',
        'openssl/openssl/crypto/modes/ofb128.c',
        'openssl/openssl/crypto/modes/wrap128.c',
        'openssl/openssl/crypto/modes/xts128.c',
        'openssl/openssl/crypto/o_dir.c',
        'openssl/openssl/crypto/o_fips.c',
        'openssl/openssl/crypto/o_init.c',
        'openssl/openssl/crypto/o_str.c',
        'openssl/openssl/crypto/o_time.c',
        'openssl/openssl/crypto/objects/o_names.c',
        'openssl/openssl/crypto/objects/obj_dat.c',
        'openssl/openssl/crypto/objects/obj_err.c',
        'openssl/openssl/crypto/objects/obj_lib.c',
        'openssl/openssl/crypto/objects/obj_xref.c',
        'openssl/openssl/crypto/ocsp/ocsp_asn.c',
        'openssl/openssl/crypto/ocsp/ocsp_cl.c',
        'openssl/openssl/crypto/ocsp/ocsp_err.c',
        'openssl/openssl/crypto/ocsp/ocsp_ext.c',
        'openssl/openssl/crypto/ocsp/ocsp_ht.c',
        'openssl/openssl/crypto/ocsp/ocsp_lib.c',
        'openssl/openssl/crypto/ocsp/ocsp_prn.c',
        'openssl/openssl/crypto/ocsp/ocsp_srv.c',
        'openssl/openssl/crypto/ocsp/ocsp_vfy.c',
        'openssl/openssl/crypto/pem/pem_all.c',
        'openssl/openssl/crypto/pem/pem_err.c',
        'openssl/openssl/crypto/pem/pem_info.c',
        'openssl/openssl/crypto/pem/pem_lib.c',
        'openssl/openssl/crypto/pem/pem_oth.c',
        'openssl/openssl/crypto/pem/pem_pk8.c',
        'openssl/openssl/crypto/pem/pem_pkey.c',
        'openssl/openssl/crypto/pem/pem_seal.c',
        'openssl/openssl/crypto/pem/pem_sign.c',
        'openssl/openssl/crypto/pem/pem_x509.c',
        'openssl/openssl/crypto/pem/pem_xaux.c',
        'openssl/openssl/crypto/pem/pvkfmt.c',
        'openssl/openssl/crypto/pkcs12/p12_add.c',
        'openssl/openssl/crypto/pkcs12/p12_asn.c',
        'openssl/openssl/crypto/pkcs12/p12_attr.c',
        'openssl/openssl/crypto/pkcs12/p12_crpt.c',
        'openssl/openssl/crypto/pkcs12/p12_crt.c',
        'openssl/openssl/crypto/pkcs12/p12_decr.c',
        'openssl/openssl/crypto/pkcs12/p12_init.c',
        'openssl/openssl/crypto/pkcs12/p12_key.c',
        'openssl/openssl/crypto/pkcs12/p12_kiss.c',
        'openssl/openssl/crypto/pkcs12/p12_mutl.c',
        'openssl/openssl/crypto/pkcs12/p12_npas.c',
        'openssl/openssl/crypto/pkcs12/p12_p8d.c',
        'openssl/openssl/crypto/pkcs12/p12_p8e.c',
        'openssl/openssl/crypto/pkcs12/p12_utl.c',
        'openssl/openssl/crypto/pkcs12/pk12err.c',
        'openssl/openssl/crypto/pkcs7/bio_pk7.c',
        'openssl/openssl/crypto/pkcs7/pk7_asn1.c',
        'openssl/openssl/crypto/pkcs7/pk7_attr.c',
        'openssl/openssl/crypto/pkcs7/pk7_doit.c',
        'openssl/openssl/crypto/pkcs7/pk7_lib.c',
        'openssl/openssl/crypto/pkcs7/pk7_mime.c',
        'openssl/openssl/crypto/pkcs7/pk7_smime.c',
        'openssl/openssl/crypto/pkcs7/pkcs7err.c',
        'openssl/openssl/crypto/pqueue/pqueue.c',
        'openssl/openssl/crypto/rand/md_rand.c',
        'openssl/openssl/crypto/rand/rand_egd.c',
        'openssl/openssl/crypto/rand/rand_err.c',
        'openssl/openssl/crypto/rand/rand_lib.c',
        'openssl/openssl/crypto/rand/rand_nw.c',
        'openssl/openssl/crypto/rand/rand_os2.c',
        'openssl/openssl/crypto/rand/rand_unix.c',
        'openssl/openssl/crypto/rand/rand_win.c',
        'openssl/openssl/crypto/rand/randfile.c',
        'openssl/openssl/crypto/rc2/rc2_cbc.c',
        'openssl/openssl/crypto/rc2/rc2_ecb.c',
        'openssl/openssl/crypto/rc2/rc2_skey.c',
        'openssl/openssl/crypto/rc2/rc2cfb64.c',
        'openssl/openssl/crypto/rc2/rc2ofb64.c',
        'openssl/openssl/crypto/rc4/rc4_utl.c',
        'openssl/openssl/crypto/ripemd/rmd_dgst.c',
        'openssl/openssl/crypto/ripemd/rmd_one.c',
        'openssl/openssl/crypto/rsa/rsa_ameth.c',
        'openssl/openssl/crypto/rsa/rsa_asn1.c',
        'openssl/openssl/crypto/rsa/rsa_chk.c',
        'openssl/openssl/crypto/rsa/rsa_crpt.c',
        'openssl/openssl/crypto/rsa/rsa_depr.c',
        'openssl/openssl/crypto/rsa/rsa_eay.c',
        'openssl/openssl/crypto/rsa/rsa_err.c',
        'openssl/openssl/crypto/rsa/rsa_gen.c',
        'openssl/openssl/crypto/rsa/rsa_lib.c',
        'openssl/openssl/crypto/rsa/rsa_none.c',
        'openssl/openssl/crypto/rsa/rsa_null.c',
        'openssl/openssl/crypto/rsa/rsa_oaep.c',
        'openssl/openssl/crypto/rsa/rsa_pk1.c',
        'openssl/openssl/crypto/rsa/rsa_pmeth.c',
        'openssl/openssl/crypto/rsa/rsa_prn.c',
        'openssl/openssl/crypto/rsa/rsa_pss.c',
        'openssl/openssl/crypto/rsa/rsa_saos.c',
        'openssl/openssl/crypto/rsa/rsa_sign.c',
        'openssl/openssl/crypto/rsa/rsa_ssl.c',
        'openssl/openssl/crypto/rsa/rsa_x931.c',
        'openssl/openssl/crypto/seed/seed.c',
        'openssl/openssl/crypto/seed/seed_cbc.c',
        'openssl/openssl/crypto/seed/seed_cfb.c',
        'openssl/openssl/crypto/seed/seed_ecb.c',
        'openssl/openssl/crypto/seed/seed_ofb.c',
        'openssl/openssl/crypto/sha/sha1_one.c',
        'openssl/openssl/crypto/sha/sha1dgst.c',
        'openssl/openssl/crypto/sha/sha256.c',
        'openssl/openssl/crypto/sha/sha512.c',
        'openssl/openssl/crypto/sha/sha_dgst.c',
        'openssl/openssl/crypto/sha/sha_one.c',
        'openssl/openssl/crypto/srp/srp_lib.c',
        'openssl/openssl/crypto/srp/srp_vfy.c',
        'openssl/openssl/crypto/stack/stack.c',
        'openssl/openssl/crypto/store/str_err.c',
        'openssl/openssl/crypto/store/str_lib.c',
        'openssl/openssl/crypto/store/str_mem.c',
        'openssl/openssl/crypto/store/str_meth.c',
        'openssl/openssl/crypto/ts/ts_asn1.c',
        'openssl/openssl/crypto/ts/ts_conf.c',
        'openssl/openssl/crypto/ts/ts_err.c',
        'openssl/openssl/crypto/ts/ts_lib.c',
        'openssl/openssl/crypto/ts/ts_req_print.c',
        'openssl/openssl/crypto/ts/ts_req_utils.c',
        'openssl/openssl/crypto/ts/ts_rsp_print.c',
        'openssl/openssl/crypto/ts/ts_rsp_sign.c',
        'openssl/openssl/crypto/ts/ts_rsp_utils.c',
        'openssl/openssl/crypto/ts/ts_rsp_verify.c',
        'openssl/openssl/crypto/ts/ts_verify_ctx.c',
        'openssl/openssl/crypto/txt_db/txt_db.c',
        'openssl/openssl/crypto/ui/ui_compat.c',
        'openssl/openssl/crypto/ui/ui_err.c',
        'openssl/openssl/crypto/ui/ui_lib.c',
        'openssl/openssl/crypto/ui/ui_openssl.c',
        'openssl/openssl/crypto/ui/ui_util.c',
        'openssl/openssl/crypto/uid.c',
        'openssl/openssl/crypto/whrlpool/wp_dgst.c',
        'openssl/openssl/crypto/x509/by_dir.c',
        'openssl/openssl/crypto/x509/by_file.c',
        'openssl/openssl/crypto/x509/x509_att.c',
        'openssl/openssl/crypto/x509/x509_cmp.c',
        'openssl/openssl/crypto/x509/x509_d2.c',
        'openssl/openssl/crypto/x509/x509_def.c',
        'openssl/openssl/crypto/x509/x509_err.c',
        'openssl/openssl/crypto/x509/x509_ext.c',
        'openssl/openssl/crypto/x509/x509_lu.c',
        'openssl/openssl/crypto/x509/x509_obj.c',
        'openssl/openssl/crypto/x509/x509_r2x.c',
        'openssl/openssl/crypto/x509/x509_req.c',
        'openssl/openssl/crypto/x509/x509_set.c',
        'openssl/openssl/crypto/x509/x509_trs.c',
        'openssl/openssl/crypto/x509/x509_txt.c',
        'openssl/openssl/crypto/x509/x509_v3.c',
        'openssl/openssl/crypto/x509/x509_vfy.c',
        'openssl/openssl/crypto/x509/x509_vpm.c',
        'openssl/openssl/crypto/x509/x509cset.c',
        'openssl/openssl/crypto/x509/x509name.c',
        'openssl/openssl/crypto/x509/x509rset.c',
        'openssl/openssl/crypto/x509/x509spki.c',
        'openssl/openssl/crypto/x509/x509type.c',
        'openssl/openssl/crypto/x509/x_all.c',
        'openssl/openssl/crypto/x509v3/pcy_cache.c',
        'openssl/openssl/crypto/x509v3/pcy_data.c',
        'openssl/openssl/crypto/x509v3/pcy_lib.c',
        'openssl/openssl/crypto/x509v3/pcy_map.c',
        'openssl/openssl/crypto/x509v3/pcy_node.c',
        'openssl/openssl/crypto/x509v3/pcy_tree.c',
        'openssl/openssl/crypto/x509v3/v3_addr.c',
        'openssl/openssl/crypto/x509v3/v3_akey.c',
        'openssl/openssl/crypto/x509v3/v3_akeya.c',
        'openssl/openssl/crypto/x509v3/v3_alt.c',
        'openssl/openssl/crypto/x509v3/v3_asid.c',
        'openssl/openssl/crypto/x509v3/v3_bcons.c',
        'openssl/openssl/crypto/x509v3/v3_bitst.c',
        'openssl/openssl/crypto/x509v3/v3_conf.c',
        'openssl/openssl/crypto/x509v3/v3_cpols.c',
        'openssl/openssl/crypto/x509v3/v3_crld.c',
        'openssl/openssl/crypto/x509v3/v3_enum.c',
        'openssl/openssl/crypto/x509v3/v3_extku.c',
        'openssl/openssl/crypto/x509v3/v3_genn.c',
        'openssl/openssl/crypto/x509v3/v3_ia5.c',
        'openssl/openssl/crypto/x509v3/v3_info.c',
        'openssl/openssl/crypto/x509v3/v3_int.c',
        'openssl/openssl/crypto/x509v3/v3_lib.c',
        'openssl/openssl/crypto/x509v3/v3_ncons.c',
        'openssl/openssl/crypto/x509v3/v3_ocsp.c',
        'openssl/openssl/crypto/x509v3/v3_pci.c',
        'openssl/openssl/crypto/x509v3/v3_pcia.c',
        'openssl/openssl/crypto/x509v3/v3_pcons.c',
        'openssl/openssl/crypto/x509v3/v3_pku.c',
        'openssl/openssl/crypto/x509v3/v3_pmaps.c',
        'openssl/openssl/crypto/x509v3/v3_prn.c',
        'openssl/openssl/crypto/x509v3/v3_purp.c',
        'openssl/openssl/crypto/x509v3/v3_scts.c',
        'openssl/openssl/crypto/x509v3/v3_skey.c',
        'openssl/openssl/crypto/x509v3/v3_sxnet.c',
        'openssl/openssl/crypto/x509v3/v3_utl.c',
        'openssl/openssl/crypto/x509v3/v3err.c',
        'openssl/openssl/crypto/x509v3/v3nametest.c',
        'openssl/openssl/engines/e_4758cca.c',
        'openssl/openssl/engines/e_aep.c',
        'openssl/openssl/engines/e_atalla.c',
        'openssl/openssl/engines/e_capi.c',
        'openssl/openssl/engines/e_chil.c',
        'openssl/openssl/engines/e_cswift.c',
        'openssl/openssl/engines/e_gmp.c',
        'openssl/openssl/engines/e_nuron.c',
        'openssl/openssl/engines/e_sureware.c',
        'openssl/openssl/engines/e_ubsec.c',
        'openssl/openssl/ssl/bio_ssl.c',
        'openssl/openssl/ssl/d1_both.c',
        'openssl/openssl/ssl/d1_clnt.c',
        'openssl/openssl/ssl/d1_lib.c',
        'openssl/openssl/ssl/d1_meth.c',
        'openssl/openssl/ssl/d1_pkt.c',
        'openssl/openssl/ssl/d1_srtp.c',
        'openssl/openssl/ssl/d1_srvr.c',
        'openssl/openssl/ssl/kssl.c',
        'openssl/openssl/ssl/s23_clnt.c',
        'openssl/openssl/ssl/s23_lib.c',
        'openssl/openssl/ssl/s23_meth.c',
        'openssl/openssl/ssl/s23_pkt.c',
        'openssl/openssl/ssl/s23_srvr.c',
        'openssl/openssl/ssl/s2_clnt.c',
        'openssl/openssl/ssl/s2_enc.c',
        'openssl/openssl/ssl/s2_lib.c',
        'openssl/openssl/ssl/s2_meth.c',
        'openssl/openssl/ssl/s2_pkt.c',
        'openssl/openssl/ssl/s2_srvr.c',
        'openssl/openssl/ssl/s3_both.c',
        'openssl/openssl/ssl/s3_cbc.c',
        'openssl/openssl/ssl/s3_clnt.c',
        'openssl/openssl/ssl/s3_enc.c',
        'openssl/openssl/ssl/s3_lib.c',
        'openssl/openssl/ssl/s3_meth.c',
        'openssl/openssl/ssl/s3_pkt.c',
        'openssl/openssl/ssl/s3_srvr.c',
        'openssl/openssl/ssl/ssl_algs.c',
        'openssl/openssl/ssl/ssl_asn1.c',
        'openssl/openssl/ssl/ssl_cert.c',
        'openssl/openssl/ssl/ssl_ciph.c',
        'openssl/openssl/ssl/ssl_conf.c',
        'openssl/openssl/ssl/ssl_err.c',
        'openssl/openssl/ssl/ssl_err2.c',
        'openssl/openssl/ssl/ssl_lib.c',
        'openssl/openssl/ssl/ssl_rsa.c',
        'openssl/openssl/ssl/ssl_sess.c',
        'openssl/openssl/ssl/ssl_stat.c',
        'openssl/openssl/ssl/ssl_txt.c',
        'openssl/openssl/ssl/t1_clnt.c',
        'openssl/openssl/ssl/t1_enc.c',
        'openssl/openssl/ssl/t1_ext.c',
        'openssl/openssl/ssl/t1_lib.c',
        'openssl/openssl/ssl/t1_meth.c',
        'openssl/openssl/ssl/t1_reneg.c',
        'openssl/openssl/ssl/t1_srvr.c',
        'openssl/openssl/ssl/t1_trce.c',
        'openssl/openssl/ssl/tls_srp.c',
      ],
      'sources/': [
        ['exclude', 'md2/.*$'],
        ['exclude', 'store/.*$']
      ],
      'conditions': [
        ['openssl_enable_asm!=1', {
           'defines': [
            'OPENSSL_NO_ASM'
           ],
           'sources': [
            'openssl/openssl/crypto/aes/aes_cbc.c',
            'openssl/openssl/crypto/aes/aes_core.c',
            'openssl/openssl/crypto/bf/bf_enc.c',
            'openssl/openssl/crypto/bn/bn_asm.c',
            'openssl/openssl/crypto/cast/c_enc.c',
            'openssl/openssl/crypto/camellia/camellia.c',
            'openssl/openssl/crypto/camellia/cmll_cbc.c',
            'openssl/openssl/crypto/camellia/cmll_misc.c',
            'openssl/openssl/crypto/des/des_enc.c',
            'openssl/openssl/crypto/des/fcrypt_b.c',
            'openssl/openssl/crypto/mem_clr.c',
            'openssl/openssl/crypto/rc4/rc4_enc.c',
            'openssl/openssl/crypto/rc4/rc4_skey.c',
            'openssl/openssl/crypto/whrlpool/wp_block.c'
           ]
        }, {
            'defines': [
            'AES_ASM',
            'BF_ASM',
            'BNCO_ASM',
            'BN_ASM',
            'CPUID_ASM',
            'DES_ASM',
            'LIB_BN_ASM',
            'OPENSSL_BN_ASM',
            'OPENSSL_CPUID_OBJ',
            'RIP_ASM',
            'WHIRLPOOL_ASM',
            'WP_ASM'
          ],
            'conditions': [
            ['OS!="win" and OS!="mac" and target_arch=="ia32"', {
                  'sources': [
                'asm/x86-elf-gas/aes/aes-586.s',
                'asm/x86-elf-gas/aes/aesni-x86.s',
                'asm/x86-elf-gas/bf/bf-686.s',
                'asm/x86-elf-gas/bn/x86-mont.s',
                'asm/x86-elf-gas/bn/x86.s',
                'asm/x86-elf-gas/camellia/cmll-x86.s',
                'asm/x86-elf-gas/cast/cast-586.s',
                'asm/x86-elf-gas/des/crypt586.s',
                'asm/x86-elf-gas/des/des-586.s',
                'asm/x86-elf-gas/md5/md5-586.s',
                'asm/x86-elf-gas/rc4/rc4-586.s',
                'asm/x86-elf-gas/rc5/rc5-586.s',
                'asm/x86-elf-gas/ripemd/rmd-586.s',
                'asm/x86-elf-gas/sha/sha1-586.s',
                'asm/x86-elf-gas/sha/sha256-586.s',
                'asm/x86-elf-gas/sha/sha512-586.s',
                'asm/x86-elf-gas/whrlpool/wp-mmx.s',
                'asm/x86-elf-gas/x86cpuid.s',
                'openssl/openssl/crypto/whrlpool/wp_block.c'
              ]
            }],
            ['OS!="win" and OS!="mac" and target_arch=="x64"',
                {
                  'sources': [
                'asm/x64-elf-gas/aes/aes-x86_64.s',
                'asm/x64-elf-gas/aes/aesni-x86_64.s',
                'asm/x64-elf-gas/aes/aesni-sha1-x86_64.s',
                'asm/x64-elf-gas/bn/modexp512-x86_64.s',
                'asm/x64-elf-gas/bn/x86_64-mont.s',
                'asm/x64-elf-gas/camellia/cmll-x86_64.s',
                'asm/x64-elf-gas/md5/md5-x86_64.s',
                'asm/x64-elf-gas/rc4/rc4-x86_64.s',
                'asm/x64-elf-gas/rc4/rc4-md5-x86_64.s',
                'asm/x64-elf-gas/sha/sha1-x86_64.s',
                'asm/x64-elf-gas/sha/sha512-x86_64.s',
                'asm/x64-elf-gas/whrlpool/wp-x86_64.s',
                'asm/x64-elf-gas/x86_64cpuid.s',
                #Non - generated asm
                'openssl/openssl/crypto/bn/asm/x86_64-gcc.c',
                #No asm available
                'openssl/openssl/crypto/bf/bf_enc.c',
                'openssl/openssl/crypto/cast/c_enc.c',
                'openssl/openssl/crypto/camellia/cmll_misc.c',
                'openssl/openssl/crypto/des/des_enc.c',
                'openssl/openssl/crypto/des/fcrypt_b.c'
              ]
            }],
            ['OS=="mac" and target_arch=="ia32"', {
                  'sources': [
                'asm/x86-macosx-gas/aes/aes-586.s',
                'asm/x86-macosx-gas/aes/aesni-x86.s',
                'asm/x86-macosx-gas/bf/bf-686.s',
                'asm/x86-macosx-gas/bn/x86-mont.s',
                'asm/x86-macosx-gas/bn/x86.s',
                'asm/x86-macosx-gas/camellia/cmll-x86.s',
                'asm/x86-macosx-gas/cast/cast-586.s',
                'asm/x86-macosx-gas/des/crypt586.s',
                'asm/x86-macosx-gas/des/des-586.s',
                'asm/x86-macosx-gas/md5/md5-586.s',
                'asm/x86-macosx-gas/rc4/rc4-586.s',
                'asm/x86-macosx-gas/rc5/rc5-586.s',
                'asm/x86-macosx-gas/ripemd/rmd-586.s',
                'asm/x86-macosx-gas/sha/sha1-586.s',
                'asm/x86-macosx-gas/sha/sha256-586.s',
                'asm/x86-macosx-gas/sha/sha512-586.s',
                'asm/x86-macosx-gas/whrlpool/wp-mmx.s',
                'asm/x86-macosx-gas/x86cpuid.s',
                'openssl/openssl/crypto/whrlpool/wp_block.c'
              ]
            }],
            ['OS=="mac" and target_arch=="x64"', {
                  'sources': [
                'asm/x64-macosx-gas/aes/aes-x86_64.s',
                'asm/x64-macosx-gas/aes/aesni-x86_64.s',
                'asm/x64-macosx-gas/aes/aesni-sha1-x86_64.s',
                'asm/x64-macosx-gas/bn/modexp512-x86_64.s',
                'asm/x64-macosx-gas/bn/x86_64-mont.s',
                'asm/x64-macosx-gas/camellia/cmll-x86_64.s',
                'asm/x64-macosx-gas/md5/md5-x86_64.s',
                'asm/x64-macosx-gas/rc4/rc4-x86_64.s',
                'asm/x64-macosx-gas/rc4/rc4-md5-x86_64.s',
                'asm/x64-macosx-gas/sha/sha1-x86_64.s',
                'asm/x64-macosx-gas/sha/sha512-x86_64.s',
                'asm/x64-macosx-gas/whrlpool/wp-x86_64.s',
                'asm/x64-macosx-gas/x86_64cpuid.s',
                #Non - generated asm
                'openssl/openssl/crypto/bn/asm/x86_64-gcc.c',
                #No asm available
                'openssl/openssl/crypto/bf/bf_enc.c',
                'openssl/openssl/crypto/cast/c_enc.c',
                'openssl/openssl/crypto/camellia/cmll_misc.c',
                'openssl/openssl/crypto/des/des_enc.c',
                'openssl/openssl/crypto/des/fcrypt_b.c'
              ]
            }],
            ['OS=="win" and target_arch=="ia32"', {
                  'sources': [
                'asm/x86-win32-masm/aes/aes-586.asm',
                'asm/x86-win32-masm/aes/aesni-x86.asm',
                'asm/x86-win32-masm/bf/bf-686.asm',
                'asm/x86-win32-masm/bn/x86-mont.asm',
                'asm/x86-win32-masm/bn/x86.asm',
                'asm/x86-win32-masm/camellia/cmll-x86.asm',
                'asm/x86-win32-masm/cast/cast-586.asm',
                'asm/x86-win32-masm/des/crypt586.asm',
                'asm/x86-win32-masm/des/des-586.asm',
                'asm/x86-win32-masm/md5/md5-586.asm',
                'asm/x86-win32-masm/rc4/rc4-586.asm',
                'asm/x86-win32-masm/rc5/rc5-586.asm',
                'asm/x86-win32-masm/ripemd/rmd-586.asm',
                'asm/x86-win32-masm/sha/sha1-586.asm',
                'asm/x86-win32-masm/sha/sha256-586.asm',
                'asm/x86-win32-masm/sha/sha512-586.asm',
                'asm/x86-win32-masm/whrlpool/wp-mmx.asm',
                'asm/x86-win32-masm/x86cpuid.asm',
                'openssl/openssl/crypto/whrlpool/wp_block.c'
              ],
                  'rules': [
                    {
                      'rule_name': 'Assemble',
                      'extension': 'asm',
                      'inputs': [],
                      'outputs': [
                    '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj',
                  ],
                      'action': [
                    'ml.exe',
                    '/Zi',
                    '/safeseh',
                    '/Fo', '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj',
                    '/c', '<(RULE_INPUT_PATH)',
                  ],
                      'process_outputs_as_sources': 0,
                      'message': 'Assembling <(RULE_INPUT_PATH) to <(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj.',
                }
              ]
            }],
            ['OS=="win" and target_arch=="x64"',
                {
                  'sources': [
                'asm/x64-win32-masm/aes/aes-x86_64.asm',
                'asm/x64-win32-masm/aes/aesni-x86_64.asm',
                'asm/x64-win32-masm/aes/aesni-sha1-x86_64.asm',
                'asm/x64-win32-masm/bn/modexp512-x86_64.asm',
                'asm/x64-win32-masm/bn/x86_64-mont.asm',
                'asm/x64-win32-masm/camellia/cmll-x86_64.asm',
                'asm/x64-win32-masm/md5/md5-x86_64.asm',
                'asm/x64-win32-masm/rc4/rc4-x86_64.asm',
                'asm/x64-win32-masm/rc4/rc4-md5-x86_64.asm',
                'asm/x64-win32-masm/sha/sha1-x86_64.asm',
                'asm/x64-win32-masm/sha/sha512-x86_64.asm',
                'asm/x64-win32-masm/whrlpool/wp-x86_64.asm',
                'asm/x64-win32-masm/x86_64cpuid.asm',
                #Non - generated asm
                'openssl/openssl/crypto/bn/asm/x86_64-win32-masm.asm',
                #No asm available
                'openssl/openssl/crypto/bf/bf_enc.c',
                'openssl/openssl/crypto/cast/c_enc.c',
                'openssl/openssl/crypto/camellia/cmll_misc.c',
                'openssl/openssl/crypto/des/des_enc.c',
                'openssl/openssl/crypto/des/fcrypt_b.c'
              ],
                  'rules': [
                    {
                      'rule_name': 'Assemble',
                      'extension': 'asm',
                      'inputs': [],
                      'outputs': [
                    '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj',
                  ],
                      'action': [
                    'ml64.exe',
                    '/Zi',
                    '/Fo', '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj',
                    '/c', '<(RULE_INPUT_PATH)',
                  ],
                      'process_outputs_as_sources': 0,
                      'message': 'Assembling <(RULE_INPUT_PATH) to <(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj.',
                }
              ]
            }]
          ]
        }],
        ['OS=="win"', {
            'defines': [
            'MK1MF_BUILD',
            'WIN32_LEAN_AND_MEAN'
          ],
            'link_settings': {
              'libraries': [
              '-lgdi32.lib',
              '-luser32.lib',
              '-lwsock32.lib',
            ],
              'conditions': [
                ['_type=="shared_library"', {
                    'libraries': [
                        '-ladvapi32.lib'
                    ]
                }]
            ]
            }
        }, {
            'defines': [
            #ENGINESDIR must be defined if OPENSSLDIR is.
            'ENGINESDIR="/dev/null"',
            # Set to ubuntu default path
            # for convenience. If necessary, override
            # this at runtime with the SSL_CERT_DIR environment variable.
            'OPENSSLDIR="/etc/ssl"',
            'TERMIOS',
          ],
            'cflags': [
            '-Wno-missing-field-initializers'
          ],
        }],
        ['is_clang==1 or gcc_version>=43', {
            'cflags': [
            '-Wno-old-style-declaration'
           ],
        }],
        ['OS=="solaris"', {
            'defines': [
            '__EXTENSIONS__'
           ],
        }],
        ['target_arch=="arm"', {
            'sources': [
            'openssl/openssl/crypto/armcap.c'
          ],
        }],
      ],
    },
  ],
}
