Use jni_headers instead of JNI_H_INCLUDE
Bug: 152482542 Test: m librs_jni DynamicCodeLoggerNativeTestLibrary Exempt-From-Owner-Approval: build refactoring Change-Id: I3069c513f333afc202505081992c59e80b536ed6
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user