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

# Copyright 2019 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/config/apple/swift_source_set.gni")
import("//build/config/chrome_build.gni")

source_set("colors") {
  sources = [
    "semantic_color_names.h",
    "semantic_color_names.mm",
  ]
  deps = [ "resources" ]
}

swift_source_set("swift") {
  bridge_header = "swift_bridge.h"
  sources = [ "Color+Chrome.swift" ]
  deps = [
    ":colors",
    "resources",
  ]

  frameworks = [
    "Foundation.framework",
    "SwiftUI.framework",
  ]
}