Export error reporting function to allow using it in other packages.

Test: lunch aosp_cf_x86_phone-userdebug && m
Change-Id: I3a1d936ac57966b2f47cb1d9a56e0f96f47b807d
This commit is contained in:
Ulya Trafimovich
2020-08-25 12:45:15 +01:00
parent f5a2b8a641
commit 5ab276ad1d
3 changed files with 23 additions and 23 deletions

View File

@@ -2246,7 +2246,7 @@ func OutputFileForModule(ctx PathContext, module blueprint.Module, tag string) P
return nil
}
if len(paths) > 1 {
reportPathErrorf(ctx, "got multiple output files from module %q, expected exactly one",
ReportPathErrorf(ctx, "got multiple output files from module %q, expected exactly one",
pathContextName(ctx, module))
return nil
}