commit | b253e8e854212527b1547e9f1020110ab5f99c20 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Fri Jul 14 03:34:50 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Jul 14 03:34:50 2017 +0000 |
tree | 55cbc557c1a9c4bbeecffae0c3ed4c7863d32b42 | |
parent | 80c05c518b82bb09b9bc71e705ea967f4f0295be [diff] | |
parent | b43a52d79d3b9be90b21e080d2295df5d45b511d [diff] |
Merge "Don't allow JNI headers for vendors"
diff --git a/core/binary.mk b/core/binary.mk index 10ce130..6753e18 100644 --- a/core/binary.mk +++ b/core/binary.mk
@@ -1468,7 +1468,8 @@ 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