| # Copyright 2025 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/dist/resource.gni") |
| import("//build/testing/cc_test_executable.gni") |
| |
| # test_binary.zstd results from building this target under core.x64-release and compressing with |
| # zstd. For now, this is a manual process, which should be fine since it shouldn't need to change |
| # very often. |
| cc_test_executable("test_binary") { |
| testonly = true |
| sources = [ "test_binary_main.cc" ] |
| visibility = [] |
| } |
| |
| resource("test_binary_resource") { |
| testonly = true |
| sources = [ "test_binary.zstd" ] |
| outputs = [ "data/test_binary.zstd" ] |
| visibility = [ "//src/storage/blobfs/*" ] |
| } |
| |
| resource("blobfs_images") { |
| testonly = true |
| sources = [ |
| "blobfs.8.4.img.zstd", |
| "blobfs.9.4.img.zstd", |
| ] |
| outputs = [ "data/{{source_file_part}}" ] |
| visibility = [ "//src/storage/blobfs/*" ] |
| } |