| # Copyright 2022 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/generated_resource.gni") |
| import("//src/storage/fshost/fshost.gni") |
| |
| fshost_component_and_config("test-fshost") { |
| testonly = true |
| options = { |
| data_filesystem_format = "minfs" |
| } |
| } |
| |
| fshost_component_and_config("test-fshost-no-watcher") { |
| testonly = true |
| options = { |
| data_filesystem_format = "minfs" |
| disable_block_watcher = true |
| } |
| } |
| |
| # The device should use an all-0's master key, as we lack support for any |
| # secure on-device storage. This is only for use with test fshost packages. |
| generated_resource("test_zxcrypt_config") { |
| testonly = true |
| outputs = [ "config/zxcrypt" ] |
| contents = "null" |
| } |