| # Copyright 2017 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("image_util") { |
| sources = [ |
| "image_util.h", |
| "image_util.mm", |
| ] |
| deps = [ "//ui/base" ] |
| configs += [ "//build/config/compiler:enable_arc" ] |
| } |
| |
| source_set("web") { |
| sources = [ |
| "image_copier.h", |
| "image_copier.mm", |
| "image_saver.h", |
| "image_saver.mm", |
| ] |
| deps = [ |
| ":image_util", |
| "//base", |
| "//components/image_fetcher/core", |
| "//components/image_fetcher/ios", |
| "//components/strings", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser/main:public", |
| "//ios/chrome/browser/ui/alert_coordinator", |
| "//ios/chrome/browser/web", |
| "//ios/web", |
| "//ui/base", |
| ] |
| frameworks = [ "Photos.framework" ] |
| configs += [ |
| "//build/config/compiler:enable_arc", |
| "//build/config/ios:disable_implicit_retain_self_warning", |
| ] |
| } |