You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
934 B

# Description:
# AWS C++ SDK
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
load("@bazel_skylib//lib:selects.bzl", "selects")
selects.config_setting_group(
name = "is_linux_debug",
match_all = ["@org_tensorflow//tensorflow:linux_x86_64", "@org_tensorflow//tensorflow:debug"],
)
cc_library(
name = "aws-checksums",
srcs = select({
"@org_tensorflow//tensorflow:windows": glob([
"source/visualc/*.c",
]),
"//conditions:default": [],
}) + glob([
"source/intel/*.c",
"source/arm/*.c",
"source/*.c",
]),
hdrs = glob([
"include/**/*.h"
]),
includes = [
"include/",
],
deps = [
"@aws-c-common",
],
defines = select({
":is_linux_debug": [
"DEBUG_BUILD"
],
"//conditions:default": [],
}),
)