Merge "Clean up some shell script copy & paste." am: b4012baaf4

am: fda05c96c1

Change-Id: I104862db5d787ffc14512bf1181332c8ca7ba872
This commit is contained in:
Elliott Hughes
2019-05-10 11:22:58 -07:00
committed by android-build-merger
8 changed files with 16 additions and 50 deletions

View File

@@ -1,6 +1,3 @@
#!/system/bin/sh
# Script to start "appwidget" on the device, which has a very rudimentary shell.
base=/system
export CLASSPATH=$base/framework/appwidget.jar
exec app_process $base/bin com.android.commands.appwidget.AppWidget "$@"
export CLASSPATH=/system/framework/appwidget.jar
exec app_process /system/bin com.android.commands.appwidget.AppWidget "$@"

View File

@@ -1,8 +1,3 @@
#!/system/bin/sh
# Script to start "bmgr" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/bmgr.jar
exec app_process $base/bin com.android.commands.bmgr.Bmgr "$@"
export CLASSPATH=/system/framework/bmgr.jar
exec app_process /system/bin com.android.commands.bmgr.Bmgr "$@"

View File

@@ -1,6 +1,3 @@
#!/system/bin/sh
# Script to start "content" on the device, which has a very rudimentary shell.
base=/system
export CLASSPATH=$base/framework/content.jar
exec app_process $base/bin com.android.commands.content.Content "$@"
export CLASSPATH=/system/framework/content.jar
exec app_process /system/bin com.android.commands.content.Content "$@"

View File

@@ -1,14 +1,9 @@
#!/system/bin/sh
#
# Script to start "hid" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/hid.jar
# Preload the native portion libhidcommand_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=libhidcommand_jni.so
exec app_process $base/bin com.android.commands.hid.Hid "$@"
export CLASSPATH=/system/framework/hid.jar
exec app_process /system/bin com.android.commands.hid.Hid "$@"

View File

@@ -1,8 +1,3 @@
#!/system/bin/sh
# Script to start "input" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/input.jar
exec app_process $base/bin com.android.commands.input.Input "$@"
export CLASSPATH=/system/framework/input.jar
exec app_process /system/bin com.android.commands.input.Input "$@"

View File

@@ -1,7 +1,3 @@
#!/system/bin/sh
# Script to start "media_cmd" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/media.jar
exec app_process $base/bin com.android.commands.media.Media "$@"
export CLASSPATH=/system/framework/media.jar
exec app_process /system/bin com.android.commands.media.Media "$@"

View File

@@ -1,7 +1,3 @@
#!/system/bin/sh
# Script to start "sm" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/sm.jar
exec app_process $base/bin com.android.commands.sm.Sm "$@"
export CLASSPATH=/system/framework/sm.jar
exec app_process /system/bin com.android.commands.sm.Sm "$@"

View File

@@ -1,8 +1,3 @@
#!/system/bin/sh
# Script to start "am" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/svc.jar
exec app_process $base/bin com.android.commands.svc.Svc $*
export CLASSPATH=/system/framework/svc.jar
exec app_process /system/bin com.android.commands.svc.Svc "$@"