Merge "Remove -isystem frameworks/av/include"
This commit is contained in:
@@ -219,7 +219,6 @@ func (compiler *baseCompiler) compilerFlags(ctx ModuleContext, flags Flags) Flag
|
|||||||
if !(ctx.sdk() || ctx.vndk()) || ctx.Host() {
|
if !(ctx.sdk() || ctx.vndk()) || ctx.Host() {
|
||||||
flags.SystemIncludeFlags = append(flags.SystemIncludeFlags,
|
flags.SystemIncludeFlags = append(flags.SystemIncludeFlags,
|
||||||
"${config.CommonGlobalIncludes}",
|
"${config.CommonGlobalIncludes}",
|
||||||
"${config.CommonGlobalSystemIncludes}",
|
|
||||||
tc.IncludeFlags(),
|
tc.IncludeFlags(),
|
||||||
"${config.CommonNativehelperInclude}")
|
"${config.CommonNativehelperInclude}")
|
||||||
}
|
}
|
||||||
|
@@ -112,9 +112,6 @@ func init() {
|
|||||||
"libnativehelper/include",
|
"libnativehelper/include",
|
||||||
"frameworks/native/include",
|
"frameworks/native/include",
|
||||||
"frameworks/native/opengl/include",
|
"frameworks/native/opengl/include",
|
||||||
})
|
|
||||||
pctx.PrefixedPathsForOptionalSourceVariable("CommonGlobalSystemIncludes", "-isystem ",
|
|
||||||
[]string{
|
|
||||||
"frameworks/av/include",
|
"frameworks/av/include",
|
||||||
})
|
})
|
||||||
// This is used by non-NDK modules to get jni.h. export_include_dirs doesn't help
|
// This is used by non-NDK modules to get jni.h. export_include_dirs doesn't help
|
||||||
|
@@ -77,7 +77,7 @@ func makeVarsProvider(ctx android.MakeVarsContext) {
|
|||||||
|
|
||||||
ctx.Strict("AIDL_CPP", "${aidlCmd}")
|
ctx.Strict("AIDL_CPP", "${aidlCmd}")
|
||||||
|
|
||||||
includeFlags, err := ctx.Eval("${config.CommonGlobalIncludes} ${config.CommonGlobalSystemIncludes}")
|
includeFlags, err := ctx.Eval("${config.CommonGlobalIncludes}")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user