chromium/ios/chrome/browser/autofill/model/credit_card/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.

source_set("credit_card") {
  sources = [
    "credit_card_data.h",
    "credit_card_data.mm",
  ]
  deps = [
    "//components/strings",
    "//ios/chrome/app/strings",
  ]
  public_deps = [ "//components/autofill/core/browser" ]
  frameworks = [ "UIKit.framework" ]
}

source_set("infobar_delegate") {
  sources = [
    "autofill_save_card_infobar_delegate_ios.h",
    "autofill_save_card_infobar_delegate_ios.mm",
  ]
  deps = [
    "//components/autofill/core/browser",
    "//components/autofill/ios/common",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "autofill_save_card_infobar_delegate_unittest.mm" ]
  deps = [
    ":infobar_delegate",
    "//base",
    "//base/test:test_support",
    "//components/autofill/core/browser",
    "//components/autofill/ios/common",
  ]
}