blob: dd40c33d933d01c961ee8c1ec45ca86ac0eb737c [file] [log] [blame] [edit]
# Copyright 2021 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("//sdk/ctf/build/ctf.gni")
executable("settings_test_bin") {
testonly = true
sources = [ "privacy_test.cc" ]
deps = [
"testing/fidl:fuchsia.settings.test_hlcpp",
"//sdk/fidl/fuchsia.component:fuchsia.component_hlcpp",
"//sdk/fidl/fuchsia.component.sandbox:fuchsia.component.sandbox_hlcpp",
"//sdk/fidl/fuchsia.settings:fuchsia.settings_hlcpp",
"//sdk/lib/sys/cpp",
"//sdk/testing/fidl:fidl_test_hlcpp",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
"//zircon/system/ulib/zxtest",
]
}
fuchsia_component("test-suite") {
testonly = true
manifest = "meta/settings_test.cml"
deps = [ ":settings_test_bin" ]
}
ctf_fuchsia_package("fuchsia-settings-tests") {
package_name = "fuchsia-settings-tests"
testonly = true
deps = [ ":test-suite" ]
}
fuchsia_test_component("test-root") {
testonly = true
manifest = "meta/test-root.cml"
test_type = "ctf"
}
fuchsia_test_package("fuchsia-settings-tests-package") {
test_components = [ ":test-root" ]
subpackages = [
":fuchsia-settings-tests",
"testing/realm-factory",
]
}
group("tests") {
testonly = true
deps = [
":fuchsia-settings-tests-package",
":fuchsia-settings-tests_archive",
]
}