| # Copyright 2021 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| if (is_android) { |
| import("//build/config/android/rules.gni") |
| } |
| |
| if (is_android) { |
| java_cpp_enum("search_result_extractor_client_status_generated_enum") { |
| sources = [ "search_result_extractor_client_status.h" ] |
| } |
| } |
| |
| source_set("browser") { |
| sources = [ |
| "search_result_extractor_client.cc", |
| "search_result_extractor_client.h", |
| "search_result_extractor_client_status.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//components/continuous_search/common", |
| "//components/continuous_search/common/public/mojom", |
| "//components/google/core/common", |
| "//content/public/browser", |
| "//skia", |
| "//url", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| |
| sources = [ "search_result_extractor_client_unittest.cc" ] |
| |
| deps = [ |
| ":browser", |
| "//base", |
| "//components/continuous_search/browser/test:test_support", |
| "//components/continuous_search/common/public/mojom", |
| "//content/test:test_support", |
| "//testing/gmock", |
| "//testing/gtest", |
| "//url", |
| ] |
| } |