• Asanka Herath's avatar
    [net/auth] Fix DLOPEN_KERBEROS flag propagation to net tests. · 9c7136cf
    Asanka Herath authored
    DLOPEN_KERBEROS is a flag used to control whether the GSSAPI library
    should be loaded at runtime (via dlopen()) or linked to statically. The
    latter is used by some Linux distributions. Unfortunately this flag was
    not being passed to the net_unittests target, which resulted in the
    corresponding tests to not be compiled all these years.
    
    This CL moves DLOPEN_KERBEROS from being a compiler flag to being a
    buildflag in net_buildflag.h. This increases the visibility of
    DLOPEN_KERBEROS substantially, but is consistent with its sibling
    USE_KERBEROS.
    
    Ideally this buildflag should be called DLOPEN_GSSAPI which will happen
    after an announcement on net-dev@.
    
    Bug: 927182
    Change-Id: I6d886595fcebabb222436113ea60f8879e08910d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1639345
    Commit-Queue: Asanka Herath <asanka@chromium.org>
    Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#665799}
    9c7136cf
http_auth_gssapi_posix_unittest.cc 11.9 KB