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