diff options
author | 2024-04-18 03:05:49 +0000 | |
---|---|---|
committer | 2024-04-30 05:06:56 +0000 | |
commit | 6d032dd911f39e13921d2e5ad7952b6983972873 (patch) | |
tree | 9f4fb33a967aceff682d9b21fdf790320f79cc2b /java/jacoco.go | |
parent | a559cab24ac183ef63e9cdd4cbe52332b069a3be (diff) |
Add a new property trim_extension for gensrcs
In order to provide a more flexible ability for gensrcs's output, due to
current output_extension property will only allow to replace the string
after the last "." of input, in order to handle input with multiple dot
in file name, provide a way to trim the suffix of input string.
Bug: 335536003
Test: cd build/soong/genrule ; go test -run TestGenSrcs
Test: cd build/soong/genrule ; go test -run TestGenSrcsWithTrimExtAndOutpuExtension
Test: cd build/soong/genrule ; go test -run TestGenSrcsWithTrimExtButNoOutpuExtension
Test: cd build/soong/genrule ; go test -run TestGenSrcsWithOutpuExtension
Test: cd build/soong/android ; go test -run TestPathsForModuleSrc
Change-Id: I033bbe1d225f207f0f6bdc140df308884f214b51
Diffstat (limited to 'java/jacoco.go')
0 files changed, 0 insertions, 0 deletions