From 5f90da372edbc2726fad9cb637d9772c197bc9f2 Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Fri, 29 Apr 2022 13:37:43 -0700 Subject: [PATCH] Update locations of apex bzl files Bug: 230893497 Test: ./build/bazel/vendor/google/build_mainline_modules.sh Test: b build //build/bazel/examples/apex/minimal:build.bazel.examples.apex.minimal Change-Id: Ib16bece720a9167d02d2ddd8c4f11257634d382b --- apex/apex.go | 2 +- apex/key.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apex/apex.go b/apex/apex.go index f16b72d96..c77986880 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -3523,7 +3523,7 @@ func (a *apexBundle) ConvertWithBp2build(ctx android.TopDownMutatorContext) { props := bazel.BazelTargetModuleProperties{ Rule_class: "apex", - Bzl_load_location: "//build/bazel/rules:apex.bzl", + Bzl_load_location: "//build/bazel/rules/apex:apex.bzl", } ctx.CreateBazelTargetModule(props, android.CommonAttributes{Name: a.Name()}, attrs) diff --git a/apex/key.go b/apex/key.go index 829410ed2..9c5bb05e7 100644 --- a/apex/key.go +++ b/apex/key.go @@ -230,7 +230,7 @@ func apexKeyBp2BuildInternal(ctx android.TopDownMutatorContext, module *apexKey) props := bazel.BazelTargetModuleProperties{ Rule_class: "apex_key", - Bzl_load_location: "//build/bazel/rules:apex_key.bzl", + Bzl_load_location: "//build/bazel/rules/apex:apex_key.bzl", } ctx.CreateBazelTargetModule(props, android.CommonAttributes{Name: module.Name()}, attrs)