Internal changes

PiperOrigin-RevId: 822002697
This commit is contained in:
Danila Kutenin
2025-10-21 08:32:58 +00:00
parent ec20182d26
commit 368c77c96c
10 changed files with 171 additions and 31 deletions

View File

@@ -30,7 +30,7 @@ package(default_visibility = ["//visibility:public"])
licenses(["notice"])
SNAPPY_VERSION = (1, 1, 10)
SNAPPY_VERSION = (1, 2, 2)
config_setting(
name = "windows",
@@ -40,7 +40,7 @@ config_setting(
cc_library(
name = "config",
hdrs = ["config.h"],
defines = ["HAVE_CONFIG_H"]
defines = ["HAVE_CONFIG_H"],
)
cc_library(
@@ -70,10 +70,11 @@ cc_library(
"snappy-sinksource.h",
],
copts = select({
":windows": [],
"//conditions:default": [
"-Wno-sign-compare",
]}),
":windows": [],
"//conditions:default": [
"-Wno-sign-compare",
],
}),
deps = [
":config",
":snappy-stubs-internal",