Merge "Add no-canonical-prefixes to make sure paths in .d file are relative paths"

This commit is contained in:
Treehugger Robot
2020-03-26 20:08:13 +00:00
committed by Gerrit Code Review

View File

@@ -60,6 +60,10 @@ type bpf struct {
func (bpf *bpf) GenerateAndroidBuildActions(ctx android.ModuleContext) {
cflags := []string{
"-nostdlibinc",
// Make paths in deps files relative
"-no-canonical-prefixes",
"-O2",
"-isystem bionic/libc/include",
"-isystem bionic/libc/kernel/uapi",