blob: 4f50812596ccc7445b5ad7a36741faf11c64f3bf [file] [log] [blame]
# Copyright 2018 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/package.gni")
import("//build/rust/rustc_binary.gni")
import("//build/rust/rustc_library.gni")
rustc_library("testing") {
with_unit_tests = true
edition = "2018"
sources = [ "src/lib.rs" ]
}
rustc_binary("testing_integration_test") {
deps = [ ":testing" ]
edition = "2018"
source_root = "tests/integration_test.rs"
sources = [ "tests/integration_test.rs" ]
}
rustc_binary("testing_integration_test_two") {
deps = [ ":testing" ]
edition = "2018"
source_root = "tests/integration_test_two.rs"
sources = [ "tests/integration_test_two.rs" ]
}
group("testing-tests") {
testonly = true
public_deps = [
":testing_integration_test",
":testing_integration_test_two",
":testing_test",
]
}