blob: 4165645df50fa623ea2de1a8330a7c864d7d56ad [file] [log] [blame] [edit]
# Copyright 2023 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/cpp/library_headers.gni")
group("testing") {
testonly = true
public_deps = [ ":ld-testing" ]
}
library_headers("headers") {
testonly = true
headers = []
public_deps = []
if (is_fuchsia) {
headers += [ "lib/ld/testing/test-processargs.h" ]
public_deps += [
"//zircon/system/ulib/fbl",
"//zircon/system/ulib/zx",
]
}
}
static_library("ld-testing") {
testonly = true
public_deps = [ ":headers" ]
sources = []
deps = []
if (is_fuchsia) {
sources += [ "test-processargs.cc" ]
deps += [
"//sdk/lib/fdio",
"//sdk/lib/stdcompat",
"//src/lib/elfldltl/testing",
"//third_party/googletest:gtest",
"//zircon/system/ulib/zx",
]
}
}