blob: e859e6f43e05fdb667c8b572bcbe7d126d72a4e7 [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"
},
]
}