| # 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") |
| |
| ctf_executable("settings_test_bin") { |
| testonly = true |
| |
| sources = [ "privacy_test.cc" ] |
| |
| deps = [ |
| "//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", |
| ] |
| } |
| |
| ctf_fuchsia_component("settings_test") { |
| testonly = true |
| manifest = "meta/settings_test.cml" |
| deps = [ ":settings_test_bin" ] |
| } |
| |
| ctf_fuchsia_test_package("fuchsia_settings_test") { |
| plasa_element = "fidl/fuchsia.settings/Privacy" |
| package_name = "fuchsia_settings_test" |
| test_components = [ ":settings_test" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":fuchsia_settings_test" ] |
| } |