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

Unified Diff: ios/chrome/browser/ui/qr_scanner/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/promos/BUILD.gn ('k') | ios/chrome/browser/ui/reader_mode/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/qr_scanner/BUILD.gn
diff --git a/ios/chrome/browser/ui/qr_scanner/BUILD.gn b/ios/chrome/browser/ui/qr_scanner/BUILD.gn
index 3fbb672b87483251349bc5b6685e03848aff85d7..81164915e3efaa07b44c40e484377436ba471b34 100644
--- a/ios/chrome/browser/ui/qr_scanner/BUILD.gn
+++ b/ios/chrome/browser/ui/qr_scanner/BUILD.gn
@@ -21,3 +21,67 @@ bundle_data("assets") {
"{{bundle_resources_dir}}/{{source_file_part}}",
]
}
+
+source_set("qr_scanner") {
+ sources = [
+ "camera_controller.h",
+ "camera_controller.mm",
+ "qr_scanner_alerts.h",
+ "qr_scanner_alerts.mm",
+ "qr_scanner_transitioning_delegate.h",
+ "qr_scanner_transitioning_delegate.mm",
+ "qr_scanner_view.h",
+ "qr_scanner_view.mm",
+ "qr_scanner_view_controller.h",
+ "qr_scanner_view_controller.mm",
+ ]
+ deps = [
+ "//base",
+ "//components/version_info",
+ "//ios/chrome/app/strings",
+ "//ios/chrome/browser",
+ "//ios/chrome/browser/ui",
+ "//ios/chrome/browser/ui/icons",
+ "//ios/chrome/browser/ui/qr_scanner:assets",
+ "//ios/chrome/common:ios_app_bundle_id_prefix_header",
+ "//ios/third_party/material_components_ios",
+ "//ui/base",
+ ]
+ libs = [
+ "AVFoundation.framework",
+ "UIKit.framework",
+ ]
+}
+
+source_set("eg_tests") {
+ testonly = true
+ sources = [
+ "qr_scanner_view_controller_egtest.mm",
+ ]
+ deps = [
+ "//base",
+ "//base/test:test_support",
+ "//components/strings",
+ "//components/version_info",
+ "//ios/chrome/app:app_internal",
+ "//ios/chrome/app/strings",
+ "//ios/chrome/browser",
+ "//ios/chrome/browser/ui:ui_internal",
+ "//ios/chrome/browser/ui/commands",
+ "//ios/chrome/browser/ui/icons",
+ "//ios/chrome/browser/ui/qr_scanner",
+ "//ios/chrome/browser/ui/toolbar",
+ "//ios/chrome/test/app:test_support",
+ "//ios/chrome/test/base",
+ "//ios/chrome/test/earl_grey:test_support",
+ "//ios/testing/earl_grey:earl_grey_support",
+ "//ios/third_party/earl_grey",
+ "//ios/web:test_support",
+ "//third_party/ocmock",
+ "//ui/base",
+ ]
+ libs = [
+ "AVFoundation.framework",
+ "UIKit.framework",
+ ]
+}
« no previous file with comments | « ios/chrome/browser/ui/promos/BUILD.gn ('k') | ios/chrome/browser/ui/reader_mode/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698