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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 bundle_data("assets") { 5 bundle_data("assets") {
6 sources = [ 6 sources = [
7 "resources/QRScanner.xcassets/Contents.json", 7 "resources/QRScanner.xcassets/Contents.json",
8 "resources/QRScanner.xcassets/qr_scanner_torch_off.imageset/Contents.json", 8 "resources/QRScanner.xcassets/qr_scanner_torch_off.imageset/Contents.json",
9 "resources/QRScanner.xcassets/qr_scanner_torch_off.imageset/torch_off.png", 9 "resources/QRScanner.xcassets/qr_scanner_torch_off.imageset/torch_off.png",
10 "resources/QRScanner.xcassets/qr_scanner_torch_off.imageset/torch_off@2x.png ", 10 "resources/QRScanner.xcassets/qr_scanner_torch_off.imageset/torch_off@2x.png ",
11 "resources/QRScanner.xcassets/qr_scanner_torch_off.imageset/torch_off@3x.png ", 11 "resources/QRScanner.xcassets/qr_scanner_torch_off.imageset/torch_off@3x.png ",
12 "resources/QRScanner.xcassets/qr_scanner_torch_on.imageset/Contents.json", 12 "resources/QRScanner.xcassets/qr_scanner_torch_on.imageset/Contents.json",
13 "resources/QRScanner.xcassets/qr_scanner_torch_on.imageset/torch_on.png", 13 "resources/QRScanner.xcassets/qr_scanner_torch_on.imageset/torch_on.png",
14 "resources/QRScanner.xcassets/qr_scanner_torch_on.imageset/torch_on@2x.png", 14 "resources/QRScanner.xcassets/qr_scanner_torch_on.imageset/torch_on@2x.png",
15 "resources/QRScanner.xcassets/qr_scanner_torch_on.imageset/torch_on@3x.png", 15 "resources/QRScanner.xcassets/qr_scanner_torch_on.imageset/torch_on@3x.png",
16 "resources/QRScanner.xcassets/quick_action_qr_scanner.imageset/Contents.json ", 16 "resources/QRScanner.xcassets/quick_action_qr_scanner.imageset/Contents.json ",
17 "resources/QRScanner.xcassets/quick_action_qr_scanner.imageset/quick_action_ qr_scanner@2x.png", 17 "resources/QRScanner.xcassets/quick_action_qr_scanner.imageset/quick_action_ qr_scanner@2x.png",
18 "resources/QRScanner.xcassets/quick_action_qr_scanner.imageset/quick_action_ qr_scanner@3x.png", 18 "resources/QRScanner.xcassets/quick_action_qr_scanner.imageset/quick_action_ qr_scanner@3x.png",
19 ] 19 ]
20 outputs = [ 20 outputs = [
21 "{{bundle_resources_dir}}/{{source_file_part}}", 21 "{{bundle_resources_dir}}/{{source_file_part}}",
22 ] 22 ]
23 } 23 }
24
25 source_set("qr_scanner") {
26 sources = [
27 "camera_controller.h",
28 "camera_controller.mm",
29 "qr_scanner_alerts.h",
30 "qr_scanner_alerts.mm",
31 "qr_scanner_transitioning_delegate.h",
32 "qr_scanner_transitioning_delegate.mm",
33 "qr_scanner_view.h",
34 "qr_scanner_view.mm",
35 "qr_scanner_view_controller.h",
36 "qr_scanner_view_controller.mm",
37 ]
38 deps = [
39 "//base",
40 "//components/version_info",
41 "//ios/chrome/app/strings",
42 "//ios/chrome/browser",
43 "//ios/chrome/browser/ui",
44 "//ios/chrome/browser/ui/icons",
45 "//ios/chrome/browser/ui/qr_scanner:assets",
46 "//ios/chrome/common:ios_app_bundle_id_prefix_header",
47 "//ios/third_party/material_components_ios",
48 "//ui/base",
49 ]
50 libs = [
51 "AVFoundation.framework",
52 "UIKit.framework",
53 ]
54 }
55
56 source_set("eg_tests") {
57 testonly = true
58 sources = [
59 "qr_scanner_view_controller_egtest.mm",
60 ]
61 deps = [
62 "//base",
63 "//base/test:test_support",
64 "//components/strings",
65 "//components/version_info",
66 "//ios/chrome/app:app_internal",
67 "//ios/chrome/app/strings",
68 "//ios/chrome/browser",
69 "//ios/chrome/browser/ui:ui_internal",
70 "//ios/chrome/browser/ui/commands",
71 "//ios/chrome/browser/ui/icons",
72 "//ios/chrome/browser/ui/qr_scanner",
73 "//ios/chrome/browser/ui/toolbar",
74 "//ios/chrome/test/app:test_support",
75 "//ios/chrome/test/base",
76 "//ios/chrome/test/earl_grey:test_support",
77 "//ios/testing/earl_grey:earl_grey_support",
78 "//ios/third_party/earl_grey",
79 "//ios/web:test_support",
80 "//third_party/ocmock",
81 "//ui/base",
82 ]
83 libs = [
84 "AVFoundation.framework",
85 "UIKit.framework",
86 ]
87 }
OLDNEW
« 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