| 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") |
| 6 |
| 5 bundle_data("resources") { | 7 bundle_data("resources") { |
| 6 sources = [ | 8 sources = [ |
| 7 "resources/expand_less.png", | 9 "resources/expand_less.png", |
| 8 "resources/expand_less@2x.png", | 10 "resources/expand_less@2x.png", |
| 9 "resources/expand_less@3x.png", | 11 "resources/expand_less@3x.png", |
| 10 ] | 12 ] |
| 11 outputs = [ | 13 outputs = [ |
| 12 "{{bundle_resources_dir}}/{{source_file_part}}", | 14 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 13 ] | 15 ] |
| 14 } | 16 } |
| 17 |
| 18 js_compile_unchecked("injected_js") { |
| 19 sources = [ |
| 20 "resources/contextualsearch.js", |
| 21 ] |
| 22 } |
| 23 |
| 24 bundle_data("resources_unit_tests") { |
| 25 testonly = true |
| 26 sources = [ |
| 27 "resources/contextualsearch_unittest.js", |
| 28 ] |
| 29 outputs = [ |
| 30 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 31 ] |
| 32 } |
| OLD | NEW |