blob: 99c02bd2818fca65b0a218df7589c20b57b1cde1 [file] [log] [blame]
Bob Badour02040de2021-02-03 18:08:28 -08001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
Jaewoong Jung4b79e982020-06-01 10:45:49 -07005bootstrap_go_package {
6 name: "soong-python",
7 pkgPath: "android/soong/python",
8 deps: [
9 "blueprint",
10 "soong-android",
11 "soong-tradefed",
12 ],
13 srcs: [
14 "androidmk.go",
15 "binary.go",
16 "builder.go",
17 "defaults.go",
18 "installer.go",
19 "library.go",
20 "proto.go",
21 "python.go",
22 "test.go",
Paul Duffind0890452021-03-17 21:57:08 +000023 "testing.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070024 ],
25 testSrcs: [
26 "python_test.go",
27 ],
28 pluginFor: ["soong_build"],
29}
Cole Faust40c34502022-09-26 11:34:11 -070030
31// We're transitioning all of these flags to be true by default.
32// This is a defaults flag that can be used to easily add all of them to
33// certain modules.
34python_defaults {
35 name: "modern_python_path_defaults",
36 dont_add_top_level_directories_to_path: true,
37 dont_add_entrypoint_folder_to_path: true,
38 proto: {
39 respect_pkg_path: true,
40 },
41}