OLD | NEW |
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 source_set("autofill") { | 5 source_set("autofill") { |
6 sources = [ | 6 sources = [ |
7 "form_input_accessory_view.h", | 7 "form_input_accessory_view.h", |
8 "form_input_accessory_view.mm", | 8 "form_input_accessory_view.mm", |
9 "form_input_accessory_view_controller.h", | 9 "form_input_accessory_view_controller.h", |
10 "form_input_accessory_view_controller.mm", | 10 "form_input_accessory_view_controller.mm", |
(...skipping 22 matching lines...) Expand all Loading... |
33 "//ios/chrome/browser/browser_state", | 33 "//ios/chrome/browser/browser_state", |
34 "//ios/chrome/browser/passwords:passwords_generation_utils", | 34 "//ios/chrome/browser/passwords:passwords_generation_utils", |
35 "//ios/chrome/browser/signin", | 35 "//ios/chrome/browser/signin", |
36 "//ios/chrome/browser/ui", | 36 "//ios/chrome/browser/ui", |
37 "//ios/web", | 37 "//ios/web", |
38 "//ui/base", | 38 "//ui/base", |
39 "//url", | 39 "//url", |
40 ] | 40 ] |
41 libs = [ "QuartzCore.framework" ] | 41 libs = [ "QuartzCore.framework" ] |
42 } | 42 } |
43 | |
44 source_set("autofill_internal") { | |
45 configs += [ "//build/config/compiler:enable_arc" ] | |
46 sources = [ | |
47 "autofill_agent.h", | |
48 "autofill_agent.mm", | |
49 "autofill_controller.h", | |
50 "autofill_controller.mm", | |
51 ] | |
52 deps = [ | |
53 "//base", | |
54 "//components/autofill/core/browser", | |
55 "//components/autofill/core/common", | |
56 "//components/autofill/ios/browser", | |
57 "//components/infobars/core", | |
58 "//components/pref_registry", | |
59 "//components/prefs", | |
60 "//components/signin/core/browser", | |
61 "//ios/chrome/app/strings", | |
62 "//ios/chrome/browser", | |
63 "//ios/chrome/browser/autofill", | |
64 "//ios/chrome/browser/browser_state", | |
65 "//ios/chrome/browser/infobars", | |
66 "//ios/chrome/browser/signin", | |
67 "//ios/chrome/browser/ui/autofill", | |
68 "//ios/web", | |
69 "//ui/gfx/geometry", | |
70 "//url", | |
71 ] | |
72 libs = [ "UIKit.framework" ] | |
73 } | |
74 | |
75 source_set("unit_tests") { | |
76 configs += [ "//build/config/compiler:enable_arc" ] | |
77 testonly = true | |
78 sources = [ | |
79 "autofill_controller_js_unittest.mm", | |
80 "autofill_controller_unittest.mm", | |
81 "form_structure_browsertest.mm", | |
82 "form_suggestion_controller_unittest.mm", | |
83 "js_autofill_manager_unittest.mm", | |
84 "js_suggestion_manager_unittest.mm", | |
85 ] | |
86 deps = [ | |
87 ":autofill_internal", | |
88 "//base", | |
89 "//base/test:test_support", | |
90 "//components/autofill/core/browser", | |
91 "//components/autofill/core/browser:test_support", | |
92 "//components/autofill/core/common", | |
93 "//components/autofill/ios/browser", | |
94 "//components/infobars/core", | |
95 "//components/keyed_service/core", | |
96 "//ios/chrome/browser", | |
97 "//ios/chrome/browser/autofill", | |
98 "//ios/chrome/browser/browser_state:test_support", | |
99 "//ios/chrome/browser/infobars", | |
100 "//ios/chrome/browser/ui", | |
101 "//ios/chrome/browser/ui/autofill", | |
102 "//ios/chrome/browser/web:test_support", | |
103 "//ios/chrome/test/base", | |
104 "//ios/web", | |
105 "//ios/web:test_support", | |
106 "//testing/gtest", | |
107 "//third_party/ocmock", | |
108 "//ui/base:test_support", | |
109 ] | |
110 } | |
111 | |
112 source_set("eg_tests") { | |
113 testonly = true | |
114 sources = [ | |
115 "form_input_egtest.mm", | |
116 ] | |
117 deps = [ | |
118 "//base", | |
119 "//base/test:test_support", | |
120 "//ios/chrome/app/strings", | |
121 "//ios/chrome/browser/autofill", | |
122 "//ios/chrome/browser/ui", | |
123 "//ios/chrome/test/app:test_support", | |
124 "//ios/chrome/test/earl_grey:test_support", | |
125 "//ios/testing:ios_test_support", | |
126 "//ios/testing/earl_grey:earl_grey_support", | |
127 "//ios/third_party/earl_grey", | |
128 "//ios/web:earl_grey_test_support", | |
129 "//ios/web:test_support", | |
130 ] | |
131 } | |
OLD | NEW |