summaryrefslogtreecommitdiff
path: root/cc
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-03-18 12:33:16 -0700
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2025-03-18 12:33:16 -0700
commitfaed741d27f5c37c62c0ecd3ed91d47166277f35 (patch)
tree755c3097ab43847138dab8547b10c2b85be37999 /cc
parent717c4866f1d2a0ef992181db45d52f33369f046c (diff)
parent3a44dc510be0a8761ac0739b25c9e73db8d91650 (diff)
Merge "Don't call `getArguments` unnecessarily" into main am: ab3911674d am: 3a44dc510b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3549479 Change-Id: Iff412623b7366408b8455fad34dafb8f582031a6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'cc')
-rw-r--r--cc/compdb.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/compdb.go b/cc/compdb.go
index 4132e090b..3818e9c46 100644
--- a/cc/compdb.go
+++ b/cc/compdb.go
@@ -193,7 +193,7 @@ func generateCompdbProject(compiledModule CompiledInterface, ctx android.Singlet
}
builds[src.String()] = compDbEntry{
Directory: android.AbsSrcDirForExistingUseCases(),
- Arguments: getArguments(src, ctx, ccModule, ccPath, cxxPath),
+ Arguments: args,
File: src.String(),
}
}