blob: 4b96b076c33b6d3a4d606b0c0ef989e9f51368ce [file] [log] [blame]
# 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("sad_tab") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"sad_tab_view.h",
"sad_tab_view.mm",
]
deps = [
"//base",
"//components/resources",
"//components/strings",
"//components/ui_metrics",
"//ios/chrome/browser",
"//ios/chrome/browser/ui",
"//ios/chrome/browser/ui/colors",
"//ios/chrome/browser/ui/commands",
"//ios/chrome/browser/ui/util",
"//ios/third_party/material_components_ios",
"//ios/third_party/material_roboto_font_loader_ios",
"//ios/web",
"//net",
"//ui/base",
"//ui/gfx",
]
libs = [ "UIKit.framework" ]
}
source_set("eg_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"sad_tab_view_egtest.mm",
]
deps = [
":sad_tab",
"//base",
"//components/strings",
"//ios/chrome/app/strings",
"//ios/chrome/browser/ui/tools_menu",
"//ios/chrome/test/app:test_support",
"//ios/chrome/test/earl_grey:test_support",
"//ios/testing/earl_grey:earl_grey_support",
"//ios/third_party/earl_grey",
"//ios/web/public/test/http_server",
"//ui/base",
]
libs = [ "XCTest.framework" ]
}