From 5985846f296fde6b0511643cc3049f8ac12d780a Mon Sep 17 00:00:00 2001 From: Raphael Blistein Date: Wed, 8 May 2024 16:15:53 +0000 Subject: relax the restriction on .proto files in data Context: yaqs/7447701439926763520#a1 Bug: b/339454115 Test: go test Change-Id: If3ed81334a192993d32404301b55ca7b4f5780ae --- python/python_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/python_test.go') diff --git a/python/python_test.go b/python/python_test.go index c0b7295f9..6a6bd1d91 100644 --- a/python/python_test.go +++ b/python/python_test.go @@ -50,7 +50,7 @@ var ( " Second file: in module %s at path %q." noSrcFileErr = moduleVariantErrTemplate + "doesn't have any source files!" badSrcFileExtErr = moduleVariantErrTemplate + "srcs: found non (.py|.proto) file: %q!" - badDataFileExtErr = moduleVariantErrTemplate + "data: found (.py|.proto) file: %q!" + badDataFileExtErr = moduleVariantErrTemplate + "data: found (.py) file: %q!" bpFile = "Android.bp" data = []struct { -- cgit v1.2.3-59-g8ed1b