| 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 bundle_data("resources") { | 7 bundle_data("resources") { |
| 8 sources = [ | 8 sources = [ |
| 9 "resources/expand_less.png", | 9 "resources/expand_less.png", |
| 10 "resources/expand_less@2x.png", | 10 "resources/expand_less@2x.png", |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 sources = [ | 109 sources = [ |
| 110 "touch_to_search_permissions_mediator+testing.h", | 110 "touch_to_search_permissions_mediator+testing.h", |
| 111 "touch_to_search_permissions_mediator+testing.mm", | 111 "touch_to_search_permissions_mediator+testing.mm", |
| 112 ] | 112 ] |
| 113 deps = [ | 113 deps = [ |
| 114 ":contextual_search", | 114 ":contextual_search", |
| 115 ] | 115 ] |
| 116 } | 116 } |
| 117 | 117 |
| 118 source_set("unit_tests") { | 118 source_set("unit_tests") { |
| 119 configs += [ "//build/config/compiler:enable_arc" ] |
| 119 testonly = true | 120 testonly = true |
| 120 sources = [ | 121 sources = [ |
| 121 "contextual_search_js_unittest.mm", | 122 "contextual_search_js_unittest.mm", |
| 122 "touch_to_search_permissions_mediator_unittest.mm", | 123 "touch_to_search_permissions_mediator_unittest.mm", |
| 123 ] | 124 ] |
| 124 deps = [ | 125 deps = [ |
| 125 ":contextual_search", | 126 ":contextual_search", |
| 126 ":resources_unit_tests", | 127 ":resources_unit_tests", |
| 127 ":test_support", | 128 ":test_support", |
| 128 "//base", | 129 "//base", |
| 129 "//base/test:test_support", | 130 "//base/test:test_support", |
| 130 "//components/pref_registry", | 131 "//components/pref_registry", |
| 131 "//components/prefs", | 132 "//components/prefs", |
| 132 "//components/search_engines", | 133 "//components/search_engines", |
| 133 "//ios/chrome/browser", | 134 "//ios/chrome/browser", |
| 134 "//ios/chrome/browser/browser_state:test_support", | 135 "//ios/chrome/browser/browser_state:test_support", |
| 135 "//ios/chrome/browser/search_engines", | 136 "//ios/chrome/browser/search_engines", |
| 136 "//ios/chrome/browser/sync", | 137 "//ios/chrome/browser/sync", |
| 137 "//ios/chrome/browser/sync:test_support", | 138 "//ios/chrome/browser/sync:test_support", |
| 138 "//ios/chrome/browser/web:test_support", | 139 "//ios/chrome/browser/web:test_support", |
| 139 "//ios/web", | 140 "//ios/web", |
| 140 "//ios/web:test_support", | 141 "//ios/web:test_support", |
| 141 "//net", | 142 "//net", |
| 142 "//testing/gtest", | 143 "//testing/gtest", |
| 143 "//third_party/ocmock", | 144 "//third_party/ocmock", |
| 144 ] | 145 ] |
| 145 } | 146 } |
| OLD | NEW |