summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Vinh Tran <vinhdaitran@google.com> 2023-10-03 14:58:21 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-10-03 14:58:21 +0000
commit85455887b70cfbc9a3d581618e818f40f48c768f (patch)
tree052012f3a66fe670e30688c2b1e3cf8834f7eb6f
parent77b232da24f2570998e34cd0828c53673aba756e (diff)
parent0bc8c956fef56ac11dfbef0bf3f51141bb8a0b7a (diff)
Merge "Change bp2build to switch to using custom fdo_profile macro" into main
-rw-r--r--cc/fdo_profile.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/fdo_profile.go b/cc/fdo_profile.go
index 05a8f464b..cd3eb1e78 100644
--- a/cc/fdo_profile.go
+++ b/cc/fdo_profile.go
@@ -72,7 +72,8 @@ func (fp *fdoProfile) ConvertWithBp2build(ctx android.Bp2buildMutatorContext) {
ctx.CreateBazelTargetModuleWithRestrictions(
bazel.BazelTargetModuleProperties{
- Rule_class: "fdo_profile",
+ Bzl_load_location: "//build/bazel/rules/fdo:fdo_profile.bzl",
+ Rule_class: "fdo_profile",
},
android.CommonAttributes{
Name: fp.Name(),