naiveproxy/ios/chrome/browser/ui/sad_tab/BUILD.gn

68 lines
1.7 KiB
Plaintext
Raw Normal View History

2018-02-02 13:49:39 +03:00
# 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("coordinator") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"sad_tab_legacy_coordinator.h",
"sad_tab_legacy_coordinator.mm",
]
deps = [
":sad_tab",
"//ios/chrome/browser/ui/commands",
"//ios/chrome/browser/web",
"//ios/chrome/browser/web:tab_helper_delegates",
"//ios/web",
]
}
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/public",
"//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:earl_grey+link",
"//ios/web/public/test/http_server",
"//ui/base",
]
libs = [ "XCTest.framework" ]
}