summaryrefslogtreecommitdiff
path: root/python/python.go
diff options
context:
space:
mode:
author Lais Andrade <lsandrade@google.com> 2022-10-07 10:09:09 +0000
committer Lais Andrade <lsandrade@google.com> 2022-10-07 10:09:09 +0000
commit4d5cc709fa16f5dc78f690369e946fcf66156312 (patch)
treec8130cb2f99f9971d4976065a8b42b60320ff95c /python/python.go
parent5fe655d1c71ee079dd46e93c96b54aae39a10d16 (diff)
Revert "Enable new python path behavior by default"
This reverts commit 5fe655d1c71ee079dd46e93c96b54aae39a10d16. Reason for revert: DroidMonitor: Potential culprit for Bug b/251688241 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted. Change-Id: I1ea4df27557fc891d8f0156ec5681f9b0c601c98
Diffstat (limited to 'python/python.go')
-rw-r--r--python/python.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python.go b/python/python.go
index 6f3a0ecf3..f6029c250 100644
--- a/python/python.go
+++ b/python/python.go
@@ -677,7 +677,8 @@ func (p *Module) createSrcsZip(ctx android.ModuleContext, pkgPath string) androi
protoFlags := android.GetProtoFlags(ctx, &p.protoProperties)
protoFlags.OutTypeFlag = "--python_out"
- protosRespectPkgPath := proptools.BoolDefault(p.properties.Proto.Respect_pkg_path, true)
+ // TODO(b/247578564): Change the default to true, and then eventually remove respect_pkg_path
+ protosRespectPkgPath := proptools.BoolDefault(p.properties.Proto.Respect_pkg_path, false)
pkgPathForProtos := pkgPath
if pkgPathForProtos != "" && protosRespectPkgPath {
pkgPathStagingDir := android.PathForModuleGen(ctx, "protos_staged_for_pkg_path")