Fixup location for jni.h automatic header include.
include_deprecated -> include_jni include_jni only includes jni.h. Other dependencies which are provided as part of libnativehelper can be included by using libnativehelper or by using them with in their proper location (e.x. nativehelper/JNIHelp.h). Bug: 63762847 Test: modules find their headers Change-Id: I8674d2feed08bd80c1fc7b54e3ee38b9ee3484b2
This commit is contained in:
@@ -125,7 +125,7 @@ func init() {
|
||||
// This is used by non-NDK modules to get jni.h. export_include_dirs doesn't help
|
||||
// with this, since there is no associated library.
|
||||
pctx.PrefixedExistentPathsForSourcesVariable("CommonNativehelperInclude", "-I",
|
||||
[]string{"libnativehelper/include_deprecated"})
|
||||
[]string{"libnativehelper/include_jni"})
|
||||
|
||||
pctx.SourcePathVariable("ClangDefaultBase", ClangDefaultBase)
|
||||
pctx.VariableFunc("ClangBase", func(config interface{}) (string, error) {
|
||||
|
Reference in New Issue
Block a user