soong: Add equivalent for LOCAL_EXPORT_CFLAGS
Change-Id: Ieb3e5739b50789bdbaf41a7d5adb04b08f7b9ea2
This commit is contained in:
committed by
SkyMinus
parent
d70492f14f
commit
4f1e88fab3
@@ -759,6 +759,13 @@ func cflags(ctx variableAssignmentContext) error {
|
||||
return includeVariableNow(bpVariable{"cflags", bpparser.ListType}, ctx)
|
||||
}
|
||||
|
||||
func exportCflags(ctx variableAssignmentContext) error {
|
||||
// The Soong replacement for EXPORT_CFLAGS doesn't need the same extra escaped quotes that were present in Make
|
||||
ctx.mkvalue = ctx.mkvalue.Clone()
|
||||
ctx.mkvalue.ReplaceLiteral(`\"`, `"`)
|
||||
return includeVariableNow(bpVariable{"export_cflags", bpparser.ListType}, ctx)
|
||||
}
|
||||
|
||||
func protoOutputParams(ctx variableAssignmentContext) error {
|
||||
// The Soong replacement for LOCAL_PROTO_JAVA_OUTPUT_PARAMS doesn't need ","
|
||||
ctx.mkvalue = ctx.mkvalue.Clone()
|
||||
|
Reference in New Issue
Block a user