Fix module-file name collisions

Bazel doesn't allow a module and file with the same name.

Bug: 198619163
Test: Presubmits
Change-Id: I345086764071ca649de1ac11804e21675cd5e59d
This commit is contained in:
Cole Faust 2022-09-05 18:12:42 -07:00
parent 2dcde2a36a
commit 7e279e97a3
3 changed files with 7 additions and 5 deletions

View file

@ -53,8 +53,9 @@ cc_test {
}
sh_binary_host {
name: "adb-remount-test.sh",
name: "adb-remount-test",
src: "adb-remount-test.sh",
filename_from_src: true,
target: {
darwin: {
enabled: false,
@ -68,7 +69,7 @@ sh_binary_host {
sh_test {
name: "adb-remount-sh",
src: "adb-remount-test.sh",
filename: "adb-remount-test.sh",
filename_from_src: true,
test_suites: ["general-tests"],
test_config: "adb-remount-sh.xml",
}

View file

@ -276,7 +276,7 @@ cc_binary {
"init.rc",
"ueventd.rc",
"e2fsdroid",
"extra_free_kbytes.sh",
"extra_free_kbytes",
"make_f2fs",
"mke2fs",
"sload_f2fs",
@ -609,6 +609,7 @@ cc_library_host_static {
}
sh_binary {
name: "extra_free_kbytes.sh",
name: "extra_free_kbytes",
src: "extra_free_kbytes.sh",
filename_from_src: true,
}

View file

@ -80,7 +80,7 @@ cc_binary_host {
}
python_binary_host {
name: "simg_dump.py",
name: "simg_dump",
main: "simg_dump.py",
srcs: ["simg_dump.py"],
version: {