Merge "cc: Make generated_headers configurable" into main am: 274b3c9521
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3131597 Change-Id: Ia025399a37421c347c263f0534e8c3462548810e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
23c2f28987
1 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ type BaseCompilerProperties struct {
|
|||
|
||||
// list of generated headers to add to the include path. These are the names
|
||||
// of genrule modules.
|
||||
Generated_headers []string `android:"arch_variant,variant_prepend"`
|
||||
Generated_headers proptools.Configurable[[]string] `android:"arch_variant,variant_prepend"`
|
||||
|
||||
// pass -frtti instead of -fno-rtti
|
||||
Rtti *bool `android:"arch_variant"`
|
||||
|
@ -302,7 +302,7 @@ func (compiler *baseCompiler) compilerInit(ctx BaseModuleContext) {}
|
|||
func (compiler *baseCompiler) compilerDeps(ctx DepsContext, deps Deps) Deps {
|
||||
deps.GeneratedSources = append(deps.GeneratedSources, compiler.Properties.Generated_sources...)
|
||||
deps.GeneratedSources = removeListFromList(deps.GeneratedSources, compiler.Properties.Exclude_generated_sources)
|
||||
deps.GeneratedHeaders = append(deps.GeneratedHeaders, compiler.Properties.Generated_headers...)
|
||||
deps.GeneratedHeaders = append(deps.GeneratedHeaders, compiler.Properties.Generated_headers.GetOrDefault(ctx, nil)...)
|
||||
deps.AidlLibs = append(deps.AidlLibs, compiler.Properties.Aidl.Libs...)
|
||||
|
||||
android.ProtoDeps(ctx, &compiler.Proto)
|
||||
|
|
Loading…
Reference in a new issue