Windows: Use cc_import to import python lib properly (#17474)
authorYun Peng <pcloudy@google.com>
Tue, 6 Mar 2018 17:48:01 +0000 (18:48 +0100)
committerGunhan Gulsoy <gunan@google.com>
Tue, 6 Mar 2018 17:48:01 +0000 (09:48 -0800)
commit1f441c191f9a6d8f27b32b1c19c55f76aaf9e387
tree153d9b0f4bb680fb4c7ed16fd35a709099f08347
parentc6a12c77a50778e28de3590f4618bc2b62f3ecab
Windows: Use cc_import to import python lib properly (#17474)

Previously, we put python.lib in data attribute of a cc_library and
manually added the link option. That caused the build to be
non-hermetic. This change fixed the problem.
third_party/py/BUILD.tpl