BUILD.gn 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Copyright 2016 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. source_set("security_interstitials") {
  5. configs += [ "//build/config/compiler:enable_arc" ]
  6. sources = [
  7. "ios_blocking_page_controller_client.h",
  8. "ios_blocking_page_controller_client.mm",
  9. "ios_blocking_page_metrics_helper.h",
  10. "ios_blocking_page_metrics_helper.mm",
  11. "ios_blocking_page_tab_helper.h",
  12. "ios_blocking_page_tab_helper.mm",
  13. "ios_security_interstitial_page.h",
  14. "ios_security_interstitial_page.mm",
  15. ]
  16. deps = [
  17. "//base",
  18. "//components/history/core/browser",
  19. "//components/keyed_service/core",
  20. "//components/prefs",
  21. "//components/resources",
  22. "//components/security_interstitials/core",
  23. "//ios/components/ui_util",
  24. "//ios/web",
  25. "//ios/web/common",
  26. "//ios/web/public",
  27. "//ios/web/public/security",
  28. "//ui/base",
  29. "//url",
  30. ]
  31. }
  32. source_set("unit_tests") {
  33. configs += [ "//build/config/compiler:enable_arc" ]
  34. testonly = true
  35. sources = [ "ios_blocking_page_tab_helper_unittest.mm" ]
  36. deps = [
  37. ":security_interstitials",
  38. "//ios/web",
  39. "//ios/web/public/test/fakes",
  40. "//testing/gtest",
  41. ]
  42. }