blob: bf02dd04260c72054612a882ef7cfaa94d45bdfc [file] [log] [blame]
# Copyright 2022 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/components.gni")
import("//build/rust/rustc_library.gni")
group("fidl_fuchsia_ui_views_ext") {
testonly = true
deps = [ ":tests" ]
}
group("tests") {
testonly = true
deps = [ ":test-pkg" ]
}
rustc_library("lib") {
name = "fidl_fuchsia_ui_views_ext"
with_unit_tests = true
edition = "2021"
deps = [
"//sdk/fidl/fuchsia.ui.views:fuchsia.ui.views_rust",
"//src/lib/zircon/rust:fuchsia-zircon",
]
test_deps = [ "//src/lib/ui/fuchsia-scenic" ]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("test-pkg") {
package_name = "fidl_fuchsia_ui_views_ext-test"
deps = [ ":lib_test" ]
}