xref: /aosp_15_r20/external/boringssl/src/MODULE.bazel (revision 8fb009dc861624b67b6cdb62ea21f0f22d0c584b)
1# Copyright (c) 2024, Google Inc.
2#
3# Permission to use, copy, modify, and/or distribute this software for any
4# purpose with or without fee is hereby granted, provided that the above
5# copyright notice and this permission notice appear in all copies.
6#
7# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
10# SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
12# OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
13# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14
15# When publishing to BCR, replace the version field below with
16# 0.0.0-YYYYMMDD-HASH, e.g. "0.0.0-20240126-22d349c".
17module(
18    name = "boringssl",
19    version = "0.0.0-dev",
20    compatibility_level = 2,
21)
22
23# In principle, googletest is only needed for tests and could be a
24# dev_dependency. But it would then be impossible for downstream modules to run
25# BoringSSL's tests. The downstream module provides the toolchain, so we may
26# need to request they run tests when triaging issues. If
27# https://github.com/bazelbuild/bazel/issues/22187 is ever fixed, we can change
28# this.
29bazel_dep(name = "googletest", version = "1.14.0.bcr.1")
30
31bazel_dep(name = "platforms", version = "0.0.9")
32bazel_dep(name = "rules_cc", version = "0.0.9")
33