blob: 6031178427e20e94288d2cb9581e66c8f200d198 [file] [log] [blame]
# Copyright 2019 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_library.gni")
import("//build/go/go_test.gni")
group("tests") {
testonly = true
deps = []
if (host_os == "linux") {
deps += [ ":oom_tests($host_toolchain)" ]
}
}
if (is_linux) {
go_library("lib") {
testonly = true
deps = [ "//tools/emulator/emulatortest" ]
sources = [ "oom_test.go" ]
}
go_test("oom_tests") {
gopackages = [ "go.fuchsia.dev/fuchsia/src/tests/oom" ]
deps = [ ":lib" ]
non_go_deps = [ "//build/images/fuchsia:fuchsia_zbi_for_host_tests" ]
}
}