Files
cariflex/tools/EVerest-main/third-party/bazel/openssl/BUILD.bazel
Eric F d398a6ced2 Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
2026-06-08 00:38:27 -04:00

28 lines
714 B
Python

# Currently the openssl version from does not support armv7. For this target we
# compile openssl with rules_foreign_cc and switch here based on the
# architecture.
load("@rules_cc//cc:defs.bzl", "cc_library")
config_setting(
name = "armv7",
constraint_values = ["@platforms//cpu:armv7"],
)
cc_library(
name = "ssl",
visibility = ["//visibility:public"],
deps = select({
":armv7": ["@openssl_source//:openssl"],
"//conditions:default": ["@openssl//:ssl"],
}),
)
cc_library(
name = "crypto",
visibility = ["//visibility:public"],
deps = select({
":armv7": ["@openssl_source//:openssl"],
"//conditions:default": ["@openssl//:crypto"],
}),
)