diff options
Diffstat (limited to 'android/writedocs.go')
-rw-r--r-- | android/writedocs.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/android/writedocs.go b/android/writedocs.go index 67b9aa3ad..c380a3d84 100644 --- a/android/writedocs.go +++ b/android/writedocs.go @@ -34,12 +34,12 @@ func DocsSingleton() Singleton { type docsSingleton struct{} func primaryBuilderPath(ctx SingletonContext) Path { - buildDir := absolutePath(ctx.Config().BuildDir()) + soongOutDir := absolutePath(ctx.Config().SoongOutDir()) binary := absolutePath(os.Args[0]) - primaryBuilder, err := filepath.Rel(buildDir, binary) + primaryBuilder, err := filepath.Rel(soongOutDir, binary) if err != nil { ctx.Errorf("path to primary builder %q is not in build dir %q (%q)", - os.Args[0], ctx.Config().BuildDir(), err) + os.Args[0], ctx.Config().SoongOutDir(), err) } return PathForOutput(ctx, primaryBuilder) |