blob: fbab5d83e8709794098435ab0f064a4414a7a330 [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/rust/rustc_library.gni")
import("//build/test/test_package.gni")
rustc_library("static_linking") {
name = "static_linking"
with_unit_tests = true
version = "0.1.0"
edition = "2018"
non_rust_deps = [ ":static" ]
}
static_library("static") {
sources = [
"static.c",
]
}
unittest_package("static_linking_tests") {
deps = [
":static_linking_test",
]
tests = [
{
name = "static_linking_lib_test"
},
]
}