Don't allow JNI headers for vendors
This is already blocked in Soong. Do the same for make. Bug: 63553556 Test: BOARD_VNDK_VERSION=current m -j libSampleAuthJNI cannot be built Change-Id: I04a89b3f9de903a6b0384f13d5a80886344c14b4
This commit is contained in:
parent
95a8c7e83f
commit
b43a52d79d
1 changed files with 2 additions and 1 deletions
|
@ -1468,7 +1468,8 @@ my_tracked_src_files :=
|
|||
|
||||
my_c_includes += $(TOPDIR)$(LOCAL_PATH) $(intermediates) $(generated_sources_dir)
|
||||
|
||||
ifndef LOCAL_SDK_VERSION
|
||||
# The platform JNI header is for platform modules only.
|
||||
ifeq ($(LOCAL_SDK_VERSION)$(LOCAL_USE_VNDK),)
|
||||
my_c_includes += $(JNI_H_INCLUDE)
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue