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 import("//ios/web/js_compile.gni") | 5 import("//ios/web/js_compile.gni") |
6 | 6 |
7 source_set("find_in_page") { | 7 source_set("find_in_page") { |
8 configs += [ "//build/config/compiler:enable_arc" ] | 8 configs += [ "//build/config/compiler:enable_arc" ] |
9 sources = [ | 9 sources = [ |
10 "find_in_page_controller.h", | 10 "find_in_page_controller.h", |
(...skipping 25 matching lines...) Expand all Loading... |
36 source_set("unit_tests") { | 36 source_set("unit_tests") { |
37 testonly = true | 37 testonly = true |
38 configs += [ "//build/config/compiler:enable_arc" ] | 38 configs += [ "//build/config/compiler:enable_arc" ] |
39 sources = [ | 39 sources = [ |
40 "find_tab_helper_unittest.mm", | 40 "find_tab_helper_unittest.mm", |
41 ] | 41 ] |
42 deps = [ | 42 deps = [ |
43 ":find_in_page", | 43 ":find_in_page", |
44 ":unit_tests_nonarc", | 44 ":unit_tests_nonarc", |
45 "//base", | 45 "//base", |
| 46 "//base/test:test_support", |
| 47 "//ios/chrome/browser/web:test_support", |
46 "//ios/web", | 48 "//ios/web", |
47 "//ios/web:test_support", | 49 "//ios/web:test_support", |
48 "//testing/gtest", | 50 "//testing/gtest", |
49 ] | 51 ] |
50 } | 52 } |
51 | 53 |
52 source_set("unit_tests_nonarc") { | 54 source_set("unit_tests_nonarc") { |
53 testonly = true | 55 testonly = true |
54 sources = [ | 56 sources = [ |
55 "find_in_page_js_unittest.mm", | 57 "find_in_page_js_unittest.mm", |
56 "js_findinpage_manager_unittest.mm", | 58 "js_findinpage_manager_unittest.mm", |
57 ] | 59 ] |
58 deps = [ | 60 deps = [ |
59 ":find_in_page", | 61 ":find_in_page", |
60 "//base", | 62 "//base", |
61 "//base/test:test_support", | 63 "//base/test:test_support", |
62 "//ios/chrome/browser/web:test_support", | 64 "//ios/chrome/browser/web:test_support", |
63 "//ios/web", | 65 "//ios/web", |
64 "//ios/web:test_support", | 66 "//ios/web:test_support", |
65 "//testing/gtest", | 67 "//testing/gtest", |
66 ] | 68 ] |
67 } | 69 } |
OLD | NEW |