summaryrefslogtreecommitdiff
path: root/cc/proto_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/proto_test.go')
-rw-r--r--cc/proto_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/proto_test.go b/cc/proto_test.go
index 3d636fb46..b9c89c744 100644
--- a/cc/proto_test.go
+++ b/cc/proto_test.go
@@ -61,7 +61,7 @@ func TestProto(t *testing.T) {
t.Errorf("expected %q in %q", w, cmd)
}
- foobarPath := foobar.Module().(android.HostToolProvider).HostToolPath().RelativeToPath().String()
+ foobarPath := foobar.Module().(android.HostToolProvider).HostToolPath().RelativeToTop().String()
if w := "--plugin=protoc-gen-foobar=" + foobarPath; !strings.Contains(cmd, w) {
t.Errorf("expected %q in %q", w, cmd)