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
|
# Copyright 2015 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//components/variations/service/generate_ui_string_overrider.gni")
source_set("variations") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"ios_chrome_variations_service_client.h",
"ios_chrome_variations_service_client.mm",
]
deps = [
":first_run",
"//base",
"//components/variations",
"//components/variations/service",
"//components/version_info",
"//ios/chrome/browser",
"//ios/chrome/common",
"//ios/web",
]
}
source_set("first_run") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"ios_chrome_first_run_variations_seed_manager.h",
"ios_chrome_first_run_variations_seed_manager.mm",
"ios_chrome_seed_response.h",
"ios_chrome_seed_response.mm",
]
deps = [
"//base",
"//build:branding_buildflags",
"//components/variations",
"//components/version_info:version_info",
"//ios/chrome/common",
"//net",
]
}
generate_ui_string_overrider("ios_chrome_ui_string_overrider_factory") {
inputs = [
"$root_gen_dir/components/strings/grit/components_chromium_strings.h",
"$root_gen_dir/components/strings/grit/components_google_chrome_strings.h",
"$root_gen_dir/components/strings/grit/components_locale_settings.h",
"$root_gen_dir/components/strings/grit/components_strings.h",
"$root_gen_dir/ios/chrome/grit/ios_chromium_strings.h",
"$root_gen_dir/ios/chrome/grit/ios_google_chrome_strings.h",
"$root_gen_dir/ios/chrome/grit/ios_strings.h",
]
deps = [
"//components/strings:components_chromium_strings",
"//components/strings:components_google_chrome_strings",
"//components/strings:components_locale_settings",
"//components/strings:components_strings",
"//ios/chrome/app/strings:ios_chromium_strings",
"//ios/chrome/app/strings:ios_google_chrome_strings",
"//ios/chrome/app/strings:ios_strings",
]
namespace = "" # Put the functions in the global namespace on iOS.
header_filename = "ios_ui_string_overrider_factory.h"
source_filename = "ios_ui_string_overrider_factory.cc"
}
source_set("eg_app_support+eg2") {
configs += [
"//build/config/compiler:enable_arc",
"//build/config/ios:xctest_config",
]
testonly = true
sources = [
"variations_app_interface.h",
"variations_app_interface.mm",
]
deps = [
"//base",
"//base/test:test_support",
"//components/metrics",
"//components/prefs",
"//components/variations",
"//components/variations:test_support",
"//ios/chrome/browser",
"//ios/chrome/test/app:test_support",
]
}
source_set("eg_test_support+eg2") {
configs += [
"//build/config/compiler:enable_arc",
"//build/config/ios:xctest_config",
]
testonly = true
sources = [
"variations_app_interface.h",
"variations_app_interface_stub.mm",
]
deps = [
"//base",
"//ios/third_party/earl_grey2:test_lib",
]
}
source_set("eg2_tests") {
configs += [
"//build/config/compiler:enable_arc",
"//build/config/ios:xctest_config",
]
testonly = true
sources = [
"variations_safe_mode_egtest.mm",
"variations_safe_mode_end_to_end_egtest.mm",
]
deps = [
":eg_test_support+eg2",
"//base",
"//base/test:test_support",
"//components/metrics:metrics",
"//components/prefs:prefs",
"//components/variations:test_support",
"//components/variations:variations",
"//components/variations/service:service",
"//ios/chrome/test/earl_grey:eg_test_support+eg2",
"//ios/testing/earl_grey:eg_test_support+eg2",
"//ios/third_party/earl_grey2:test_lib",
]
frameworks = [ "UIKit.framework" ]
}
|