diff options
| author | 2022-12-19 11:17:16 -0500 | |
|---|---|---|
| committer | 2023-01-11 16:29:12 -0500 | |
| commit | 5ccb460c42f4768be145fb5f5377afca3d3bcff9 (patch) | |
| tree | 53ceb3011aff7695ce5269425d3a7a0c1fa1981d /java/aar.go | |
| parent | e0598a1cbd20d410d33d7849a3ef9f06e683031e (diff) | |
Use centralized rules.bzl file for android rules in bp2build.
Change-Id: I6e4837d8b6715960337d0db9b36f8137efb5673e
Diffstat (limited to 'java/aar.go')
| -rw-r--r-- | java/aar.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/aar.go b/java/aar.go index f4a2ff287..60b04365d 100644 --- a/java/aar.go +++ b/java/aar.go @@ -1031,7 +1031,7 @@ func (a *AARImport) ConvertWithBp2build(ctx android.TopDownMutatorContext) { ctx.CreateBazelTargetModule( bazel.BazelTargetModuleProperties{ Rule_class: "aar_import", - Bzl_load_location: "@rules_android//rules:rules.bzl", + Bzl_load_location: "//build/bazel/rules/android:rules.bzl", }, android.CommonAttributes{Name: name}, &bazelAndroidLibraryImport{ @@ -1057,7 +1057,7 @@ func (a *AndroidLibrary) ConvertWithBp2build(ctx android.TopDownMutatorContext) name := a.Name() props := bazel.BazelTargetModuleProperties{ Rule_class: "android_library", - Bzl_load_location: "@rules_android//rules:rules.bzl", + Bzl_load_location: "//build/bazel/rules/android:rules.bzl", } ctx.CreateBazelTargetModule( |