# Copyright 2022 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. static_library("browser") { sources = [ "commerce_internals_ui.cc", "commerce_internals_ui.h", "commerce_tab_helper.cc", "commerce_tab_helper.h", "web_contents_wrapper.cc", "web_contents_wrapper.h", "web_extractor_impl.cc", "web_extractor_impl.h", ] deps = [ "//base", "//components/commerce/core:shopping_service", "//components/commerce/core/mojom:mojo_bindings", "//components/resources:components_resources_grit", "//content/public/browser", "//mojo/public/cpp/bindings", "//ui/webui", ] public_deps = [ "//components/commerce/core/internals" ] } source_set("unit_tests") { testonly = true sources = [ "web_extractor_impl_unittest.cc" ] deps = [ ":browser", "//base", "//base/test:test_support", "//components/commerce/core/mojom:mojo_bindings", "//content/public/browser", "//content/test:test_support", "//testing/gtest", ] } if (!is_android) { static_library("hint") { sources = [ "hint/commerce_hint_tab_helper.cc", "hint/commerce_hint_tab_helper.h", ] deps = [ "//base", "//components/commerce/core:heuristics_provider", "//content/public/browser", ] } }