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

70 lines
1.7 KiB
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +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("infobars") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"infobar_view.h",
"infobar_view.mm",
"infobar_view_delegate.h",
]
deps = [
"resources:infobar_close",
"resources:infobar_downloading",
"resources:infobar_popup_blocker",
"resources:infobar_shadow",
"resources:infobar_warning",
"//base",
"//base:i18n",
"//components/strings",
"//ios/chrome/browser/ui",
"//ios/chrome/browser/ui/colors",
"//ios/chrome/browser/ui/fancy_ui",
"//ios/chrome/browser/ui/util",
"//ios/public/provider/chrome/browser/ui",
"//ios/third_party/material_components_ios",
"//ui/base",
"//ui/gfx",
"//url",
]
libs = [
"CoreGraphics.framework",
"QuartzCore.framework",
"UIKit.framework",
]
}
source_set("unit_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"infobar_view_unittest.mm",
]
deps = [
":infobars",
"//testing/gtest",
]
}
source_set("eg_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"infobar_egtest.mm",
]
deps = [
"//base",
"//components/infobars/core",
"//ios/chrome/app:app_internal",
"//ios/chrome/browser/infobars",
"//ios/chrome/browser/tabs",
"//ios/chrome/test/app:test_support",
"//ios/chrome/test/earl_grey:test_support",
"//ios/third_party/earl_grey",
"//ios/web/public/test/http_server",
"//url",
]
libs = [ "XCTest.framework" ]
}