Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7612ba6 authored by Brett Chabot's avatar Brett Chabot Committed by Jerome Gaillard
Browse files

Build and register native MessageQueue for host.

Test: tools/test/simulated_device/ctesque/run_tests_host.sh

Change-Id: If46d741e6727c012e69571c2a2441d0a06887030
parent f6565d89
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ cc_library_shared {
        "android_graphics_drawable_VectorDrawable.cpp",
        "android_graphics_Picture.cpp",
        "android_nio_utils.cpp",
        "android_os_MessageQueue.cpp",
        "android_os_SystemClock.cpp",
        "android_os_SystemProperties.cpp",
        "android_util_Log.cpp",
@@ -169,7 +170,6 @@ cc_library_shared {
                "android_os_HwRemoteBinder.cpp",
                "android_os_NativeHandle.cpp",
                "android_os_MemoryFile.cpp",
                "android_os_MessageQueue.cpp",
                "android_os_Parcel.cpp",
                "android_os_SELinux.cpp",
                "android_os_SharedMemory.cpp",
+2 −0
Original line number Diff line number Diff line
@@ -66,6 +66,7 @@ extern int register_android_graphics_fonts_Font(JNIEnv* env);
extern int register_android_graphics_fonts_FontFamily(JNIEnv* env);
extern int register_android_graphics_text_LineBreaker(JNIEnv* env);
extern int register_android_graphics_text_MeasuredText(JNIEnv* env);
extern int register_android_os_MessageQueue(JNIEnv* env);
extern int register_android_os_SystemClock(JNIEnv* env);
extern int register_android_os_SystemProperties(JNIEnv* env);
extern int register_android_util_Log(JNIEnv* env);
@@ -114,6 +115,7 @@ static const std::unordered_map<std::string, RegJNIRec> gRegJNIMap = {
    {"android.graphics.fonts.FontFamily", REG_JNI(register_android_graphics_fonts_FontFamily)},
    {"android.graphics.text.LineBreaker", REG_JNI(register_android_graphics_text_LineBreaker)},
    {"android.graphics.text.MeasuredText", REG_JNI(register_android_graphics_text_MeasuredText)},
    {"android.os.MessageQueue", REG_JNI(register_android_os_MessageQueue)},
    {"android.os.SystemClock", REG_JNI(register_android_os_SystemClock)},
    {"android.os.SystemProperties", REG_JNI(register_android_os_SystemProperties)},
    {"android.util.Log", REG_JNI(register_android_util_Log)},