chromium/ios/chrome/common/ui/elements/BUILD.gn

# Copyright 2020 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/buildflag_header.gni")
import("//build/config/ios/ios_sdk.gni")

source_set("elements") {
  sources = [
    "gradient_view.h",
    "gradient_view.mm",
    "highlight_button.h",
    "highlight_button.mm",
  ]

  frameworks = [ "UIKit.framework" ]

  deps = [
    "//base",
    "//ios/chrome/common:timing",
    "//ios/chrome/common/ui/colors",
  ]
}

source_set("popover_label_view_controller") {
  sources = [
    "popover_label_view_controller.h",
    "popover_label_view_controller.mm",
  ]

  frameworks = [ "UIKit.framework" ]

  deps = [
    "//ios/chrome/common/ui/colors",
    "//ios/chrome/common/ui/util",
  ]
}

source_set("form_input_accessory") {
  sources = [
    "form_input_accessory_view.h",
    "form_input_accessory_view.mm",
    "form_input_accessory_view_text_data.h",
    "form_input_accessory_view_text_data.mm",
  ]
  deps = [
    ":elements",
    "//base",
    "//base:i18n",
    "//ios/chrome/common/ui/colors",
    "//ios/chrome/common/ui/elements/resources",
    "//ios/chrome/common/ui/util",
  ]
  frameworks = [ "UIKit.framework" ]
}