source_set("destination_usage_history") {
sources = [
"constants.h",
"destination_usage_history.h",
"destination_usage_history.mm",
]
frameworks = [ "Foundation.framework" ]
deps = [
"//base",
"//components/prefs",
"//ios/chrome/browser/shared/model/prefs:pref_names",
"//ios/chrome/browser/ui/popup_menu/overflow_menu:feature_flags",
"//ios/chrome/browser/ui/popup_menu/overflow_menu:overflow_menu_constants",
"//ios/chrome/browser/ui/popup_menu/overflow_menu:overflow_menu_swift",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "destination_usage_history_unittest.mm" ]
deps = [
":destination_usage_history",
"//base",
"//base/test:test_support",
"//components/prefs",
"//components/prefs:test_support",
"//ios/chrome/browser/shared/model/prefs:pref_names",
"//ios/chrome/browser/shared/ui/symbols",
"//ios/chrome/browser/ui/popup_menu/overflow_menu:feature_flags",
"//ios/chrome/browser/ui/popup_menu/overflow_menu:overflow_menu_constants",
"//ios/chrome/browser/ui/popup_menu/overflow_menu:overflow_menu_swift",
"//testing/gmock",
"//testing/gtest",
]
}
source_set("eg2_tests") {
configs += [ "//build/config/ios:xctest_config" ]
testonly = true
sources = [ "destination_usage_history_egtest.mm" ]
deps = [
":destination_usage_history",
"//components/feature_engagement/public",
"//ios/chrome/browser/shared/model/prefs:pref_names",
"//ios/chrome/browser/ui/popup_menu:constants",
"//ios/chrome/test/earl_grey:eg_test_support+eg2",
"//ios/testing/earl_grey:eg_test_support+eg2",
"//ios/testing/earl_grey:launch_configuration",
]
frameworks = [ "UIKit.framework" ]
}