Skip to content

Commit

Permalink
Add JNI_H_INCLUDE as default header search path
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Ying Wang committed Jul 22, 2010
1 parent d5c217a commit bce4b75
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/binary.mk
Expand Up @@ -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)

Expand Down

0 comments on commit bce4b75

Please sign in to comment.