platform_build_soong/sysprop
Aleksei Vetrov f4775ca238 Make syspropRustGenRule work with absolute paths
This rule should be able to work with OUT_DIR set as absolute path,
which is used in "development/tools/ndk/update_ndk_abi.sh".

The problem appears if sysprop file itself is generated and
"syspropFile.String()" returns an absolute path, which is not accepted
as path component for "PathForModuleGen".

The fix is to use "android.GenPathWithExt" like in "syspropJavaGenRule".

Fixes: 328506541
Test: TreeHugger
Test: development/tools/ndk/update_ndk_abi.sh
Change-Id: Ia1e9a0ad51ebd957be97c48f5e1cf0e06a0da0ee
2024-03-11 14:02:08 +00:00
..
Android.bp Revert^4 "Integrate Rust-specific System Properties into rules generation." 2024-02-21 11:53:18 +00:00
sysprop_library.go Make syspropRustGenRule work with absolute paths 2024-03-11 14:02:08 +00:00
sysprop_test.go Revert^4 "Integrate Rust-specific System Properties into rules generation." 2024-02-21 11:53:18 +00:00
testing.go Add preparers for sysprop 2021-03-18 00:21:38 +00:00