chromium/ios/chrome/browser/shared/ui/util/image/BUILD.gn

# Copyright 2017 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("image") {
  sources = [
    "image_util.h",
    "image_util.mm",
  ]
  deps = [ "//ui/base" ]
  frameworks = [ "UniformTypeIdentifiers.framework" ]
}

source_set("web") {
  sources = [
    "image_copier.h",
    "image_copier.mm",
    "image_saver.h",
    "image_saver.mm",
  ]
  deps = [
    ":image",
    "//base",
    "//components/image_fetcher/core",
    "//components/image_fetcher/ios",
    "//components/strings",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/shared/coordinator/alert",
    "//ios/chrome/browser/shared/model/browser",
    "//ios/chrome/browser/shared/ui/util",
    "//ios/chrome/browser/web/model/image_fetch",
    "//ios/web",
    "//ui/base",
  ]
  frameworks = [
    "Photos.framework",
    "UniformTypeIdentifiers.framework",
  ]
}