Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adding BCR entry for https://github.com/tink-crypto/tink-cc

---------

Co-authored-by: Yun Peng <[email protected]>
  • Loading branch information
2 people authored and aiuto committed Jun 3, 2024
1 parent 055dd1e commit 7ebe635
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 0 deletions.
32 changes: 32 additions & 0 deletions modules/tink_cc/2.1.3/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""Tink C++ Bazel Module definition."""
module(
name = "tink_cc",
version = "2.1.3",
)

bazel_dep(name = "rules_cc", version = "0.0.5")
bazel_dep(name = "rules_proto", version = "5.3.0-21.7")
bazel_dep(name = "platforms", version = "0.0.6")
bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "googletest", version = "1.12.1", repo_name = "com_google_googletest")
bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf")
bazel_dep(name = "boringssl", version = "0.0.0-20230215-5c22014")
bazel_dep(name = "rapidjson", version = "1.1.0")
bazel_dep(name = "abseil-cpp", version = "20230802.0", repo_name="com_google_absl")

wycheproof_extension = use_extension("//:extensions.bzl", "wycheproof_extension")
use_repo(wycheproof_extension, "wycheproof")
23 changes: 23 additions & 0 deletions modules/tink_cc/2.1.3/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
matrix:
platform:
- ubuntu2004
- windows
bazel: [6.x, 7.x]
tasks:
verify_targets:
name: Verify tink-cc build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_flags:
- '--cxxopt=-std=c++14'
build_targets:
- '@tink_cc//tink:tink_cc'
verify_targets_macos:
name: Verify tink-cc build targets (macOS)
platform: macos
bazel: 7.x
build_flags:
- '--cxxopt=-std=c++14'
- "--copt=-isystem/usr/local/include"
build_targets:
- '@tink_cc//tink:tink_cc'
6 changes: 6 additions & 0 deletions modules/tink_cc/2.1.3/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"url": "https://github.com/tink-crypto/tink-cc/releases/download/v2.1.3/tink-cc-2.1.3.zip",
"integrity": "sha256-FKP2SlbX6Sloidfrp6O4eHwygeW8V5EDPFS6+BCgtu8=",
"strip_prefix": "tink-cc-2.1.3",
"patch_strip": 1
}
17 changes: 17 additions & 0 deletions modules/tink_cc/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/tink-crypto/tink-cc",
"maintainers": [
{
"email": "[email protected]",
"github": "morambro",
"name": "Moreno Ambrosin"
}
],
"repository": [
"github:tink-crypto/tink-cc"
],
"versions": [
"2.1.3"
],
"yanked_versions": {}
}

0 comments on commit 7ebe635

Please sign in to comment.