blob: a509f127ba468c56c1aa5682028d9824d2a588be [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") {
configs += [ "//build/unification/config:zircon-migrated" ]
testonly = true
sources = [ "handle-dup.cc" ]
deps = [
"//sdk/lib/fdio",
"//zircon/public/lib/fbl",
"//zircon/public/lib/zx",
"//zircon/public/lib/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" ]
}