mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-17 00:47:13 +00:00
Update vendored deps
This commit is contained in:
84
third_party/abseil-cpp/absl/hash/BUILD.gn
vendored
Normal file
84
third_party/abseil-cpp/absl/hash/BUILD.gn
vendored
Normal file
@@ -0,0 +1,84 @@
|
||||
# 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("//build_overrides/build.gni")
|
||||
import("//third_party/abseil-cpp/absl.gni")
|
||||
|
||||
absl_source_set("hash") {
|
||||
sources = [
|
||||
"internal/hash.cc",
|
||||
"internal/hash.h",
|
||||
]
|
||||
public = [ "hash.h" ]
|
||||
deps = [
|
||||
":city",
|
||||
":low_level_hash",
|
||||
"//third_party/abseil-cpp/absl/base:config",
|
||||
"//third_party/abseil-cpp/absl/base:core_headers",
|
||||
"//third_party/abseil-cpp/absl/base:endian",
|
||||
"//third_party/abseil-cpp/absl/container:fixed_array",
|
||||
"//third_party/abseil-cpp/absl/meta:type_traits",
|
||||
"//third_party/abseil-cpp/absl/numeric:int128",
|
||||
"//third_party/abseil-cpp/absl/strings",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
"//third_party/abseil-cpp/absl/types:variant",
|
||||
"//third_party/abseil-cpp/absl/utility",
|
||||
]
|
||||
}
|
||||
|
||||
absl_source_set("hash_testing") {
|
||||
testonly = true
|
||||
public = [ "hash_testing.h" ]
|
||||
deps = [
|
||||
":spy_hash_state",
|
||||
"//third_party/abseil-cpp/absl/meta:type_traits",
|
||||
"//third_party/abseil-cpp/absl/strings",
|
||||
"//third_party/abseil-cpp/absl/types:variant",
|
||||
"//third_party/googletest:gtest",
|
||||
]
|
||||
}
|
||||
|
||||
absl_source_set("spy_hash_state") {
|
||||
testonly = true
|
||||
public = [ "internal/spy_hash_state.h" ]
|
||||
deps = [
|
||||
":hash",
|
||||
"//third_party/abseil-cpp/absl/strings",
|
||||
"//third_party/abseil-cpp/absl/strings:str_format",
|
||||
]
|
||||
visibility = [ "//third_party/abseil-cpp/absl/*" ]
|
||||
}
|
||||
|
||||
absl_source_set("city") {
|
||||
public = [ "internal/city.h" ]
|
||||
sources = [ "internal/city.cc" ]
|
||||
deps = [
|
||||
"//third_party/abseil-cpp/absl/base:config",
|
||||
"//third_party/abseil-cpp/absl/base:core_headers",
|
||||
"//third_party/abseil-cpp/absl/base:endian",
|
||||
]
|
||||
}
|
||||
|
||||
absl_source_set("low_level_hash") {
|
||||
public = [ "internal/low_level_hash.h" ]
|
||||
sources = [ "internal/low_level_hash.cc" ]
|
||||
deps = [
|
||||
"//third_party/abseil-cpp/absl/base:config",
|
||||
"//third_party/abseil-cpp/absl/base:endian",
|
||||
"//third_party/abseil-cpp/absl/numeric:bits",
|
||||
"//third_party/abseil-cpp/absl/numeric:int128",
|
||||
]
|
||||
visibility = [ ":*" ]
|
||||
}
|
||||
|
||||
absl_source_set("low_level_hash_test") {
|
||||
testonly = true
|
||||
sources = [ "internal/low_level_hash_test.cc" ]
|
||||
deps = [
|
||||
":low_level_hash",
|
||||
"//third_party/abseil-cpp/absl/strings",
|
||||
"//third_party/googletest:gtest",
|
||||
"//third_party/googletest:gmock",
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user