| # 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/testing/host_test.gni") |
| import("//src/tests/assembly/assemble_image/test_assembly_config.gni") |
| |
| # Create a minimal system image that uses product assembly to |
| # configure the `configured_by_assembly` example package using structured |
| # configuration. |
| test_assembly_config("structured_config") { |
| base_packages = [ "//examples/assembly/structured_config/configured_by_assembly($default_toolchain)" ] |
| platform = { |
| feature_set_level = "bootstrap" |
| build_type = "eng" |
| storage = { |
| filesystems = { |
| image_name = "assemble_test" |
| volume = { |
| fvm = { |
| data = { |
| } |
| blob = { |
| } |
| } |
| } |
| } |
| } |
| } |
| additional_args = [ |
| "--config", |
| "assembly_example_enabled=true", |
| ] |
| } |