Allow command line tools to access Tachyon service in user builds.
Bug: 377528455 Change-Id: I878e960b32af45030cebf73e9138752506c37953 Flag: tachyon
This commit is contained in:
parent
91ee7dae60
commit
2f08dd633a
1 changed files with 2 additions and 4 deletions
|
@ -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
|
# Allow Tachyon service to send trace packets to Perfetto with SELinux enabled
|
||||||
# under userdebug builds.
|
# 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
|
# Allow Tachyon service to read tflite DarwiNN delegate properties
|
||||||
get_prop(edgetpu_tachyon_server, vendor_tflite_delegate_prop)
|
get_prop(edgetpu_tachyon_server, vendor_tflite_delegate_prop)
|
||||||
|
@ -65,6 +65,4 @@ userdebug_or_eng(`
|
||||||
')
|
')
|
||||||
|
|
||||||
# For shell level testing
|
# For shell level testing
|
||||||
userdebug_or_eng(`
|
binder_call(edgetpu_tachyon_server, shell);
|
||||||
binder_call(edgetpu_tachyon_server, shell);
|
|
||||||
')
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue