You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
685 B
30 lines
685 B
# Adapted with modifications from tensorflow/third_party/py/ |
|
|
|
package(default_visibility=["//visibility:public"]) |
|
|
|
config_setting( |
|
name="windows", |
|
values={"cpu": "x64_windows"}, |
|
visibility=["//visibility:public"], |
|
) |
|
|
|
config_setting( |
|
name="python3", |
|
flag_values = {"@rules_python//python:python_version": "PY3"} |
|
) |
|
|
|
cc_library( |
|
name = "python_lib", |
|
deps = select({ |
|
":python3": ["//_python3:_python3_lib"], |
|
"//conditions:default": ["not-existing.lib"], |
|
}) |
|
) |
|
|
|
cc_library( |
|
name = "python_headers", |
|
deps = select({ |
|
":python3": ["//_python3:_python3_headers"], |
|
"//conditions:default": ["not-existing.headers"], |
|
}) |
|
)
|
|
|