Fix module-file name collisions
Bazel doesn't allow a module and file with the same name.
Bug: 198619163
Test: adb root; adb shell /system/bin/migrate_legacy_obb_data; adb logcat | grep obb shows "migrate_legacy_obb_data: No legacy obb data to migrate."
Change-Id: I1b5d57e6d3b2cf6f16f1d4b5039172e34be46d70
diff --git a/cmds/installd/Android.bp b/cmds/installd/Android.bp
index 0f7c489..e9b431a 100644
--- a/cmds/installd/Android.bp
+++ b/cmds/installd/Android.bp
@@ -173,7 +173,7 @@
// Needs to be wherever installd is as it's execed by
// installd.
- required: ["migrate_legacy_obb_data.sh"],
+ required: ["migrate_legacy_obb_data"],
}
// OTA chroot tool
@@ -299,6 +299,6 @@
// Script to migrate legacy obb data.
sh_binary {
- name: "migrate_legacy_obb_data.sh",
+ name: "migrate_legacy_obb_data",
src: "migrate_legacy_obb_data.sh",
}