summaryrefslogtreecommitdiff
path: root/android/testing.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-03-29 00:42:57 +0100
committer Paul Duffin <paulduffin@google.com> 2021-03-30 20:03:22 +0100
commita71a67a4f5b6e5cdaa1dea65465770412fd9e25d (patch)
tree73c4cdecb6667f5ce8e81d32559c15cca5c97b85 /android/testing.go
parente8366da1f61cbff804cefe3b69f6293b4bad0c98 (diff)
Remove extraneous calls to TestingBuildParams.RelativeToTop()
Deprecated the method to try and prevent any other uses being added. Bug: 183650682 Test: m nothing Change-Id: Ia6f43851e5a00c9d96af780e3bd21e03175e1a2f
Diffstat (limited to 'android/testing.go')
-rw-r--r--android/testing.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/testing.go b/android/testing.go
index f4f5c98e2..ce27fca04 100644
--- a/android/testing.go
+++ b/android/testing.go
@@ -551,6 +551,8 @@ type TestingBuildParams struct {
// * CommandOrderOnly
//
// See PathRelativeToTop for more details.
+//
+// deprecated: this is no longer needed as TestingBuildParams are created in this form.
func (p TestingBuildParams) RelativeToTop() TestingBuildParams {
// If this is not a valid params then just return it back. That will make it easy to use with the
// Maybe...() methods.