2 "//conditions:default": ".so",
6 def py_extension(name, srcs, hdrs = [], copts = [], features = [], deps = []):
7 for shared_lib_suffix in _SHARED_LIB_SUFFIX.values():
8 shared_lib_name = name + shared_lib_suffix
10 name = shared_lib_name,
19 return native.py_library(
22 platform: [name + shared_lib_suffix]
23 for platform, shared_lib_suffix in _SHARED_LIB_SUFFIX.items()