| Index: ios/chrome/browser/ui/contextual_search/BUILD.gn
|
| diff --git a/ios/chrome/browser/ui/contextual_search/BUILD.gn b/ios/chrome/browser/ui/contextual_search/BUILD.gn
|
| index 3ec61b2d015309c2d51495e0f73104fce94049ae..40e833966809b38ad0b9beabbb9496aa8c6344b3 100644
|
| --- a/ios/chrome/browser/ui/contextual_search/BUILD.gn
|
| +++ b/ios/chrome/browser/ui/contextual_search/BUILD.gn
|
| @@ -2,6 +2,8 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +import("//ios/web/js_compile.gni")
|
| +
|
| bundle_data("resources") {
|
| sources = [
|
| "resources/expand_less.png",
|
| @@ -12,3 +14,19 @@ bundle_data("resources") {
|
| "{{bundle_resources_dir}}/{{source_file_part}}",
|
| ]
|
| }
|
| +
|
| +js_compile_unchecked("injected_js") {
|
| + sources = [
|
| + "resources/contextualsearch.js",
|
| + ]
|
| +}
|
| +
|
| +bundle_data("resources_unit_tests") {
|
| + testonly = true
|
| + sources = [
|
| + "resources/contextualsearch_unittest.js",
|
| + ]
|
| + outputs = [
|
| + "{{bundle_resources_dir}}/{{source_file_part}}",
|
| + ]
|
| +}
|
|
|