# Copyright 2021 The Chromium Authors | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
import("//build/rust/rust_static_library.gni") | |
rust_static_library("test_rust_static_library_non_standard_arrangement") { | |
sources = [ "foo.rs" ] | |
crate_root = "foo.rs" | |
unit_test_target = "foo_tests" | |
# TODO(danakj): We should write a gtest binary instead of using native rust | |
# tests outside of a cargo_crate(). | |
build_native_rust_unit_tests = true | |
} |