2022-10-28 06:11:48 +02:00
|
|
|
# Placeholder for internal Python strict binary compatibility macro.
|
|
|
|
|
|
|
|
py_binary(
|
|
|
|
name = "build_py_api_docs",
|
|
|
|
srcs = ["build_py_api_docs.py"],
|
|
|
|
deps = [
|
|
|
|
"//third_party/py/absl:app",
|
|
|
|
"//third_party/py/absl/flags",
|
2023-01-26 00:29:17 +01:00
|
|
|
"//third_party/py/mediapipe",
|
2022-10-28 06:11:48 +02:00
|
|
|
"//third_party/py/tensorflow_docs/api_generator:generate_lib",
|
|
|
|
],
|
|
|
|
)
|
2022-11-11 02:00:00 +01:00
|
|
|
|
|
|
|
py_binary(
|
|
|
|
name = "build_java_api_docs",
|
|
|
|
srcs = ["build_java_api_docs.py"],
|
|
|
|
data = [
|
2022-11-16 01:58:38 +01:00
|
|
|
"//third_party/android/sdk:api/26.txt",
|
2023-03-28 00:49:00 +02:00
|
|
|
"//third_party/java/doclava:doclet.jar",
|
2022-11-11 02:00:00 +01:00
|
|
|
"//third_party/java/jsilver:jsilver_jar",
|
|
|
|
],
|
|
|
|
env = {
|
2023-03-28 00:49:00 +02:00
|
|
|
"DOCLAVA_JAR": "$(location //third_party/java/doclava:doclet.jar)",
|
2022-11-11 02:00:00 +01:00
|
|
|
"JSILVER_JAR": "$(location //third_party/java/jsilver:jsilver_jar)",
|
|
|
|
},
|
|
|
|
deps = [
|
|
|
|
"//third_party/py/absl:app",
|
|
|
|
"//third_party/py/absl/flags",
|
|
|
|
"//third_party/py/tensorflow_docs/api_generator/gen_java",
|
|
|
|
],
|
|
|
|
)
|