| # Copyright 2020 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("default_browser") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "default_browser_settings_table_view_controller.h", |
| "default_browser_settings_table_view_controller.mm", |
| ] |
| deps = [ |
| "resources:chrome_icon", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser/default_browser", |
| "//ios/chrome/browser/shared/public/features", |
| "//ios/chrome/browser/shared/ui/table_view:utils", |
| "//ios/chrome/browser/shared/ui/table_view/cells", |
| "//ios/chrome/browser/ui/settings:constants", |
| "//ios/chrome/browser/ui/settings:settings_root", |
| "//ios/chrome/browser/ui/settings/resources:settings", |
| "//ios/chrome/common/ui/colors", |
| "//ui/base", |
| ] |
| frameworks = [ "UIKit.framework" ] |
| } |
| |
| source_set("unit_tests") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| testonly = true |
| sources = [ "default_browser_settings_table_view_controller_unittest.mm" ] |
| deps = [ |
| ":default_browser", |
| "//base", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser/shared/ui/table_view:test_support", |
| "//ios/chrome/browser/ui/settings", |
| "//testing/gtest", |
| ] |
| } |