summaryrefslogtreecommitdiff
path: root/android/csuite_config.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-11-13 16:09:23 -0800
committer Cole Faust <colefaust@google.com> 2024-11-13 16:48:50 -0800
commit4e9f5923c0e7cf0d7f845b90c7da65c24e44bcee (patch)
tree6d9fc3cdf89401a385e24e9e35ab67765cdef02d /android/csuite_config.go
parent06540bb808debb9efe410e518ce9f420bac9042c (diff)
Use fewer OutputPaths
A lot of the time, you really mean android.Path or android.WriteablePath instead of OutputPath. Also, many modules were holding onto OutputPaths/WriteablePaths after the files had already been generated, meaning they should no longer be treated as writable paths and are instead inputs into other actions. Change the type of those paths to just android.Path. Test: verified ninja files were unchanged on aosp_arm64-trunk_staging-userdebug Change-Id: Id773171bef59d855ba33c4b85cef268031cbec39
Diffstat (limited to 'android/csuite_config.go')
-rw-r--r--android/csuite_config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/csuite_config.go b/android/csuite_config.go
index 20bd03563..26ad6e180 100644
--- a/android/csuite_config.go
+++ b/android/csuite_config.go
@@ -30,11 +30,11 @@ type csuiteConfigProperties struct {
type CSuiteConfig struct {
ModuleBase
properties csuiteConfigProperties
- OutputFilePath OutputPath
+ OutputFilePath Path
}
func (me *CSuiteConfig) GenerateAndroidBuildActions(ctx ModuleContext) {
- me.OutputFilePath = PathForModuleOut(ctx, me.BaseModuleName()).OutputPath
+ me.OutputFilePath = PathForModuleOut(ctx, me.BaseModuleName())
}
func (me *CSuiteConfig) AndroidMkEntries() []AndroidMkEntries {