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

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

Build and register SystemProperties for host

Test: tools/test/simulated_device/ctesque/run_tests_host.sh
Change-Id: I8cd4a377766a36549aebeba1094a71fcbb0c7e61
parent 78aaa0e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ cc_library_shared {
        "android_graphics_Picture.cpp",
        "android_nio_utils.cpp",
        "android_os_SystemClock.cpp",
        "android_os_SystemProperties.cpp",
        "android_util_PathParser.cpp",
        "android_view_DisplayListCanvas.cpp",
        "android_view_RenderNode.cpp",
@@ -171,7 +172,6 @@ cc_library_shared {
                "android_os_Parcel.cpp",
                "android_os_SELinux.cpp",
                "android_os_SharedMemory.cpp",
                "android_os_SystemProperties.cpp",
                "android_os_Trace.cpp",
                "android_os_UEventObserver.cpp",
                "android_os_VintfObject.cpp",
+2 −1
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ 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_SystemClock(JNIEnv* env);
extern int register_android_os_SystemProperties(JNIEnv* env);
extern int register_android_util_PathParser(JNIEnv* env);
extern int register_android_view_RenderNode(JNIEnv* env);
extern int register_android_view_DisplayListCanvas(JNIEnv* env);
@@ -113,11 +114,11 @@ static const std::unordered_map<std::string, RegJNIRec> gRegJNIMap = {
    {"android.graphics.text.LineBreaker", REG_JNI(register_android_graphics_text_LineBreaker)},
    {"android.graphics.text.MeasuredText", REG_JNI(register_android_graphics_text_MeasuredText)},
    {"android.os.SystemClock", REG_JNI(register_android_os_SystemClock)},
    {"android.os.SystemProperties", REG_JNI(register_android_os_SystemProperties)},
    {"android.util.PathParser", REG_JNI(register_android_util_PathParser)},
    {"com.android.internal.util.VirtualRefBasePtr", REG_JNI(register_com_android_internal_util_VirtualRefBasePtr)},
    {"com.android.internal.view.animation.NativeInterpolatorFactoryHelper", REG_JNI(register_com_android_internal_view_animation_NativeInterpolatorFactoryHelper)},
};

// Vector to store the names of classes that need delegates of their native methods
static vector<string> classesToDelegate;

+0 −1
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@

#include "android-base/logging.h"
#include "android-base/properties.h"
#include "cutils/properties.h"
#include "utils/misc.h"
#include <utils/Log.h>
#include "jni.h"