diff --git a/launcher/artifact.bzl b/launcher/artifact.bzl index e121a78..9364a8c 100644 --- a/launcher/artifact.bzl +++ b/launcher/artifact.bzl @@ -14,7 +14,7 @@ """Generates Artifact messages to feed to other rules.""" -load("@rules_android//rules:rules.bzl", "AndroidAppsInfo") +load("//tools/build_defs/android:rules.bzl", "AndroidAppsInfo") load(":mime_types.bzl", "get_mime_type") load(":primitives.bzl", "absolute_path_struct", "enum", "path_proto") load(":utilities.bzl", "any_textproto", "signed_apk") diff --git a/launcher/launcher.bzl b/launcher/launcher.bzl index 2edacb5..49b434c 100644 --- a/launcher/launcher.bzl +++ b/launcher/launcher.bzl @@ -19,7 +19,7 @@ # and then use a text_proto_test to validate it. load("//provider:provider.bzl", "utp_provider", "utp_provider_tools") -load("@rules_android//rules:rules.bzl", "AndroidAppsInfo", "StarlarkApkInfo", "instrumented_app_info_aspect") +load("//tools/build_defs/android:rules.bzl", "AndroidAppsInfo", "StarlarkApkInfo", "instrumented_app_info_aspect") load(":artifact.bzl", "UTPArtifactInfo", "UTPArtifactsInfo", "apk_to_installable", "artifact_to_message", "data_to_dep", "file_to_dep") load(":entry_point.bzl", "UTPEntryPointInfo", "launcher_classpath") load(":environment.bzl", "EnvironmentInfo", "environment_to_message") @@ -485,5 +485,4 @@ utp_test = rule( providers = [RunnerConfigFeatureProviderInfo], ), ), - toolchains = ["@rules_android//toolchains/android:toolchain_type"], ) diff --git a/launcher/utilities.bzl b/launcher/utilities.bzl index 7f39eaf..9c4e049 100644 --- a/launcher/utilities.bzl +++ b/launcher/utilities.bzl @@ -14,7 +14,7 @@ """Utility functions.""" -load("@rules_android//rules:rules.bzl", "StarlarkApkInfo") +load("//tools/build_defs/android:rules.bzl", "StarlarkApkInfo") visibility([ "//launcher/...",