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", |
(...skipping 30 matching lines...) Expand all Loading... |
41 "//ios/clean/chrome/browser/ui", | 41 "//ios/clean/chrome/browser/ui", |
42 "//ios/clean/chrome/browser/ui/actions", | 42 "//ios/clean/chrome/browser/ui/actions", |
43 "//ios/clean/chrome/browser/ui/animators", | 43 "//ios/clean/chrome/browser/ui/animators", |
44 "//ios/clean/chrome/browser/ui/commands", | 44 "//ios/clean/chrome/browser/ui/commands", |
45 "//ios/clean/chrome/browser/ui/presenters", | 45 "//ios/clean/chrome/browser/ui/presenters", |
46 "//ui/base", | 46 "//ui/base", |
47 ] | 47 ] |
48 libs = [ "UIKit.framework" ] | 48 libs = [ "UIKit.framework" ] |
49 configs += [ "//build/config/compiler:enable_arc" ] | 49 configs += [ "//build/config/compiler:enable_arc" ] |
50 } | 50 } |
| 51 |
| 52 source_set("unit_tests") { |
| 53 sources = [ |
| 54 "find_in_page_mediator_unittest.mm", |
| 55 ] |
| 56 deps = [ |
| 57 ":find_in_page", |
| 58 ":find_in_page_ui", |
| 59 "//base", |
| 60 "//ios/chrome/browser/web_state_list", |
| 61 "//ios/chrome/browser/web_state_list:test_support", |
| 62 "//testing/gtest", |
| 63 "//third_party/ocmock", |
| 64 ] |
| 65 configs += [ "//build/config/compiler:enable_arc" ] |
| 66 testonly = true |
| 67 } |
OLD | NEW |