diff options
| author | 2019-02-15 10:39:37 -0800 | |
|---|---|---|
| committer | 2019-02-20 14:23:37 -0800 | |
| commit | acdd6940719125104dfd2f692990c99682f95f05 (patch) | |
| tree | c68a0c59d926ac2dfd22122afb765d7eafa208f6 /java/hiddenapi.go | |
| parent | 45df0bd15a986aa4e202e3ed75548929fd9bdc23 (diff) | |
Make RuleBuilder methods take Paths
There are no more Make paths being used in Soong now that
dexpreopting and hiddenapi are in Soong. Use the Path types
in the inputs to RuleBuilder, and fix all users of RuleBuilder.
Test: all soong tests
Test: m checkbuild
Change-Id: I886f803d9a3419a43b2cae412537645f94c5dfbf
Diffstat (limited to 'java/hiddenapi.go')
| -rw-r--r-- | java/hiddenapi.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/java/hiddenapi.go b/java/hiddenapi.go index 01e2c5ec2..104cd767b 100644 --- a/java/hiddenapi.go +++ b/java/hiddenapi.go @@ -15,8 +15,6 @@ package java import ( - "path/filepath" - "github.com/google/blueprint" "android/soong/android" @@ -175,14 +173,3 @@ func hiddenAPIEncodeDex(ctx android.ModuleContext, output android.WritablePath, TransformZipAlign(ctx, output, tmpOutput) } } - -type hiddenAPIPath struct { - path string -} - -var _ android.Path = (*hiddenAPIPath)(nil) - -func (p *hiddenAPIPath) String() string { return p.path } -func (p *hiddenAPIPath) Ext() string { return filepath.Ext(p.path) } -func (p *hiddenAPIPath) Base() string { return filepath.Base(p.path) } -func (p *hiddenAPIPath) Rel() string { return p.path } |