Home | History | Annotate | Download | only in ssl
      1 include_directories(../include)
      2 
      3 add_library(
      4   ssl
      5 
      6   bio_ssl.cc
      7   d1_both.cc
      8   d1_lib.cc
      9   d1_pkt.cc
     10   d1_srtp.cc
     11   dtls_method.cc
     12   dtls_record.cc
     13   handoff.cc
     14   handshake.cc
     15   handshake_client.cc
     16   handshake_server.cc
     17   s3_both.cc
     18   s3_lib.cc
     19   s3_pkt.cc
     20   ssl_aead_ctx.cc
     21   ssl_asn1.cc
     22   ssl_buffer.cc
     23   ssl_cert.cc
     24   ssl_cipher.cc
     25   ssl_file.cc
     26   ssl_key_share.cc
     27   ssl_lib.cc
     28   ssl_privkey.cc
     29   ssl_session.cc
     30   ssl_stat.cc
     31   ssl_transcript.cc
     32   ssl_versions.cc
     33   ssl_x509.cc
     34   t1_enc.cc
     35   t1_lib.cc
     36   tls_method.cc
     37   tls_record.cc
     38   tls13_both.cc
     39   tls13_client.cc
     40   tls13_enc.cc
     41   tls13_server.cc
     42 )
     43 
     44 add_dependencies(ssl global_target)
     45 
     46 target_link_libraries(ssl crypto)
     47 
     48 add_executable(
     49   ssl_test
     50 
     51   span_test.cc
     52   ssl_test.cc
     53 
     54   $<TARGET_OBJECTS:boringssl_gtest_main>
     55 )
     56 
     57 add_dependencies(ssl_test global_target)
     58 
     59 target_link_libraries(ssl_test test_support_lib boringssl_gtest ssl crypto)
     60 if(WIN32)
     61   target_link_libraries(ssl_test ws2_32)
     62 endif()
     63 add_dependencies(all_tests ssl_test)
     64