Commit 47b04228 authored by Burcu Dogan's avatar Burcu Dogan

os: fix tests on brillo

Not every Android contains the /system/framework directory, e.g. Brillo.
Test against other Android-only system files.

Fixes #14489.

Change-Id: I6d9ec1c4d4ceba3803798015e6917d59cf515de8
Reviewed-on: https://go-review.googlesource.com/19904Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: default avatarBurcu Dogan <jbd@google.com>
Run-TryBot: Burcu Dogan <jbd@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent f388b585
No related merge requests found
...@@ -47,10 +47,10 @@ var sysdir = func() *sysDir { ...@@ -47,10 +47,10 @@ var sysdir = func() *sysDir {
switch runtime.GOOS { switch runtime.GOOS {
case "android": case "android":
return &sysDir{ return &sysDir{
"/system/framework", "/system/lib",
[]string{ []string{
"ext.jar", "libmedia.so",
"framework.jar", "libpowermanager.so",
}, },
} }
case "darwin": case "darwin":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment