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

Commit ba20ba68 authored by Jerome Gaillard's avatar Jerome Gaillard
Browse files

Do not build com_android_internal_util_ArrayUtils for host

The native implementation in com_android_internal_util_ArrayUtils is not
used on host builds, and it is only compatible with linux builds.

Flag: NONE host-only change
Bug: 382649667
Test: build libandroid_runtime on host
Change-Id: I2f648175081de01ac5924e5fbc23128169ec67c1
parent 2c235e59
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,6 @@ cc_library_shared_for_libandroid_runtime {
        "android_view_VelocityTracker.cpp",
        "android_view_VerifiedKeyEvent.cpp",
        "android_view_VerifiedMotionEvent.cpp",
        "com_android_internal_util_ArrayUtils.cpp",
        "com_android_internal_util_VirtualRefBasePtr.cpp",
        "core_jni_helpers.cpp",
        ":deviceproductinfoconstants_aidl",
@@ -264,6 +263,7 @@ cc_library_shared_for_libandroid_runtime {
                "com_android_internal_os_ZygoteCommandBuffer.cpp",
                "com_android_internal_os_ZygoteInit.cpp",
                "com_android_internal_security_VerityUtils.cpp",
                "com_android_internal_util_ArrayUtils.cpp",
                "hwbinder/EphemeralStorage.cpp",
                "fd_utils.cpp",
                "android_hardware_input_InputWindowHandle.cpp",