chromium/ios/chrome/browser/ui/scanner/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.

source_set("scanner") {
  sources = [
    "camera_controller.h",
    "camera_controller.mm",
    "preview_overlay_view.h",
    "preview_overlay_view.mm",
    "scanner_alerts.h",
    "scanner_alerts.mm",
    "scanner_presenting.h",
    "scanner_transitioning_delegate.h",
    "scanner_transitioning_delegate.mm",
    "scanner_view.h",
    "scanner_view.mm",
    "scanner_view_controller.h",
    "scanner_view_controller.mm",
    "video_preview_view.h",
    "video_preview_view.mm",
  ]
  deps = [
    ":camera_state",
    "//base",
    "//components/version_info",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/shared/public/commands",
    "//ios/chrome/browser/shared/ui/symbols:icons",
    "//ios/chrome/browser/shared/ui/util",
    "//ios/chrome/browser/ui/scanner/resources",
    "//ios/chrome/common:ios_app_bundle_id_prefix_buildflags",
    "//ios/chrome/common/ui/util",
    "//ios/third_party/material_components_ios",
    "//ui/base",
  ]
  frameworks = [
    "AVFoundation.framework",
    "UIKit.framework",
  ]
}

source_set("camera_state") {
  sources = [ "camera_state.h" ]
}