| # Copyright 2017 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//ios/build/config.gni") |
| |
| source_set("interstitials") { |
| deps = [ |
| "//base", |
| "//ios/web/common", |
| "//ios/web/navigation:core", |
| "//ios/web/public", |
| "//ios/web/web_state:web_state_impl_header", |
| "//ios/web/web_state/ui:web_view_js_utils", |
| "//ui/gfx/geometry", |
| ] |
| |
| sources = [ |
| "web_interstitial_impl.h", |
| "web_interstitial_impl.mm", |
| ] |
| |
| configs += [ "//build/config/compiler:enable_arc" ] |
| } |
| |
| source_set("interstitials_unittests") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| testonly = true |
| deps = [ |
| ":interstitials", |
| "//base", |
| "//base/test:test_support", |
| "//ios/testing:ocmock_support", |
| "//ios/web", |
| "//ios/web/navigation:core", |
| "//ios/web/public/test", |
| "//ios/web/public/test/fakes", |
| "//ios/web/test/fakes", |
| "//ios/web/web_state:web_state_impl_header", |
| "//testing/gmock", |
| "//testing/gtest", |
| ] |
| |
| sources = [ |
| "web_interstitial_unittest.mm", |
| ] |
| } |