diff options
author | 2021-03-30 19:44:07 +0100 | |
---|---|---|
committer | 2021-03-30 20:06:22 +0100 | |
commit | afdd4061ee38966019583d692676a41509555d4e (patch) | |
tree | 05b56c1f3f6fc71cf047153ab37795086e30f8b4 /cc/proto_test.go | |
parent | a71a67a4f5b6e5cdaa1dea65465770412fd9e25d (diff) |
Rename OptionalPath.RelativeToPath -> RelativeToTop
Bug: 183650682
Test: m nothing
Change-Id: I95239c2273e715e8c4c15a4a02967e01f6913234
Diffstat (limited to 'cc/proto_test.go')
-rw-r--r-- | cc/proto_test.go | 2 |
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) |