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

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

Change-Id: I8fc159bad8b3cfc4fe9b5ebad334c273ed0c6dfb
This commit is contained in:
Treehugger Robot 2022-02-08 20:28:14 +00:00 committed by Automerger Merge Worker
commit 3a47638b76

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 = {")