1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
|
# Copyright 2019 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("autofill") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"autofill_add_credit_card_coordinator.h",
"autofill_add_credit_card_coordinator.mm",
"autofill_add_credit_card_mediator.h",
"autofill_add_credit_card_mediator.mm",
"autofill_add_credit_card_mediator_delegate.h",
"autofill_add_credit_card_view_controller.h",
"autofill_add_credit_card_view_controller.mm",
"autofill_add_credit_card_view_controller_delegate.h",
"autofill_credit_card_edit_table_view_controller.h",
"autofill_credit_card_edit_table_view_controller.mm",
"autofill_credit_card_table_view_controller.h",
"autofill_credit_card_table_view_controller.mm",
"autofill_credit_card_util.h",
"autofill_credit_card_util.mm",
"autofill_edit_table_view_controller+protected.h",
"autofill_edit_table_view_controller.h",
"autofill_edit_table_view_controller.mm",
"autofill_profile_edit_table_view_controller.h",
"autofill_profile_edit_table_view_controller.mm",
"autofill_profile_table_view_controller.h",
"autofill_profile_table_view_controller.mm",
]
deps = [
":constants",
"//components/autofill/core/browser",
"//components/autofill/core/common",
"//components/autofill/ios/browser",
"//components/password_manager/core/common:features",
"//components/prefs",
"//components/strings",
"//ios/chrome/app/strings",
"//ios/chrome/browser",
"//ios/chrome/browser/autofill",
"//ios/chrome/browser/browser_state",
"//ios/chrome/browser/main:public",
"//ios/chrome/browser/net:crurl",
"//ios/chrome/browser/ui:feature_flags",
"//ios/chrome/browser/ui/alert_coordinator",
"//ios/chrome/browser/ui/autofill",
"//ios/chrome/browser/ui/autofill:autofill_ui_type",
"//ios/chrome/browser/ui/autofill/cells",
"//ios/chrome/browser/ui/autofill/form_input_accessory:form_input_accessory",
"//ios/chrome/browser/ui/commands",
"//ios/chrome/browser/ui/coordinators:chrome_coordinators",
"//ios/chrome/browser/ui/qr_scanner",
"//ios/chrome/browser/ui/scanner",
"//ios/chrome/browser/ui/settings:settings_root",
"//ios/chrome/browser/ui/settings/autofill/cells",
"//ios/chrome/browser/ui/settings/cells",
"//ios/chrome/browser/ui/settings/elements:enterprise_info_popover_view_controller",
"//ios/chrome/browser/ui/table_view",
"//ios/chrome/browser/ui/table_view:utils",
"//ios/chrome/browser/ui/table_view/cells",
"//ios/chrome/browser/ui/util",
"//ios/chrome/common/ui/colors",
"//ios/chrome/common/ui/elements:form_input_accessory",
"//ios/chrome/common/ui/table_view:cells_constants",
"//ui/base",
]
}
source_set("constants") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"autofill_constants.h",
"autofill_constants.mm",
]
}
source_set("unit_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"autofill_add_credit_card_mediator_unittest.mm",
"autofill_credit_card_table_view_controller_unittest.mm",
"autofill_credit_card_util_unittest.mm",
"autofill_profile_edit_table_view_controller_unittest.mm",
"autofill_profile_table_view_controller_unittest.mm",
]
deps = [
":autofill",
"//base/test:test_support",
"//components/autofill/core/browser",
"//components/autofill/core/browser:test_support",
"//components/strings",
"//ios/chrome/browser",
"//ios/chrome/browser/autofill",
"//ios/chrome/browser/browser_state",
"//ios/chrome/browser/browser_state:test_support",
"//ios/chrome/browser/main:test_support",
"//ios/chrome/browser/ui/settings:settings_root",
"//ios/chrome/browser/ui/settings:test_support",
"//ios/chrome/browser/ui/table_view",
"//ios/chrome/browser/ui/table_view:test_support",
"//ios/web/public/test",
"//testing/gtest",
"//third_party/ocmock",
]
}
source_set("eg2_tests") {
configs += [
"//build/config/compiler:enable_arc",
"//build/config/ios:xctest_config",
]
testonly = true
sources = [
"autofill_add_credit_card_egtest.mm",
"autofill_credit_card_settings_egtest.mm",
"autofill_edit_credit_card_egtest.mm",
"autofill_profile_settings_egtest.mm",
]
deps = [
":constants",
"//base",
"//components/autofill/core/browser:test_support",
"//components/strings:components_strings_grit",
"//ios/chrome/app/strings",
"//ios/chrome/browser/ui/autofill:eg_test_support+eg2",
"//ios/chrome/browser/ui/autofill:eg_test_support+eg2",
"//ios/chrome/test/earl_grey:eg_test_support+eg2",
"//ios/testing/earl_grey:eg_test_support+eg2",
"//ios/third_party/earl_grey2:test_lib",
"//ios/web/public/test:element_selector",
"//net:test_support",
"//ui/base",
]
frameworks = [ "UIKit.framework" ]
}
|