1f89cbb484
Bazel previously had a bug where the source directory of the entrypoint python script would be added to the path. They added PYTHONSAFEPATH to the enviornment to fix it, which was introduced in python 3.11. Now that python is being updated to 3.11, the fix is in, which breaks some scripts that don't properly specify import folders. Add the import folders where required. Bug: 278602456 Test: ./build/bazel/ci/bp2build.sh Change-Id: I5b87f83247dfdfcb8bdb4f962466cbf522cc29c6
28 lines
625 B
Python
28 lines
625 B
Python
py_library(
|
|
name = "event_log_tags",
|
|
srcs = ["event_log_tags.py"],
|
|
imports = ["."],
|
|
)
|
|
|
|
py_binary(
|
|
name = "java-event-log-tags",
|
|
srcs = ["java-event-log-tags.py"],
|
|
python_version = "PY3",
|
|
visibility = ["//visibility:public"],
|
|
deps = [":event_log_tags"],
|
|
)
|
|
|
|
py_binary(
|
|
name = "merge-event-log-tags",
|
|
srcs = ["merge-event-log-tags.py"],
|
|
python_version = "PY3",
|
|
visibility = ["//visibility:public"],
|
|
deps = [":event_log_tags"],
|
|
)
|
|
|
|
py_binary(
|
|
name = "check_elf_file",
|
|
srcs = ["check_elf_file.py"],
|
|
python_version = "PY3",
|
|
visibility = ["//visibility:public"],
|
|
)
|