summaryrefslogtreecommitdiff
path: root/python/binary.go
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2022-10-07 01:02:30 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-10-07 01:02:30 +0000
commitbe5f83ef1b891b364b17c45960a5dc2a539a2095 (patch)
tree8af4f514ab23f541bfcbbbb4f78fec9c4491ffdb /python/binary.go
parent3a56f5e0e0fdf366d34d661913bff708315bd951 (diff)
parent5fe655d1c71ee079dd46e93c96b54aae39a10d16 (diff)
Merge "Enable new python path behavior by default"
Diffstat (limited to 'python/binary.go')
-rw-r--r--python/binary.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/binary.go b/python/binary.go
index e6324a3b5..f4ad626b8 100644
--- a/python/binary.go
+++ b/python/binary.go
@@ -192,8 +192,8 @@ func (binary *binaryDecorator) bootstrap(ctx android.ModuleContext, actualVersio
})
}
- addTopDirectoriesToPath := !proptools.BoolDefault(binary.binaryProperties.Dont_add_top_level_directories_to_path, false)
- dontAddEntrypointFolderToPath := proptools.BoolDefault(binary.binaryProperties.Dont_add_entrypoint_folder_to_path, false)
+ addTopDirectoriesToPath := !proptools.BoolDefault(binary.binaryProperties.Dont_add_top_level_directories_to_path, true)
+ dontAddEntrypointFolderToPath := proptools.BoolDefault(binary.binaryProperties.Dont_add_entrypoint_folder_to_path, true)
binFile := registerBuildActionForParFile(ctx, embeddedLauncher, launcherPath,
binary.getHostInterpreterName(ctx, actualVersion),