From a6488974f62c21dbbb41f28bc2fea80c0699d256 Mon Sep 17 00:00:00 2001 From: Siarhei Vishniakou Date: Mon, 19 Aug 2024 09:54:00 -0700 Subject: [PATCH] Add libmonkey_jni to base The monkey package is already part of "base" build. In this topic, we are adding jni support to monkey, which will allow us to use libinput's uinput infrastructure for motion injection. In this CL, we also need to add libmonkey_jni to the base build. Without this change, monkey fails to find the jni library, because 'flashall' does not include this .so by default. However, this change is not needed when running 'adb sync', which correctly recognizes that the jni library is required and places it in the right place on the device. Bug: 344695913 Flag: EXEMPT refactor Ignore-AOSP-First: relies on uinput infra not available in aosp Test: adb shell monkey 1000 --pct-touch 100 Test: m && vendor/google/tools/flashall -w --disable_verity=true Change-Id: Id6c381895e914f0c0ab8278fad31e82734f48cf5 --- target/product/base_system.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/target/product/base_system.mk b/target/product/base_system.mk index c041b92201..3993a8231c 100644 --- a/target/product/base_system.mk +++ b/target/product/base_system.mk @@ -178,6 +178,7 @@ PRODUCT_PACKAGES += \ libmedia \ libmedia_jni \ libmediandk \ + libmonkey_jni \ libmtp \ libnetd_client \ libnetlink \