chromium/ios/chrome/browser/ui/content_suggestions/price_tracking_promo/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("price_tracking_promo") {
  sources = [
    "price_tracking_promo_commands.h",
    "price_tracking_promo_item.h",
    "price_tracking_promo_item.mm",
    "price_tracking_promo_mediator.h",
    "price_tracking_promo_mediator.mm",
    "price_tracking_promo_view.h",
    "price_tracking_promo_view.mm",
  ]
  deps = [
    "//base:base",
    "//ios/chrome/app/strings:ios_strings_grit",
    "//ios/chrome/browser/shared/ui/symbols",
    "//ios/chrome/browser/shared/ui/util:util",
    "//ios/chrome/browser/ui/content_suggestions:constants",
    "//ios/chrome/browser/ui/content_suggestions/magic_stack:public",
    "//ios/chrome/common/ui/colors:colors",
    "//ios/chrome/common/ui/util:util",
    "//ui/base:base",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "price_tracking_promo_view+testing.h",
    "price_tracking_promo_view_unittest.mm",
  ]
  deps = [
    ":price_tracking_promo",
    "//ios/chrome/test:test_support",
    "//ios/web/public/test",
    "//testing/gtest",
  ]
}