# 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("tab") { sources = [ "tab_coordinator.h", "tab_coordinator.mm", "tab_navigation_controller.h", "tab_navigation_controller.mm", "tab_strip_tab_coordinator.h", "tab_strip_tab_coordinator.mm", ] configs += [ "//build/config/compiler:enable_arc" ] deps = [ ":features", ":tab_ui", "//base", "//ios/chrome/browser", "//ios/chrome/browser/ui/broadcaster", "//ios/chrome/browser/ui/browser_list", "//ios/chrome/browser/ui/commands", "//ios/chrome/browser/ui/coordinators", "//ios/chrome/browser/web_state_list", "//ios/clean/chrome/browser/ui/actions", "//ios/clean/chrome/browser/ui/commands", "//ios/clean/chrome/browser/ui/find_in_page", "//ios/clean/chrome/browser/ui/ntp", "//ios/clean/chrome/browser/ui/settings", "//ios/clean/chrome/browser/ui/tab_strip", "//ios/clean/chrome/browser/ui/toolbar", "//ios/clean/chrome/browser/ui/transitions", "//ios/clean/chrome/browser/ui/web_contents", "//ios/web", ] } source_set("features") { sources = [ "tab_features.cc", "tab_features.h", ] configs += [ "//build/config/compiler:enable_arc" ] deps = [ "//base", ] } source_set("tab_ui") { sources = [ "tab_container_view_controller+internal.h", "tab_container_view_controller.h", "tab_container_view_controller.mm", "tab_strip_tab_container_view_controller.h", "tab_strip_tab_container_view_controller.mm", ] configs += [ "//build/config/compiler:enable_arc" ] deps = [ "//base", "//ios/chrome/browser/ui", "//ios/clean/chrome/browser/ui", "//ios/clean/chrome/browser/ui/toolbar:toolbar_components_ui", "//ios/clean/chrome/browser/ui/transitions", "//ios/clean/chrome/browser/ui/transitions/animators", "//ios/clean/chrome/browser/ui/transitions/presenters", ] libs = [ "UIKit.framework" ] } source_set("unit_tests") { testonly = true sources = [ "tab_coordinator_unittest.mm", ] configs += [ "//build/config/compiler:enable_arc" ] deps = [ ":tab", ":tab_ui", "//base", "//base/test:test_support", "//ios/chrome/browser/ui/browser_list", "//ios/chrome/browser/ui/coordinators", "//ios/chrome/browser/ui/coordinators:test_support", "//ios/chrome/browser/ui/toolbar/test", "//ios/clean/chrome/browser/ui/tab:features", "//ios/web/public/test", "//ios/web/public/test/fakes", "//testing/gtest", ] }