# Copyright 2016 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("fullscreen") {
sources = [
"toolbar_ui.h",
"toolbar_ui.mm",
]
deps = [
"//base",
"//ios/chrome/browser/shared/model/web_state_list",
"//ios/chrome/browser/shared/ui/util",
"//ios/web",
]
frameworks = [ "UIKit.framework" ]
}
source_set("fullscreen_broadcasting_util") {
sources = [
"toolbar_ui_broadcasting_util.h",
"toolbar_ui_broadcasting_util.mm",
]
deps = [
":fullscreen",
"//ios/chrome/browser/ui/broadcaster",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "toolbar_ui_broadcasting_util_unittest.mm" ]
deps = [
":fullscreen",
":fullscreen_broadcasting_util",
"//base",
"//components/bookmarks/browser",
"//components/bookmarks/test",
"//components/omnibox/browser:test_support",
"//ios/chrome/browser/bookmarks/model",
"//ios/chrome/browser/shared/model/web_state_list",
"//ios/chrome/browser/shared/ui/util",
"//ios/chrome/browser/tabs/model",
"//ios/chrome/browser/ui/broadcaster",
"//ios/chrome/browser/ui/toolbar/test",
"//ios/chrome/test:test_support",
"//ios/testing:ocmock_support",
"//ios/web/public/test",
"//ios/web/public/test/fakes",
"//testing/gtest",
"//third_party/ocmock",
]
}