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