Avoid dereferencing ANDROID_BUILD_TOP
We want to print to the user to use this variable, but it might not be set in all environments where we run the build. Namely, in sdk finalization CI. Bug: 244456768 Test: N/A Change-Id: I233e7d0ee6a7ed43760ad723fccd70ea97f7b806
This commit is contained in:
parent
77c1d77b48
commit
855094c759
1 changed files with 1 additions and 1 deletions
|
@ -953,7 +953,7 @@ func sourceAbiDiff(ctx android.ModuleContext, inputDump android.Path, referenceD
|
|||
extraFlags = append(extraFlags, "-target-version", sourceVersion)
|
||||
}
|
||||
} else {
|
||||
errorMessage = "error: Please update ABI references with: $ANDROID_BUILD_TOP/development/vndk/tools/header-checker/utils/create_reference_dumps.py -l " + libName
|
||||
errorMessage = "error: Please update ABI references with: $$ANDROID_BUILD_TOP/development/vndk/tools/header-checker/utils/create_reference_dumps.py -l " + libName
|
||||
extraFlags = append(extraFlags, "-target-version", "current")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue