mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
179d85362d
* update copyright * undo hack from #18168 * update hash in platform-independence-pre-check
37 lines
928 B
Python
37 lines
928 B
Python
# Copyright (c) 2024 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
load("//bazel_tools:scala.bzl", "da_scala_benchmark_jmh", "da_scala_library", "da_scala_test")
|
|
load("@scala_version//:index.bzl", "scala_major_version")
|
|
|
|
da_scala_library(
|
|
name = "crypto",
|
|
srcs = glob(["src/main/scala/**/*.scala"]),
|
|
tags = ["maven_coordinates=com.daml:crypto:__VERSION__"],
|
|
visibility = [
|
|
"//visibility:public",
|
|
],
|
|
deps = [
|
|
"//libs-scala/scala-utils",
|
|
"@maven//:org_slf4j_slf4j_api",
|
|
],
|
|
)
|
|
|
|
da_scala_test(
|
|
name = "crypto-tests",
|
|
size = "small",
|
|
srcs = glob(["src/test/scala/**/*.scala"]),
|
|
deps = [
|
|
":crypto",
|
|
],
|
|
)
|
|
|
|
da_scala_benchmark_jmh(
|
|
name = "crypto-perf",
|
|
srcs = glob(["src/jmh/scala/**/*.scala"]),
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
":crypto",
|
|
],
|
|
)
|