Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions modules/brotli/1.2.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright 2025 The Brotli Authors. All rights reserved.
#
# Distributed under MIT license.
# See file LICENSE for detail or copy at https://opensource.org/licenses/MIT

"""Brotli reference implementation"""

module(
name = "brotli",
version = "1.2.0",
repo_name = "org_brotli",
)
15 changes: 15 additions & 0 deletions modules/brotli/1.2.0/patches/module_dot_bazel.patch
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
--- /dev/null
+++ MODULE.bazel
@@ -0,0 +1,12 @@
+# Copyright 2025 The Brotli Authors. All rights reserved.
+#
+# Distributed under MIT license.
+# See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
+
+"""Brotli reference implementation"""
+
+module(
+ name = "brotli",
+ version = "1.2.0",
+ repo_name = "org_brotli",
+)
41 changes: 41 additions & 0 deletions modules/brotli/1.2.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
bazel:
- 7.x
- 8.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@brotli//:brotli'
- '@brotli//:brotlicommon'
- '@brotli//:brotlidec'
- '@brotli//:brotlienc'
build_flags:
- "--cxxopt=-std=c++17"
- "--conlyopt=-Wno-error=conversion"
- "--conlyopt=-Wno-error=sign-conversion"
- "--copt=-Wno-error=conversion"
- "--copt=-Wno-error=sign-conversion"
- "--host_conlyopt=-Wno-error=conversion"
- "--host_copt=-Wno-error=conversion"
verify_targets_windows:
name: Verify build targets
platform: windows
bazel: ${{ bazel }}
build_flags:
- "--cxxopt=/std:c++17"
- "--cxxopt=/D_WIN32_WINNT=0x0602"
- "--cxxopt=/DWINVER=0x0602"
- "--host_cxxopt=/std:c++17"
build_targets:
- '@brotli//:brotli'
- '@brotli//:brotlicommon'
- '@brotli//:brotlidec'
- '@brotli//:brotlienc'
9 changes: 9 additions & 0 deletions modules/brotli/1.2.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"url": "https://github.com/google/brotli/archive/refs/tags/v1.2.0.tar.gz",
"integrity": "sha256-gWyW6Ojxk7QBUdrX6P83sSIdAZ28ucNc0/rb/mR33+w=",
"strip_prefix": "brotli-1.2.0",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-nevsandgCajYjqMcLQsJ8heZjPL58XUfAivY+DLDW38="
}
}
9 changes: 6 additions & 3 deletions modules/brotli/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@
"homepage": "https://github.com/google/brotli",
"maintainers": [
{
"email": "[email protected]",
"name": "No Maintainer Specified"
"email": "[email protected]",
"github": "eustas",
"name": "Evgenii Kliuchnikov",
"github_user_id": 203457
}
],
"repository": [
"github:google/brotli"
],
"versions": [
"1.1.0"
"1.1.0",
"1.2.0"
],
"yanked_versions": {}
}
17 changes: 17 additions & 0 deletions modules/brotli_go/1.2.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2025 The Brotli Authors. All rights reserved.
#
# Distributed under MIT license.
# See file LICENSE for detail or copy at https://opensource.org/licenses/MIT

"""Brotli reference implementation"""

module(
name = "brotli_go",
version = "1.2.0",
repo_name = "org_brotli_go",
)

bazel_dep(name = "rules_go", version = "0.54.1", repo_name = "io_bazel_rules_go")
bazel_dep(name = "gazelle", version = "0.43.0")

bazel_dep(name = "brotli", version = "1.2.0", repo_name = "org_brotli")
20 changes: 20 additions & 0 deletions modules/brotli_go/1.2.0/patches/module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -7,7 +7,7 @@

module(
name = "brotli_go",
- version = "1.1.0",
+ version = "1.2.0",
repo_name = "org_brotli_go",
)

@@ -15,7 +15,3 @@ bazel_dep(name = "rules_go", version = "0.54.1", repo_name = "io_bazel_rules_go"
bazel_dep(name = "gazelle", version = "0.43.0")

-bazel_dep(name = "brotli", version = "1.1.0", repo_name = "org_brotli")
+bazel_dep(name = "brotli", version = "1.2.0", repo_name = "org_brotli")
-local_path_override(
- module_name = "brotli",
- path = "..",
-)
32 changes: 32 additions & 0 deletions modules/brotli_go/1.2.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
bazel:
- 7.x
- 8.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@brotli_go//cbrotli'
build_flags:
- "--conlyopt=-Wno-error=conversion"
- "--conlyopt=-Wno-error=sign-conversion"
- "--copt=-Wno-error=conversion"
- "--copt=-Wno-error=sign-conversion"
- "--host_conlyopt=-Wno-error=conversion"
- "--host_copt=-Wno-error=conversion"
test_targets:
- '@brotli_go//cbrotli:cbrotli_test'
test_flags:
- "--conlyopt=-Wno-error=conversion"
- "--conlyopt=-Wno-error=sign-conversion"
- "--copt=-Wno-error=conversion"
- "--copt=-Wno-error=sign-conversion"
- "--host_conlyopt=-Wno-error=conversion"
- "--host_copt=-Wno-error=conversion"
9 changes: 9 additions & 0 deletions modules/brotli_go/1.2.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"url": "https://github.com/google/brotli/archive/refs/tags/v1.2.0.tar.gz",
"integrity": "sha256-gWyW6Ojxk7QBUdrX6P83sSIdAZ28ucNc0/rb/mR33+w=",
"strip_prefix": "brotli-1.2.0/go",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-G1P+uTxSr6cAax/Ca9w5agbNroLKq11tYtCOU61o/pA="
}
}
3 changes: 2 additions & 1 deletion modules/brotli_go/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"github:google/brotli"
],
"versions": [
"1.1.0.bcr.1"
"1.1.0.bcr.1",
"1.2.0"
],
"yanked_versions": {}
}
Loading