OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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("find_in_page") { | 5 source_set("find_in_page") { |
6 sources = [ | 6 sources = [ |
7 "find_in_page_coordinator.h", | 7 "find_in_page_coordinator.h", |
8 "find_in_page_coordinator.mm", | 8 "find_in_page_coordinator.mm", |
9 "find_in_page_mediator.h", | 9 "find_in_page_mediator.h", |
10 "find_in_page_mediator.mm", | 10 "find_in_page_mediator.mm", |
11 ] | 11 ] |
12 | 12 |
13 configs += [ "//build/config/compiler:enable_arc" ] | 13 configs += [ "//build/config/compiler:enable_arc" ] |
14 | 14 |
15 deps = [ | 15 deps = [ |
16 ":find_in_page_ui", | 16 ":find_in_page_ui", |
17 "//base", | 17 "//base", |
18 "//ios/chrome/browser/find_in_page", | 18 "//ios/chrome/browser/find_in_page", |
19 "//ios/chrome/browser/web_state_list", | 19 "//ios/chrome/browser/web_state_list", |
20 "//ios/clean/chrome/browser", | 20 "//ios/clean/chrome/browser", |
21 "//ios/clean/chrome/browser/ui/actions", | 21 "//ios/clean/chrome/browser/ui/actions", |
22 "//ios/clean/chrome/browser/ui/animators", | |
23 "//ios/clean/chrome/browser/ui/commands", | 22 "//ios/clean/chrome/browser/ui/commands", |
24 "//ios/shared/chrome/browser/ui/browser_list", | 23 "//ios/shared/chrome/browser/ui/browser_list", |
25 "//ios/shared/chrome/browser/ui/commands", | 24 "//ios/shared/chrome/browser/ui/commands", |
26 "//ios/shared/chrome/browser/ui/coordinators", | 25 "//ios/shared/chrome/browser/ui/coordinators", |
27 "//ios/web", | 26 "//ios/web", |
28 ] | 27 ] |
29 } | 28 } |
30 | 29 |
31 source_set("find_in_page_ui") { | 30 source_set("find_in_page_ui") { |
32 sources = [ | 31 sources = [ |
33 "find_in_page_consumer.h", | 32 "find_in_page_consumer.h", |
34 "find_in_page_view_controller.h", | 33 "find_in_page_view_controller.h", |
35 "find_in_page_view_controller.mm", | 34 "find_in_page_view_controller.mm", |
36 ] | 35 ] |
37 deps = [ | 36 deps = [ |
38 "//base", | 37 "//base", |
39 "//components/strings", | 38 "//components/strings", |
40 "//ios/chrome/browser/ui/find_bar", | 39 "//ios/chrome/browser/ui/find_bar", |
41 "//ios/clean/chrome/browser/ui", | 40 "//ios/clean/chrome/browser/ui", |
42 "//ios/clean/chrome/browser/ui/actions", | 41 "//ios/clean/chrome/browser/ui/actions", |
43 "//ios/clean/chrome/browser/ui/animators", | |
44 "//ios/clean/chrome/browser/ui/commands", | 42 "//ios/clean/chrome/browser/ui/commands", |
45 "//ios/clean/chrome/browser/ui/presenters", | |
46 "//ui/base", | 43 "//ui/base", |
47 ] | 44 ] |
48 libs = [ "UIKit.framework" ] | 45 libs = [ "UIKit.framework" ] |
49 configs += [ "//build/config/compiler:enable_arc" ] | 46 configs += [ "//build/config/compiler:enable_arc" ] |
50 } | 47 } |
51 | 48 |
52 source_set("unit_tests") { | 49 source_set("unit_tests") { |
53 sources = [ | 50 sources = [ |
54 "find_in_page_mediator_unittest.mm", | 51 "find_in_page_mediator_unittest.mm", |
55 ] | 52 ] |
56 deps = [ | 53 deps = [ |
57 ":find_in_page", | 54 ":find_in_page", |
58 ":find_in_page_ui", | 55 ":find_in_page_ui", |
59 "//base", | 56 "//base", |
60 "//ios/chrome/browser/web_state_list", | 57 "//ios/chrome/browser/web_state_list", |
61 "//ios/chrome/browser/web_state_list:test_support", | 58 "//ios/chrome/browser/web_state_list:test_support", |
62 "//testing/gtest", | 59 "//testing/gtest", |
63 "//third_party/ocmock", | 60 "//third_party/ocmock", |
64 ] | 61 ] |
65 configs += [ "//build/config/compiler:enable_arc" ] | 62 configs += [ "//build/config/compiler:enable_arc" ] |
66 testonly = true | 63 testonly = true |
67 } | 64 } |
OLD | NEW |