chromium/chrome/browser/facilitated_payments/BUILD.gn

# 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("facilitated_payments") {
  sources = [
    "payment_link_handler_factory.cc",
    "payment_link_handler_factory.h",
    "ui/chrome_facilitated_payments_client.cc",
    "ui/chrome_facilitated_payments_client.h",
  ]

  public_deps = [ "//chrome/browser:browser_public_dependencies" ]

  deps = [
    "//chrome/browser/autofill",
    "//chrome/browser/facilitated_payments/ui/android",
    "//chrome/browser/profiles:profile",
    "//components/autofill/core/browser",
    "//components/facilitated_payments/content/browser",
    "//components/facilitated_payments/core/browser",
  ]
}

source_set("unit_tests") {
  testonly = true

  sources = [ "ui/chrome_facilitated_payments_client_unittest.cc" ]

  deps = [
    ":facilitated_payments",
    "//base",
    "//chrome/test:test_support",
  ]
}