Merge "Fix a bug where CppFlags should have been Cppflags"

This commit is contained in:
Yu Liu
2023-05-02 17:23:49 +00:00
committed by Gerrit Code Review
2 changed files with 41 additions and 1 deletions

View File

@@ -528,7 +528,7 @@ func (ca *compilerAttributes) convertProductVariables(ctx android.BazelConversio
productVarPropNameToAttribute := map[string]*bazel.StringListAttribute{
"Cflags": &ca.copts,
"Asflags": &ca.asFlags,
"CppFlags": &ca.cppFlags,
"Cppflags": &ca.cppFlags,
}
for propName, attr := range productVarPropNameToAttribute {
if productConfigProps, exists := productVariableProps[propName]; exists {