Skip to content

Commit baf1ce5

Browse files
committed
Bazel 9 readiness: //adb
brotli is overridden to use an open PR: https://www.github.com/google/brotli/pull/1412 Bug: b/477396584
1 parent 0676559 commit baf1ce5

6 files changed

Lines changed: 14 additions & 1 deletion

File tree

.github/actions/bazel-9-readiness/action.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ runs:
4444
bazel aquery @libwebsockets//... > /dev/null
4545
bazel aquery @mako//... > /dev/null
4646
bazel aquery @markupsafe//... > /dev/null
47+
bazel aquery //adb > /dev/null
4748
bazel aquery //android:log_header > /dev/null
4849
bazel aquery //libbase > /dev/null
4950
bazel aquery //linux_headers > /dev/null

base/cvd/MODULE.bazel

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ bazel_dep(name = "aspect_bazel_lib", version = "2.19.3")
1010
bazel_dep(name = "aspect_rules_lint", version = "1.4.4", dev_dependency = True)
1111
bazel_dep(name = "bazel_skylib", version = "1.8.2", dev_dependency = True)
1212
bazel_dep(name = "boringssl", version = "0.20241024.0")
13-
bazel_dep(name = "brotli", version = "1.1.0")
13+
bazel_dep(name = "brotli")
1414
bazel_dep(name = "crc32c", version = "1.1.0")
1515
bazel_dep(name = "curl", version = "8.8.0.bcr.2")
1616
bazel_dep(name = "cxx.rs", version = "1.0.188")
@@ -40,6 +40,8 @@ bazel_dep(name = "protobuf", version = "31.1")
4040
bazel_dep(name = "rootcanal")
4141
bazel_dep(name = "rules_cc", version = "0.2.16")
4242
bazel_dep(name = "rules_flex", version = "0.4")
43+
# this is normally an indirect dependency, but for bazel 9 we need a higher version
44+
bazel_dep(name = "rules_foreign_cc", version = "0.15.1")
4345
bazel_dep(name = "rules_license", version = "1.0.0")
4446
# this is normally an indirect dependency, but for bazel 9 we need a higher version
4547
bazel_dep(name = "rules_nodejs", version = "6.7.3")

base/cvd/adb/BUILD.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
load("@protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
2+
load("@protobuf//bazel:proto_library.bzl", "proto_library")
13
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
4+
25
load("//:build_variables.bzl", "COPTS")
36

47
package(

base/cvd/build_external/brotli/BUILD.bazel

Whitespace-only changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
git_override(
2+
module_name = "brotli",
3+
# https://github.com/google/brotli/pull/1412
4+
commit = "e2bb23c8d9e00606ad274ec9efb4970c7402b469",
5+
remote = "https://github.com/robinlinden/brotli",
6+
)

base/cvd/build_external/build_external.MODULE.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ include("//build_external/android_system_extras:android_system_extras.MODULE.baz
33
include("//build_external/android_tools_netsim:android_tools_netsim.MODULE.bazel")
44
include("//build_external/arm_optimized_routines:arm_optimized_routines.MODULE.bazel")
55
include("//build_external/avb:avb.MODULE.bazel")
6+
include("//build_external/brotli:brotli.MODULE.bazel")
67
include("//build_external/casimir:casimir.MODULE.bazel")
78
include("//build_external/crosvm:crosvm.MODULE.bazel")
89
include("//build_external/dosfstools:dosfstools.MODULE.bazel")

0 commit comments

Comments
 (0)