• Sergey Ulanov's avatar
    Compile net_unittests on Fuchsia · 49085575
    Sergey Ulanov authored
    Several fixes to make net_unittests compile for Fuchsia:
     1. Added cert_database_fuchsia.cc and test_root_certs_fuchsia.cc.
     2. Disabled Kerberos (not implemented on Fuchsia).
     3. Updated CertVerifyProc to use CreateCertVerifyProcBuiltin() with
        OS_FUCHSIA. Currently it uses DummySystemTrustStore, so cert
        verification will always fail. This will need to be fixed later,
        once Fuchsia adds an API for root certs store.
     4. res_ninit() is not yet implemented, so res_init() is used instead.
     5. Disabled DnsReloader. It relies on res_ninit() and it's unlikely
        to be useful on Fuchsia.
    
    Bug: 731302
    Change-Id: I05cbb7a4b571d82894b7c62740fc2f5b36870214
    Reviewed-on: https://chromium-review.googlesource.com/560050Reviewed-by: default avatarEric Roman <eroman@chromium.org>
    Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#485440}
    49085575
BUILD.gn 254 KB