From b8fa197878bd27a16017b238a9ed1c3a85fcaf10 Mon Sep 17 00:00:00 2001 From: Nan Zhang Date: Fri, 22 Dec 2017 16:12:00 -0800 Subject: 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 --- python/builder.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'python/builder.go') diff --git a/python/builder.go b/python/builder.go index 353054d96..969f9efde 100644 --- a/python/builder.go +++ b/python/builder.go @@ -35,6 +35,13 @@ var ( }, "args") + combineZip = pctx.AndroidStaticRule("combineZip", + blueprint.RuleParams{ + Command: `$mergeParCmd $out $in`, + CommandDeps: []string{"$mergeParCmd"}, + }, + ) + hostPar = pctx.AndroidStaticRule("hostPar", blueprint.RuleParams{ Command: `sed -e 's/%interpreter%/$interp/g' -e 's/%main%/$main/g' $template > $stub && ` + -- cgit v1.2.3-59-g8ed1b