| # Copyright 2017 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| component("ios") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "security_state_utils.h", |
| "security_state_utils.mm", |
| ] |
| deps = [ |
| "//base", |
| "//components/autofill/ios/form_util", |
| "//components/safe_browsing/ios/browser:allow_list", |
| "//components/security_state/core", |
| "//ios/web/common", |
| "//ios/web/public", |
| "//ios/web/public/security", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| testonly = true |
| sources = [ "security_state_utils_unittest.mm" ] |
| deps = [ |
| ":ios", |
| "//components/safe_browsing/ios/browser:allow_list", |
| "//components/security_state/core", |
| "//ios/web/public/security", |
| "//ios/web/public/test", |
| "//ios/web/public/test:test_fixture", |
| ] |
| } |