# Copyright 2017 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("coordinators") { sources = [ "browser_coordinator+internal.h", "browser_coordinator.h", "browser_coordinator.mm", ] configs += [ "//build/config/compiler:enable_arc" ] deps = [ "//base", "//ios/chrome/browser", "//ios/chrome/browser/browser_state", "//ios/chrome/browser/ui/browser_list", ] } source_set("chrome_coordinators") { sources = [ "chrome_coordinator.h", "chrome_coordinator.mm", ] configs += [ "//build/config/compiler:enable_arc" ] deps = [ "//base", ] } source_set("test_support") { testonly = true sources = [ "browser_coordinator_test.h", "browser_coordinator_test.mm", "browser_coordinator_test_util.h", "browser_coordinator_test_util.mm", "test_browser_coordinator.h", "test_browser_coordinator.mm", ] configs += [ "//build/config/compiler:enable_arc" ] deps = [ ":coordinators", "//base", "//ios/chrome/browser/browser_state:test_support", "//ios/chrome/browser/ui/browser_list", "//ios/chrome/browser/web_state_list:test_support", "//ios/testing:ios_test_support", "//ios/web/public/test", "//testing/gtest", ] } source_set("unit_tests") { testonly = true sources = [ "browser_coordinator_unittest.mm", ] configs += [ "//build/config/compiler:enable_arc" ] deps = [ ":coordinators", ":test_support", "//ios/chrome/browser/ui/commands", ] }