BUILD.gn 948 B

12345678910111213141516171819202122232425262728293031323334
  1. # Copyright 2017 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("ios") {
  5. configs += [ "//build/config/compiler:enable_arc" ]
  6. sources = [
  7. "security_state_utils.h",
  8. "security_state_utils.mm",
  9. ]
  10. deps = [
  11. "//base",
  12. "//components/autofill/ios/form_util",
  13. "//components/safe_browsing/ios/browser:allow_list",
  14. "//components/security_state/core",
  15. "//ios/web/common",
  16. "//ios/web/public",
  17. "//ios/web/public/security",
  18. ]
  19. }
  20. source_set("unit_tests") {
  21. configs += [ "//build/config/compiler:enable_arc" ]
  22. testonly = true
  23. sources = [ "security_state_utils_unittest.mm" ]
  24. deps = [
  25. ":ios",
  26. "//components/safe_browsing/ios/browser:allow_list",
  27. "//components/security_state/core",
  28. "//ios/web/public/security",
  29. "//ios/web/public/test",
  30. "//ios/web/public/test:test_fixture",
  31. ]
  32. }