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 28 matching lines...) Expand all Loading... |
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", | 46 "//base/test:test_support", |
47 "//ios/chrome/browser/web:test_support", | 47 "//ios/chrome/browser/web:test_support", |
48 "//ios/web", | 48 "//ios/web", |
49 "//ios/web:test_support", | 49 "//ios/web/public/test", |
| 50 "//ios/web/public/test/fakes", |
50 "//testing/gtest", | 51 "//testing/gtest", |
51 ] | 52 ] |
52 } | 53 } |
53 | 54 |
54 source_set("unit_tests_nonarc") { | 55 source_set("unit_tests_nonarc") { |
55 testonly = true | 56 testonly = true |
56 sources = [ | 57 sources = [ |
57 "find_in_page_js_unittest.mm", | 58 "find_in_page_js_unittest.mm", |
58 "js_findinpage_manager_unittest.mm", | 59 "js_findinpage_manager_unittest.mm", |
59 ] | 60 ] |
60 deps = [ | 61 deps = [ |
61 ":find_in_page", | 62 ":find_in_page", |
62 "//base", | 63 "//base", |
63 "//base/test:test_support", | 64 "//base/test:test_support", |
64 "//ios/chrome/browser/web:test_support", | 65 "//ios/chrome/browser/web:test_support", |
65 "//ios/web", | 66 "//ios/web", |
66 "//ios/web:test_support", | |
67 "//testing/gtest", | 67 "//testing/gtest", |
68 ] | 68 ] |
69 } | 69 } |
OLD | NEW |