Files
frameworks_base/cmds/uinput/uinput.sh
Cole Faust 325fb3e2aa Fix module-file name collisions
Bazel doesn't allow a module and file with the same name.

Bug: 198619163
Test: m ime, verified it was still installed to out/target/product/emulator64_x86_64/system/bin/ime and not ime.sh
Change-Id: I214e190e159a7aff9149e77146d1a493992e885d
2022-08-29 18:42:32 -07:00

10 lines
394 B
Bash
Executable File

#!/system/bin/sh
# Preload the native portion libuinputcommand_jni.so to bypass the dependency
# checks in the Java classloader, which prohibit dependencies that aren't
# listed in system/core/rootdir/etc/public.libraries.android.txt.
export LD_PRELOAD=libuinputcommand_jni.so
export CLASSPATH=/system/framework/uinput.jar
exec app_process /system/bin com.android.commands.uinput.Uinput "$@"