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 = [
|
|
|
|
"//mediapipe",
|
|
|
|
"//third_party/py/absl:app",
|
|
|
|
"//third_party/py/absl/flags",
|
|
|
|
"//third_party/py/tensorflow_docs",
|
|
|
|
"//third_party/py/tensorflow_docs/api_generator:generate_lib",
|
|
|
|
"//third_party/py/tensorflow_docs/api_generator:public_api",
|
|
|
|
],
|
|
|
|
)
|
2022-11-11 02:00:00 +01:00
|
|
|
|
|
|
|
py_binary(
|
|
|
|
name = "build_java_api_docs",
|
|
|
|
srcs = ["build_java_api_docs.py"],
|
|
|
|
data = [
|
|
|
|
"//third_party/java/doclava/current:doclava.jar",
|
|
|
|
"//third_party/java/jsilver:jsilver_jar",
|
|
|
|
],
|
|
|
|
env = {
|
|
|
|
"DOCLAVA_JAR": "$(location //third_party/java/doclava/current:doclava.jar)",
|
|
|
|
"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",
|
|
|
|
],
|
|
|
|
)
|