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

Commit 3eba1ab8 authored by Orion Hodson's avatar Orion Hodson
Browse files

Use jni_headers instead of JNI_H_INCLUDE

Bug: 152482542
Test: m librs_jni DynamicCodeLoggerNativeTestLibrary
Exempt-From-Owner-Approval: build refactoring
Change-Id: I3069c513f333afc202505081992c59e80b536ed6
parent 5bc91ca1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,10 +19,10 @@ LOCAL_SHARED_LIBRARIES := \
    libjnigraphics

LOCAL_HEADER_LIBRARIES := \
    jni_headers \
    libbase_headers

LOCAL_C_INCLUDES += \
    $(JNI_H_INCLUDE) \
    frameworks/rs

LOCAL_CFLAGS += -Wno-unused-parameter
+1 −2
Original line number Diff line number Diff line
@@ -36,8 +36,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := tests
LOCAL_MODULE := DynamicCodeLoggerNativeTestLibrary
LOCAL_SRC_FILES := src/cpp/com_android_dcl_Jni.cpp
LOCAL_C_INCLUDES += \
    $(JNI_H_INCLUDE)
LOCAL_HEADER_LIBRARIES := jni_headers
LOCAL_SDK_VERSION := 28
LOCAL_NDK_STL_VARIANT := c++_static