Skip to content

Commit

Permalink
bazel: Load android_library from rules_android
Browse files Browse the repository at this point in the history
Loads android_library from rules_android as an incremental step towards
supporting the update to Bazel 8.0.0.

Bug: b/372510795
Change-Id: I5910aadf2d68f2011b4f3435bf5db275c08281ae
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/256832
Docs-Not-Needed: Armando Montanez <[email protected]>
Pigweed-Auto-Submit: Armando Montanez <[email protected]>
Reviewed-by: Ted Pudlik <[email protected]>
Lint: Lint 🤖 <[email protected]>
Commit-Queue: Auto-Submit <[email protected]>
Presubmit-Verified: CQ Bot Account <[email protected]>
  • Loading branch information
armandomontanez authored and CQ Bot Account committed Dec 30, 2024
1 parent 9a839e8 commit 256d1ec
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ bazel_dep(name = "pico-sdk", version = "2.0.0")
bazel_dep(name = "picotool", version = "2.0.0")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "protobuf", version = "28.2", repo_name = "com_google_protobuf")
bazel_dep(name = "rules_android", version = "0.1.1")
bazel_dep(name = "rules_cc", version = "0.0.10")
bazel_dep(name = "rules_fuzzing", version = "0.5.2")
bazel_dep(name = "rules_go", version = "0.49.0", repo_name = "io_bazel_rules_go")
Expand Down
1 change: 1 addition & 0 deletions pw_hdlc/java/main/dev/pigweed/pw_hdlc/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# License for the specific language governing permissions and limitations under
# the License.

load("@rules_android//android:library.bzl", "android_library")
load("@rules_java//java:defs.bzl", "java_library")
load("@rules_jvm_external//:defs.bzl", "artifact")

Expand Down
2 changes: 2 additions & 0 deletions pw_log/java/android_main/dev/pigweed/pw_log/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# License for the specific language governing permissions and limitations under
# the License.

load("@rules_android//android:library.bzl", "android_library")

android_library(
name = "pw_log",
srcs = ["Logger.java"],
Expand Down
1 change: 1 addition & 0 deletions pw_rpc/java/main/dev/pigweed/pw_rpc/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

# Generic client for pw_rpc, Pigweed's RPC system.

load("@rules_android//android:library.bzl", "android_library")
load("@rules_java//java:defs.bzl", "java_library")
load("@rules_jvm_external//:defs.bzl", "artifact")

Expand Down
1 change: 1 addition & 0 deletions pw_transfer/java/main/dev/pigweed/pw_transfer/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# Client for the pw_transfer RPC service, which is used to send and receive data
# over pw_rpc.

load("@rules_android//android:library.bzl", "android_library")
load("@rules_java//java:defs.bzl", "java_library")
load("@rules_jvm_external//:defs.bzl", "artifact")

Expand Down

0 comments on commit 256d1ec

Please sign in to comment.