dawn-cmake/third_party/abseil-cpp/absl/status/BUILD.gn

66 lines
2.0 KiB
Plaintext

# Copyright 2018 The Chromium 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("//third_party/abseil-cpp/absl.gni")
absl_source_set("status") {
public = [
"status.h",
"status_payload_printer.h",
]
sources = [
"internal/status_internal.h",
"status.cc",
"status_payload_printer.cc",
]
deps = [
"//third_party/abseil-cpp/absl/base:atomic_hook",
"//third_party/abseil-cpp/absl/base:core_headers",
"//third_party/abseil-cpp/absl/base:raw_logging_internal",
"//third_party/abseil-cpp/absl/base:strerror",
"//third_party/abseil-cpp/absl/container:inlined_vector",
"//third_party/abseil-cpp/absl/debugging:stacktrace",
"//third_party/abseil-cpp/absl/debugging:symbolize",
"//third_party/abseil-cpp/absl/functional:function_ref",
"//third_party/abseil-cpp/absl/strings",
"//third_party/abseil-cpp/absl/strings:cord",
"//third_party/abseil-cpp/absl/strings:str_format",
"//third_party/abseil-cpp/absl/types:optional",
]
}
absl_source_set("statusor") {
public = [ "statusor.h" ]
sources = [
"internal/statusor_internal.h",
"statusor.cc",
]
deps = [
":status",
"//third_party/abseil-cpp/absl/base",
"//third_party/abseil-cpp/absl/base:core_headers",
"//third_party/abseil-cpp/absl/base:raw_logging_internal",
"//third_party/abseil-cpp/absl/meta:type_traits",
"//third_party/abseil-cpp/absl/strings",
"//third_party/abseil-cpp/absl/types:variant",
"//third_party/abseil-cpp/absl/utility",
]
}
absl_source_set("statusor_test") {
testonly = true
sources = [ "statusor_test.cc" ]
deps = [
":status",
":statusor",
"//third_party/abseil-cpp/absl/base",
"//third_party/abseil-cpp/absl/memory",
"//third_party/abseil-cpp/absl/strings",
"//third_party/abseil-cpp/absl/types:any",
"//third_party/abseil-cpp/absl/utility",
"//third_party/googletest:gmock",
"//third_party/googletest:gtest",
]
}