Set enforce SOONG_GEN_COMPDB=1 when running soong for ide_query

Change-Id: I125a82fb07285bf53e9a6d591dee69d85ee82050
This commit is contained in:
Michael Merg 2024-04-18 12:06:31 +00:00
parent 45c6fd0c17
commit 75d934f261

View file

@ -304,6 +304,7 @@ func runMake(ctx context.Context, env Env, modules ...string) error {
args := []string{
"--make-mode",
"ANDROID_BUILD_ENVIRONMENT_CONFIG=googler-cog",
"SOONG_GEN_COMPDB=1",
"TARGET_PRODUCT=" + env.LunchTarget.Product,
"TARGET_RELEASE=" + env.LunchTarget.Release,
"TARGET_BUILD_VARIANT=" + env.LunchTarget.Variant,