Merge "Link to documentation about variables in include statements" am: cb1703d8b1

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1975486

Change-Id: I0d554ecb3dc213a43f70bdbd7c07531657eb12a0
This commit is contained in:
Treehugger Robot
2022-02-08 20:14:36 +00:00
committed by Automerger Merge Worker

View File

@@ -101,7 +101,7 @@ func (i inheritedDynamicModule) entryName() string {
func (i inheritedDynamicModule) emitSelect(gctx *generationContext) {
if i.needsWarning {
gctx.newLine()
gctx.writef("%s.mkwarning(%q, %q)", baseName, i.location, "Including a path with a non-constant prefix, please convert this to a simple literal to generate cleaner starlark.")
gctx.writef("%s.mkwarning(%q, %q)", baseName, i.location, "Including a path with a non-constant prefix, please convert this to a simple literal to generate cleaner starlark. See https://source.android.com/setup/build/bazel/product_config/issues/includes for details.")
}
gctx.newLine()
gctx.writef("_entry = {")