# 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("//base/allocator/allocator.gni") import("//testing/test.gni") executable("test_cpp_including_rust") { sources = [ "main.cc" ] deps = [ "//build/rust/tests/test_rust_static_library" ] } test("test_cpp_including_rust_unittests") { sources = [ "static_unittests.cc" ] deps = [ "//base", "//base/allocator:buildflags", "//base/test:run_all_unittests", "//build/rust/tests/test_rust_static_library", "//testing/gmock", "//testing/gtest", ] } if (is_component_build) { test("test_cpp_including_rust_dylib_unittests") { sources = [ "shared_unittests.cc" ] deps = [ "//base", "//base/allocator:buildflags", "//base/test:run_all_unittests", "//build/rust/tests/test_rust_shared_library", "//testing/gmock", "//testing/gtest", ] } }