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
|
# 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("passwords") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"password_breach_constants.h",
"password_breach_constants.mm",
"password_breach_consumer.h",
"password_breach_coordinator.h",
"password_breach_coordinator.mm",
"password_breach_mediator.h",
"password_breach_mediator.mm",
"password_breach_presenter.h",
"password_breach_view_controller.h",
"password_breach_view_controller.mm",
]
deps = [
"resources",
"//base",
"//components/password_manager/core/browser",
"//components/password_manager/core/common",
"//components/strings:components_strings_grit",
"//ios/chrome/app/strings",
"//ios/chrome/browser/main:public",
"//ios/chrome/browser/ui:feature_flags",
"//ios/chrome/browser/ui/commands",
"//ios/chrome/browser/ui/coordinators:chrome_coordinators",
"//ios/chrome/browser/ui/util",
"//ios/chrome/common/ui/colors",
"//ios/chrome/common/ui/confirmation_alert",
"//ios/chrome/common/ui/elements:popover_label_view_controller",
"//ios/chrome/common/ui/util",
"//ui/base",
]
frameworks = [ "UIKit.framework" ]
}
source_set("app_support+eg2") {
defines = [ "CHROME_EARL_GREY_2" ]
configs += [
"//build/config/compiler:enable_arc",
"//build/config/ios:xctest_config",
]
testonly = true
sources = [
"password_breach_app_interface.h",
"password_breach_app_interface.mm",
]
deps = [
"//base",
"//base/test:test_support",
"//ios/chrome/browser/browser_state",
"//ios/chrome/browser/ui/commands",
"//ios/chrome/test/app:test_support",
]
}
source_set("test_support+eg2") {
defines = [ "CHROME_EARL_GREY_2" ]
configs += [
"//build/config/compiler:enable_arc",
"//build/config/ios:xctest_config",
]
testonly = true
sources = [
"password_breach_app_interface.h",
"password_breach_constants.h",
"password_breach_constants.mm",
]
deps = [ "//base" ]
}
source_set("eg2_tests") {
defines = [ "CHROME_EARL_GREY_2" ]
configs += [
"//build/config/compiler:enable_arc",
"//build/config/ios:xctest_config",
]
testonly = true
sources = [ "password_breach_egtest.mm" ]
deps = [
":test_support+eg2",
"//base",
"//base/test:test_support",
"//components/password_manager/core/common",
"//components/strings:components_strings_grit",
"//ios/chrome/browser/ui/authentication:eg_test_support+eg2",
"//ios/chrome/browser/ui/settings/password:password_constants",
"//ios/chrome/test: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/http_server",
"//net:test_support",
"//testing/gtest",
"//ui/base:base",
]
frameworks = [
"UIKit.framework",
"XCTest.framework",
]
}
|