Fix module-file name collisions

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

Bug: 198619163
Test: Presubmits
Change-Id: Ie6a8f5153086ce7d645bf56f02def446dbb4dee5
Merged-In: I95218c593ee614234d60f1d411332a398416923a
This commit is contained in:
Cole Faust 2022-09-01 15:58:20 -07:00
parent cc6d580152
commit 5c59fcd996
3 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,7 @@ package {
} }
sh_binary { sh_binary {
name: "fingerprint.extension.sh", name: "fingerprint.extension",
init_rc: ["init.fingerprint.extension.rc"], init_rc: ["init.fingerprint.extension.rc"],
src: "fingerprint.extension.sh", src: "fingerprint.extension.sh",
system_ext_specific: true, system_ext_specific: true,

View file

@ -6,5 +6,5 @@ SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/fingerprint-ex
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/fingerprint-extension/system_ext/private/ SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/fingerprint-extension/system_ext/private/
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
fps_ext_bug_lib \ fps_ext_bug_lib \
fingerprint.extension.sh fingerprint.extension
endif endif

View file

@ -1,18 +1,18 @@
# init-fingerprint-extension-sh is to send intent command to app # init-fingerprint-extension-sh is to send intent command to app
# for tracking fingerprint issue. # for tracking fingerprint issue.
service fingerprint-extension-bug-latency /system_ext/bin/fingerprint.extension.sh latency service fingerprint-extension-bug-latency /system_ext/bin/fingerprint.extension latency
group shell group shell
user shell user shell
disabled disabled
oneshot oneshot
service fingerprint-extension-bug-lockout /system_ext/bin/fingerprint.extension.sh lockout service fingerprint-extension-bug-lockout /system_ext/bin/fingerprint.extension lockout
group shell group shell
user shell user shell
disabled disabled
oneshot oneshot
service fingerprint-extension-bug-auth /system_ext/bin/fingerprint.extension.sh auth service fingerprint-extension-bug-auth /system_ext/bin/fingerprint.extension auth
group shell group shell
user shell user shell
disabled disabled