# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

assert(is_fuchsia)

import("//build/fuchsia/sdk.gni")

source_set("check_view") {
  sources = [
    "check_view.cc",
    "check_view.h",
  ]

  deps = [
    "$fuchsia_sdk_root/fidl:fuchsia.ui.observation.geometry",
    "$fuchsia_sdk_root/pkg:zx",
    "//flutter/fml",
  ]
}

source_set("screenshot") {
  sources = [
    "screenshot.cc",
    "screenshot.h",
  ]

  deps = [
    "$fuchsia_sdk_root/fidl:fuchsia.logger",
    "$fuchsia_sdk_root/pkg:zx",
    "//flutter/fml",
  ]
}

source_set("portable_ui_test") {
  testonly = true
  sources = [
    "portable_ui_test.cc",
    "portable_ui_test.h",
  ]

  deps = [
    ":check_view",
    "$fuchsia_sdk_root/fidl:fuchsia.logger",
    "$fuchsia_sdk_root/fidl:fuchsia.ui.app",
    "$fuchsia_sdk_root/fidl:fuchsia.ui.composition",
    "$fuchsia_sdk_root/fidl:fuchsia.ui.display.singleton",
    "$fuchsia_sdk_root/fidl:fuchsia.ui.input",
    "$fuchsia_sdk_root/fidl:fuchsia.ui.observation.geometry",
    "$fuchsia_sdk_root/fidl:fuchsia.ui.test.input",
    "$fuchsia_sdk_root/fidl:fuchsia.ui.test.scene",
    "$fuchsia_sdk_root/pkg:async-loop-testing",
    "$fuchsia_sdk_root/pkg:sys_component_cpp_testing",
    "//flutter/fml",
  ]
}
