diff options
author | 2025-02-11 22:51:51 +0000 | |
---|---|---|
committer | 2025-02-11 22:52:56 +0000 | |
commit | 6ec1fcfa1df006c9ba1d84abaa08716c5a649f31 (patch) | |
tree | 387abd99b74ae741fb1fc79633c921bb64019924 /filesystem/filesystem.go | |
parent | 0a5e1f385864efd1192e35e0ec3c7730935ef1f0 (diff) |
Export SOONG_DEFINED_SYSTEM_IMAGE_PATH to make
This makes the make packaging system resilient to filename changes.
Test: lunch aosp_cf_x86_64_phone-userdebug && m systemimage
Change-Id: I166d78cd49f72a875b9648ca9285f7ebc2307a76
Diffstat (limited to 'filesystem/filesystem.go')
-rw-r--r-- | filesystem/filesystem.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go index 9f2b239a0..ecc152475 100644 --- a/filesystem/filesystem.go +++ b/filesystem/filesystem.go @@ -1373,3 +1373,9 @@ func addAutogeneratedRroDeps(ctx android.BottomUpMutatorContext) { return true }) } + +func (f *filesystem) MakeVars(ctx android.MakeVarsModuleContext) { + if f.Name() == ctx.Config().SoongDefinedSystemImage() { + ctx.StrictRaw("SOONG_DEFINED_SYSTEM_IMAGE_PATH", f.output.String()) + } +} |