summaryrefslogtreecommitdiff
path: root/tests/UpdatableSystemFontTest/Android.bp
diff options
context:
space:
mode:
author Kohsuke Yatoh <kyatoh@google.com> 2021-06-09 20:09:49 +0000
committer Kohsuke Yatoh <kyatoh@google.com> 2021-06-10 21:02:24 +0000
commita3f5f22cbced8647fbf2c57bb84e722d14a5a0de (patch)
tree733de1d46e18b8664b336bf07760cbded4fab85b /tests/UpdatableSystemFontTest/Android.bp
parente298f682ca3eb84dd61de8a9899e657568af5012 (diff)
Read font attributes from buffer.
minikin::Font::typeface() is expensive because it will open the font file. Font attribute getters should avoid calling it. Bug: 188201287 Test: atest UpdatableSystemFontTest Test: atest CtsGraphicsTestCases:FontTest Test: atest CtsGraphicsTestCases:SystemFontsTest Change-Id: Ic8554f6dfacbe27ddfea6b375633c96bced2cc09
Diffstat (limited to 'tests/UpdatableSystemFontTest/Android.bp')
-rw-r--r--tests/UpdatableSystemFontTest/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/UpdatableSystemFontTest/Android.bp b/tests/UpdatableSystemFontTest/Android.bp
index ea5a43104bba..e07fbbf7a1c1 100644
--- a/tests/UpdatableSystemFontTest/Android.bp
+++ b/tests/UpdatableSystemFontTest/Android.bp
@@ -27,6 +27,7 @@ android_test {
libs: ["android.test.runner"],
static_libs: [
"androidx.test.ext.junit",
+ "androidx.test.uiautomator_uiautomator",
"compatibility-device-util-axt",
"platform-test-annotations",
"truth-prebuilt",