Add Python protobuf support.
Python protobuf std libs will be wrapped in final binary/test par file. Bug: b/70568913 Test: manually create real examples. Change-Id: I7376ec9175f3e03d1adbd20858a7f74e826387ad
This commit is contained in:
@@ -48,8 +48,8 @@ var (
|
||||
" First file: in module %s at path %q." +
|
||||
" Second file: in module %s at path %q."
|
||||
noSrcFileErr = moduleVariantErrTemplate + "doesn't have any source files!"
|
||||
badSrcFileExtErr = moduleVariantErrTemplate + "srcs: found non (.py) file: %q!"
|
||||
badDataFileExtErr = moduleVariantErrTemplate + "data: found (.py) file: %q!"
|
||||
badSrcFileExtErr = moduleVariantErrTemplate + "srcs: found non (.py|.proto) file: %q!"
|
||||
badDataFileExtErr = moduleVariantErrTemplate + "data: found (.py|.proto) file: %q!"
|
||||
bpFile = "Blueprints"
|
||||
|
||||
data = []struct {
|
||||
@@ -312,10 +312,10 @@ var (
|
||||
"runfiles/e/default_py3.py",
|
||||
"runfiles/e/file4.py",
|
||||
},
|
||||
srcsZip: "@prefix@/.intermediates/dir/bin/PY3/bin.zip",
|
||||
srcsZip: "@prefix@/.intermediates/dir/bin/PY3/bin.py.srcszip",
|
||||
depsSrcsZips: []string{
|
||||
"@prefix@/.intermediates/dir/lib5/PY3/lib5.zip",
|
||||
"@prefix@/.intermediates/dir/lib6/PY3/lib6.zip",
|
||||
"@prefix@/.intermediates/dir/lib5/PY3/lib5.py.srcszip",
|
||||
"@prefix@/.intermediates/dir/lib6/PY3/lib6.py.srcszip",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user