# Copyright 2023 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("coordinator") {
sources = [
"mini_map_coordinator.h",
"mini_map_coordinator.mm",
"mini_map_mediator.h",
"mini_map_mediator.mm",
"mini_map_mediator_delegate.h",
]
deps = [
":mini_map_handler",
":ui",
"//components/prefs",
"//ios/chrome/app/strings",
"//ios/chrome/browser/mini_map/ui_bundled/resources",
"//ios/chrome/browser/shared/coordinator/chrome_coordinator",
"//ios/chrome/browser/shared/model/browser",
"//ios/chrome/browser/shared/model/browser_state",
"//ios/chrome/browser/shared/model/prefs:pref_names",
"//ios/chrome/browser/shared/model/profile",
"//ios/chrome/browser/shared/public/commands",
"//ios/chrome/browser/shared/ui/symbols",
"//ios/chrome/browser/web/model/annotations",
"//ios/chrome/common:string_util",
"//ios/chrome/common/ui/colors",
"//ios/chrome/common/ui/util",
"//ios/public/provider/chrome/browser/mini_map:mini_map_api",
"//ios/web/public",
"//ios/web/public/annotations",
"//ui/base",
]
}
source_set("mini_map_handler") {
sources = [ "mini_map_action_handler.h" ]
deps = []
}
source_set("ui") {
sources = [
"mini_map_interstitial_view_controller.h",
"mini_map_interstitial_view_controller.mm",
]
deps = [
":mini_map_handler",
"//ios/chrome/app/strings",
"//ios/chrome/browser/shared/ui/symbols",
"//ios/chrome/common:string_util",
"//ios/chrome/common/ui/colors",
"//ios/chrome/common/ui/promo_style",
"//ios/chrome/common/ui/util",
"//net",
"//ui/base",
"//url",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"mini_map_coordinator_unittest.mm",
"mini_map_interstitial_view_controller_unittest.mm",
"mini_map_mediator_unittest.mm",
]
deps = [
":coordinator",
":ui",
"//base/test:test_support",
"//components/sync_preferences:test_support",
"//ios/chrome/browser/shared/model/browser/test:test_support",
"//ios/chrome/browser/shared/model/prefs:browser_prefs",
"//ios/chrome/browser/shared/model/prefs:pref_names",
"//ios/chrome/browser/shared/model/profile/test",
"//ios/chrome/browser/shared/public/commands",
"//ios/chrome/test:test_support",
"//ios/chrome/test/providers/mini_map",
"//ios/web/common:features",
"//ios/web/public/test",
"//testing/gtest",
"//third_party/ocmock",
]
}