BUILD.gn 615 B

123456789101112131415161718192021222324252627282930
  1. # Copyright 2019 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. component("certificate_matching") {
  5. sources = [
  6. "certificate_principal_pattern.cc",
  7. "certificate_principal_pattern.h",
  8. ]
  9. defines = [ "IS_CERTIFICATE_MATCHING_IMPL" ]
  10. deps = [
  11. "//base",
  12. "//net",
  13. ]
  14. }
  15. source_set("unit_tests") {
  16. testonly = true
  17. sources = [ "certificate_principal_pattern_unittest.cc" ]
  18. deps = [
  19. ":certificate_matching",
  20. "//base",
  21. "//net",
  22. "//testing/gmock",
  23. "//testing/gtest",
  24. ]
  25. }