Remove remaining libnativehelper implicit includes
Bug: 152482542 Test: m checkbuild Change-Id: Ieded4b0e3906ef625b3bb6cf0dd1a3e178dd320c
This commit is contained in:
@@ -153,16 +153,6 @@ func makeVarsProvider(ctx android.MakeVarsContext) {
|
||||
ctx.Strict("SOONG_STRIP_PATH", "${stripPath}")
|
||||
ctx.Strict("XZ", "${xzCmd}")
|
||||
|
||||
nativeHelperIncludeFlags, err := ctx.Eval("${config.CommonNativehelperInclude}")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
nativeHelperIncludes, nativeHelperSystemIncludes := splitSystemIncludes(ctx, nativeHelperIncludeFlags)
|
||||
if len(nativeHelperSystemIncludes) > 0 {
|
||||
panic("native helper may not have any system includes")
|
||||
}
|
||||
ctx.Strict("JNI_H_INCLUDE", strings.Join(nativeHelperIncludes, " "))
|
||||
|
||||
includeFlags, err := ctx.Eval("${config.CommonGlobalIncludes}")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
Reference in New Issue
Block a user