diff --git a/modules/tink_cc/2.1.3/MODULE.bazel b/modules/tink_cc/2.1.3/MODULE.bazel new file mode 100644 index 00000000000..de0136edb1b --- /dev/null +++ b/modules/tink_cc/2.1.3/MODULE.bazel @@ -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") diff --git a/modules/tink_cc/2.1.3/presubmit.yml b/modules/tink_cc/2.1.3/presubmit.yml new file mode 100644 index 00000000000..7632d679dc5 --- /dev/null +++ b/modules/tink_cc/2.1.3/presubmit.yml @@ -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' diff --git a/modules/tink_cc/2.1.3/source.json b/modules/tink_cc/2.1.3/source.json new file mode 100644 index 00000000000..f9bc30a438d --- /dev/null +++ b/modules/tink_cc/2.1.3/source.json @@ -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 +} diff --git a/modules/tink_cc/metadata.json b/modules/tink_cc/metadata.json new file mode 100644 index 00000000000..468c74fdada --- /dev/null +++ b/modules/tink_cc/metadata.json @@ -0,0 +1,17 @@ +{ + "homepage": "https://github.com/tink-crypto/tink-cc", + "maintainers": [ + { + "email": "ambrosin@google.com", + "github": "morambro", + "name": "Moreno Ambrosin" + } + ], + "repository": [ + "github:tink-crypto/tink-cc" + ], + "versions": [ + "2.1.3" + ], + "yanked_versions": {} +}