blob: 9cf95a818952b7dc034fd5f0d5f11bd3cacf9da1 [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.
source_set("handle-dup") {
testonly = true
sources = [ "handle-dup.cc" ]
deps = [
"//sdk/lib/fdio",
"//zircon/system/ulib/fbl",
"//zircon/system/ulib/zx",
"//zircon/system/ulib/zxtest",
]
# Need to disable null checks as we are going to pass nullptrs to functions that say they don't
# take nullptrs
public_configs = [ ":no_nonnull" ]
}
config("no_nonnull") {
cflags = [ "-Wno-nonnull" ]
}