From d031ce0e8e4d485f62d1fb7aebd9942ba3237c1c Mon Sep 17 00:00:00 2001 From: Yike Date: Mon, 25 Jul 2022 16:43:38 +0800 Subject: [PATCH] Add a missing dependency for UpdatableSystemFontTest All of a test's dependencies should be explicitly declared in the Soong build module to enable infrastructure features that ensure correctness and optimize runtime. Here UpdatableSystemFontTest uses EmojiRenderingTestApp, but it doesn't declare the dependency in its Soong build module. This change declares EmojiRenderingTestApp in UpdatableSystemFontTest's `data` attribute. Bug: 222438068 Test: atest-src UpdatableSystemFontTest \ --experimental-device-driven-test \ --experimental-java-runtime-dependencies \ --bazel-arg=--test_timeout=48000 Test: atest UpdatableSystemFontTest Change-Id: Ic1b5b94aabd4c95744109f2cc7443ae04c43b3a6 --- tests/UpdatableSystemFontTest/Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/UpdatableSystemFontTest/Android.bp b/tests/UpdatableSystemFontTest/Android.bp index 9a9e42bfc3005..9bfcc18ee3012 100644 --- a/tests/UpdatableSystemFontTest/Android.bp +++ b/tests/UpdatableSystemFontTest/Android.bp @@ -37,6 +37,7 @@ android_test { "vts", ], data: [ + ":EmojiRenderingTestApp", ":UpdatableSystemFontTestCertDer", ":UpdatableSystemFontTest_NotoColorEmoji.ttf", ":UpdatableSystemFontTest_NotoColorEmoji.sig",