Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added partial BUILD.bazel for AccessibilityForwarder #231

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
Added partial BUILD.bazel for AccessibilityForwarder
PiperOrigin-RevId: 684876023
DeepMind authored and copybara-github committed Oct 15, 2024
commit 8535ee1be1534731031755c8e3337791f48932f8
12 changes: 12 additions & 0 deletions android_env/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Bazel build file for reinforcement Learning environment based on the Android operating system.
load("@rules_license//rules:license.bzl", "license")

package(
default_applicable_licenses = ["//:license"],
default_visibility = ["//visibility:public"],
)

licenses(["notice"])

# new-style license rule. This one has a default attribute that links to the LICENSE file.
license(name = "license")
23 changes: 23 additions & 0 deletions android_env/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
"""
Bazel dependencies
"""

bazel_dep(name = "rules_android", version = "0.1.1")
bazel_dep(name = "rules_kotlin", version = "1.9.5")
bazel_dep(name = "rules_jvm_external", version = "6.0")
bazel_dep(name = "rules_license", version = "0.0.8")

# =========================================
# Maven dependencies (external packages)
# =========================================
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven.install(
artifacts = [
"org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0",
"com.google.auto.value:auto-value-annotations:1.11.0",
],
repositories = [
"https://mvnrepository.com",
],
)
use_repo(maven, "maven")
6 changes: 6 additions & 0 deletions android_env/WORKSPACE.bzlmod
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This file marks the root of the Bazel workspace.
# See MODULE.bazel for external dependencies setup.

# Configures Bazel to use a local Android SDK to support building Android targets.
# Also need to set the $ANDROID_HOME environment variable to the path of your Android SDK.
android_sdk_repository(name = "androidsdk")