Enable goma in soong
When the UseGoma flag is set, put all rules except the C compilation rule in an externally defined local_pool, which will have been created by kati. The gomacc wrapper will already be in the CC_WRAPPER environment variable. Bug: 31142427 Change-Id: I699d4edff2e302eee398dad8692ceb14721a628c
This commit is contained in:
@@ -33,7 +33,7 @@ func init() {
|
||||
}
|
||||
|
||||
var (
|
||||
aidl = pctx.StaticRule("aidl",
|
||||
aidl = pctx.AndroidStaticRule("aidl",
|
||||
blueprint.RuleParams{
|
||||
Command: "$aidlCmd -d$depFile $aidlFlags $in $out",
|
||||
CommandDeps: []string{"$aidlCmd"},
|
||||
@@ -41,14 +41,14 @@ var (
|
||||
},
|
||||
"depFile", "aidlFlags")
|
||||
|
||||
logtags = pctx.StaticRule("logtags",
|
||||
logtags = pctx.AndroidStaticRule("logtags",
|
||||
blueprint.RuleParams{
|
||||
Command: "$logtagsCmd -o $out $in $allLogtagsFile",
|
||||
CommandDeps: []string{"$logtagsCmd"},
|
||||
Description: "logtags $out",
|
||||
})
|
||||
|
||||
mergeLogtags = pctx.StaticRule("mergeLogtags",
|
||||
mergeLogtags = pctx.AndroidStaticRule("mergeLogtags",
|
||||
blueprint.RuleParams{
|
||||
Command: "$mergeLogtagsCmd -o $out $in",
|
||||
CommandDeps: []string{"$mergeLogtagsCmd"},
|
||||
|
Reference in New Issue
Block a user