blob: bb1b647f8c6ca44e570896aebf52c6c70687b717 [file] [log] [blame]
# Copyright 2024 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/components.gni")
import("//build/test.gni")
cc_test_executable("test") {
testonly = true
output_name = "storage_power_test"
sources = [ "test.cc" ]
deps = [
"//sdk/fidl/fuchsia.diagnostics:fuchsia.diagnostics_cpp",
"//sdk/lib/component/incoming/cpp",
"//sdk/lib/diagnostics/reader/cpp:archive_reader",
"//sdk/lib/fdio",
"//src/lib/fxl/test:gtest_main",
"//src/lib/testing/loop_fixture",
"//src/power/system-activity-governor/fake/fidl:test.sagcontrol_cpp",
"//src/power/testing/system-integration/util",
]
}
fuchsia_test_component("bootstrap_component") {
component_name = "storage_power_test_component"
manifest = "meta/storage-power-test.cml"
deps = [ ":test" ]
test_type = "bootstrap_driver_system"
}
fuchsia_bootfs_test_package("bootstrap_pkg") {
package_name = "storage_power_test_pkg"
test_components = [ ":bootstrap_component" ]
test_specs = {
environments = [ vim3_env ]
}
}