blob: 744eed832808728807803287d6fc072a80b03dea [file] [log] [blame]
# Copyright 2016 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/config/fuchsia/rules.gni")
import("//garnet/lib/magma/gnbuild/magma.gni")
shared_ldflags = "-Wl,--no-undefined"
driver_module("msd_intel") {
output_name = "libmsd_intel"
deps = [
"src",
"src:main",
]
ldflags = [ "$shared_ldflags" ]
}
driver_module("msd_intel_test") {
testonly = true
output_name = "libmsd_intel_test"
deps = [
"src",
"src:test_driver",
]
ldflags = [ "$shared_ldflags" ]
}
group("tests") {
testonly = true
public_deps = [
"tests/unit_tests:msd_intel_gen_nonhardware_tests",
]
}
group("indriver_gtest") {
testonly = true
deps = [
"tests:gtest",
]
}
# This config allows inclusion of headers via relative paths
config("msd_tests_include_config") {
include_dirs = [ "tests" ]
}
# This config allows inclusion of headers via relative paths
config("msd_src_include_config") {
include_dirs = [ "src" ]
}