Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: ios/chrome/browser/ui/infobars/BUILD.gn

Issue 2589843002: Upstream Chrome on iOS source code [11/11]. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/ui/icons/BUILD.gn ('k') | ios/chrome/browser/ui/main/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/infobars/BUILD.gn
diff --git a/ios/chrome/browser/ui/infobars/BUILD.gn b/ios/chrome/browser/ui/infobars/BUILD.gn
index b23164c19b6558abbe73804d7ddfc2eda60c2e5c..1f0e2f47bc915e41504a1429991b0659494afd40 100644
--- a/ios/chrome/browser/ui/infobars/BUILD.gn
+++ b/ios/chrome/browser/ui/infobars/BUILD.gn
@@ -26,3 +26,61 @@ bundle_data("resources") {
"{{bundle_resources_dir}}/{{source_file_part}}",
]
}
+
+source_set("infobars") {
+ sources = [
+ "infobar_view.h",
+ "infobar_view.mm",
+ ]
+ deps = [
+ "//base",
+ "//base:i18n",
+ "//components/strings",
+ "//ios/chrome/browser/ui",
+ "//ios/chrome/browser/ui/colors",
+ "//ios/chrome/browser/ui/fancy_ui",
+ "//ios/chrome/browser/ui/infobars:resources",
+ "//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") {
+ 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/tabs",
+ "//ios/chrome/test/app:test_support",
+ "//ios/chrome/test/earl_grey:test_support",
+ "//ios/third_party/earl_grey",
+ "//ios/web:test_support",
+ "//url",
+ ]
+ libs = [ "XCTest.framework" ]
+}
« no previous file with comments | « ios/chrome/browser/ui/icons/BUILD.gn ('k') | ios/chrome/browser/ui/main/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698