Allow command line tools to access Tachyon service in user builds.

Bug: 377528455
Change-Id: I878e960b32af45030cebf73e9138752506c37953
Flag: tachyon
This commit is contained in:
Zhengyuan Cui 2024-11-06 20:36:46 +00:00
parent 91ee7dae60
commit 2f08dd633a

View file

@ -42,7 +42,7 @@ allow edgetpu_tachyon_server proc_version:file r_file_perms;
# Allow Tachyon service to send trace packets to Perfetto with SELinux enabled
# under userdebug builds.
userdebug_or_eng(`perfetto_producer(edgetpu_tachyon_server)')
perfetto_producer(edgetpu_tachyon_server)
# Allow Tachyon service to read tflite DarwiNN delegate properties
get_prop(edgetpu_tachyon_server, vendor_tflite_delegate_prop)
@ -65,6 +65,4 @@ userdebug_or_eng(`
')
# For shell level testing
userdebug_or_eng(`
binder_call(edgetpu_tachyon_server, shell);
')
binder_call(edgetpu_tachyon_server, shell);