blob: bfb2e77227f94bf386624572c15cb465e79c7d8c [file] [log] [blame]
# Copyright 2020 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/components.gni")
import("//build/test.gni")
group("test") {
testonly = true
deps = [ ":hash-table-test" ]
}
test("hash-table-test") {
if (is_fuchsia) {
configs += [ "//build/unification/config:zircon-migrated" ]
}
if (is_fuchsia) {
fdio_config = [ "//build/config/fuchsia:fdio_config" ]
if (configs + fdio_config - fdio_config != configs) {
configs -= fdio_config
}
}
visibility = [ ":*" ]
output_name = "trace-engine-hash-table-test"
sources = [
"../hash_table.h",
"hash_table_test.cc",
]
deps = [
"//sdk/lib/fdio",
"//zircon/public/lib/zxtest",
]
}
fuchsia_unittest_package("hash-table-test-pkg") {
package_name = "trace-engine-hash-table-test"
deps = [ ":hash-table-test" ]
}
group("tests") {
testonly = true
deps = [ ":hash-table-test-pkg" ]
}