blob: 3edefc472cfa1bfed1f91febd8ae425a5c3cfaaf [file] [log] [blame]
# Copyright 2019 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_test.gni")
rustc_test("test") {
name = "regulatory_region_integration_test"
edition = "2021"
deps = [
"//sdk/fidl/fuchsia.location.namedplace:fuchsia.location.namedplace_rust",
"//sdk/fidl/fuchsia.sys2:fuchsia.sys2_rust",
"//src/lib/fuchsia",
"//src/lib/fuchsia-component",
"//src/lib/fuchsia-component-test",
"//third_party/rust_crates:anyhow",
]
sources = [ "src/lib.rs" ]
}
group("tests") {
testonly = true
deps = [ ":regulatory-region-integration-tests" ]
}
fuchsia_test_component("regulatory_region_integration_test_component") {
component_name = "regulatory_region_integration_test"
manifest = "meta/regulatory-region-integration-test.cml"
deps = [ ":test" ]
}
fuchsia_test_package("regulatory-region-integration-tests") {
test_components = [ ":regulatory_region_integration_test_component" ]
deps = [
"//src/connectivity/location/regulatory_region:regulatory_region_component",
]
}