| # Copyright 2017 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/go/go_test.gni") |
| import("//build/go/go_library.gni") |
| import("//build/go/toolchain.gni") |
| import("//build/package.gni") |
| |
| go_library("device_settings") { |
| name = "device_settings" |
| } |
| |
| go_test("device_settings_integration_test") { |
| gopackage = "device_settings" |
| |
| deps = [ |
| ":device_settings", |
| "//garnet/public/fidl/fuchsia.sys($go_toolchain)", |
| "//garnet/public/fidl/fuchsia.devicesettings($go_toolchain)", |
| "//garnet/public/lib/component/go/src/app", |
| ] |
| } |
| |
| package("device_settings_gotests") { |
| testonly = true |
| |
| deps = [ |
| ":device_settings_integration_test", |
| ] |
| tests = [ |
| { |
| name = "device_settings_integration_test" |
| }, |
| ] |
| } |