| # Copyright 2024 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 = [ |
| "content_facilitated_payments_driver.cc", |
| "content_facilitated_payments_driver.h", |
| "content_facilitated_payments_driver_factory.cc", |
| "content_facilitated_payments_driver_factory.h", |
| "facilitated_payments_api_client_factory.h", |
| "security_checker.cc", |
| "security_checker.h", |
| ] |
| |
| public_deps = [ |
| "//base", |
| "//components/facilitated_payments/core/browser", |
| "//content/public/browser", |
| "//mojo/public/cpp/bindings", |
| "//third_party/blink/public/common", |
| ] |
| |
| deps = [ |
| "//components/network_session_configurator/common", |
| "//components/security_state/content", |
| "//components/security_state/core", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ |
| "content_facilitated_payments_driver_factory_unittest.cc", |
| "content_facilitated_payments_driver_unittest.cc", |
| ] |
| |
| deps = [ |
| ":browser", |
| "//components/facilitated_payments/core/browser:test_support", |
| "//components/optimization_guide/core:test_support", |
| "//content/test:test_support", |
| "//testing/gtest", |
| ] |
| } |