| # Copyright 2016 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. |
| |
| source_set("fullscreen") { |
| sources = [ |
| "legacy_toolbar_ui_updater.h", |
| "legacy_toolbar_ui_updater.mm", |
| "toolbar_ui.h", |
| "toolbar_ui.mm", |
| ] |
| deps = [ |
| "//base", |
| "//ios/chrome/browser/ui/util", |
| "//ios/chrome/browser/web_state_list", |
| "//ios/web", |
| ] |
| configs += [ "//build/config/compiler:enable_arc" ] |
| libs = [ "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", |
| ] |
| configs += [ "//build/config/compiler:enable_arc" ] |
| } |
| |
| source_set("unit_tests") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| testonly = true |
| sources = [ |
| "legacy_toolbar_ui_updater_unittest.mm", |
| "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", |
| "//ios/chrome/browser/bookmarks", |
| "//ios/chrome/browser/browser_state:test_support", |
| "//ios/chrome/browser/tabs", |
| "//ios/chrome/browser/ui/broadcaster", |
| "//ios/chrome/browser/ui/toolbar/test", |
| "//ios/chrome/browser/ui/util", |
| "//ios/chrome/browser/web_state_list", |
| "//ios/chrome/browser/web_state_list:test_support", |
| "//ios/chrome/test:test_support", |
| "//ios/testing:ocmock_support", |
| "//ios/web/public/test", |
| "//ios/web/public/test/fakes", |
| "//testing/gtest", |
| "//third_party/ocmock", |
| ] |
| } |