OSDN Git Service

Add JNI_H_INCLUDE as default header search path
authorYing Wang <wangying@google.com>
Thu, 22 Jul 2010 22:51:56 +0000 (15:51 -0700)
committerYing Wang <wangying@google.com>
Thu, 22 Jul 2010 22:58:19 +0000 (15:58 -0700)
So that module Android.mk does not need to include it manually.
Also with this change, CL like https://android-git.corp.google.com/g/57887 is not needed.

Change-Id: I68fa73a00c76eb37a8142f35d7eeef79cf53c09b

core/binary.mk

index 7923fbe..1f55b66 100644 (file)
@@ -343,6 +343,10 @@ all_objects := \
 
 LOCAL_C_INCLUDES += $(TOPDIR)$(LOCAL_PATH) $(intermediates) $(base_intermediates)
 
+ifndef LOCAL_NDK_VERSION
+  LOCAL_C_INCLUDES += $(JNI_H_INCLUDE)
+endif
+
 $(all_objects) : | $(LOCAL_GENERATED_SOURCES)
 ALL_C_CPP_ETC_OBJECTS += $(all_objects)