From ea7db8120ea5ff25f608d01716b4a8d9935766f4 Mon Sep 17 00:00:00 2001 From: Orion Hodson Date: Thu, 2 Jul 2020 16:28:01 +0100 Subject: [PATCH] Remove implicit include path for jni.h Bug: 152482542 Test: m checkbuild Change-Id: I1479c35005033f60fb8f3a22bfabc3ee05d48b33 --- core/binary.mk | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/binary.mk b/core/binary.mk index be008e68a2..fa36d644c5 100644 --- a/core/binary.mk +++ b/core/binary.mk @@ -1333,11 +1333,6 @@ my_tracked_src_files := my_c_includes += $(TOPDIR)$(LOCAL_PATH) $(intermediates) $(generated_sources_dir) -# The platform JNI header is for platform modules only. -ifeq ($(LOCAL_SDK_VERSION)$(LOCAL_USE_VNDK),) - my_c_includes += $(JNI_H_INCLUDE) -endif - my_c_includes := $(foreach inc,$(my_c_includes),$(call clean-path,$(inc))) my_outside_includes := $(filter-out $(OUT_DIR)/%,$(filter /%,$(my_c_includes)) $(filter ../%,$(my_c_includes)))