| 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", |
| 11 "find_in_page_controller.mm", | 11 "find_in_page_controller.mm", |
| 12 "find_in_page_model.h", | 12 "find_in_page_model.h", |
| 13 "find_in_page_model.mm", | 13 "find_in_page_model.mm", |
| 14 "find_tab_helper.h", |
| 15 "find_tab_helper.mm", |
| 14 "js_findinpage_manager.h", | 16 "js_findinpage_manager.h", |
| 15 "js_findinpage_manager.mm", | 17 "js_findinpage_manager.mm", |
| 16 ] | 18 ] |
| 17 deps = [ | 19 deps = [ |
| 18 ":injected_js", | 20 ":injected_js", |
| 19 "//base", | 21 "//base", |
| 20 "//ios/chrome/browser/web", | 22 "//ios/chrome/browser/web", |
| 21 "//ios/web", | 23 "//ios/web", |
| 22 ] | 24 ] |
| 23 libs = [ "CoreGraphics.framework" ] | 25 libs = [ "CoreGraphics.framework" ] |
| 24 } | 26 } |
| 25 | 27 |
| 26 # TODO(crbug.com/487804): use js_compile_checked instead once the errors have | 28 # TODO(crbug.com/487804): use js_compile_checked instead once the errors have |
| 27 # been fixed. | 29 # been fixed. |
| 28 js_compile_unchecked("injected_js") { | 30 js_compile_unchecked("injected_js") { |
| 29 sources = [ | 31 sources = [ |
| 30 "resources/find_in_page.js", | 32 "resources/find_in_page.js", |
| 31 ] | 33 ] |
| 32 } | 34 } |
| OLD | NEW |