Austin Schuh | 85fc6f1 | 2018-01-23 21:59:43 -0800 | [diff] [blame] | 1 | licenses(["notice"]) |
| 2 | |
| 3 | cc_library( |
| 4 | name = "matplotlib-cpp", |
| 5 | hdrs = [ |
Austin Schuh | dde6405 | 2019-12-11 20:28:00 -0800 | [diff] [blame] | 6 | "matplotlibcpp.h", |
Austin Schuh | 85fc6f1 | 2018-01-23 21:59:43 -0800 | [diff] [blame] | 7 | ], |
Austin Schuh | c4a833d | 2020-07-03 18:14:58 -0700 | [diff] [blame] | 8 | data = [ |
| 9 | "@matplotlib_repo//:matplotlib3", |
| 10 | "@python_repo//:all_files", |
| 11 | ], |
Austin Schuh | dde6405 | 2019-12-11 20:28:00 -0800 | [diff] [blame] | 12 | restricted_to = ["//tools:k8"], |
| 13 | visibility = ["//visibility:public"], |
Austin Schuh | 85fc6f1 | 2018-01-23 21:59:43 -0800 | [diff] [blame] | 14 | deps = [ |
Austin Schuh | c4a833d | 2020-07-03 18:14:58 -0700 | [diff] [blame] | 15 | "@python_repo//:python3.5_lib", |
Austin Schuh | 85fc6f1 | 2018-01-23 21:59:43 -0800 | [diff] [blame] | 16 | ], |
Austin Schuh | 85fc6f1 | 2018-01-23 21:59:43 -0800 | [diff] [blame] | 17 | ) |
| 18 | |
| 19 | cc_binary( |
| 20 | name = "basic_example", |
| 21 | srcs = [ |
| 22 | "examples/basic.cpp", |
| 23 | ], |
Austin Schuh | dde6405 | 2019-12-11 20:28:00 -0800 | [diff] [blame] | 24 | restricted_to = ["//tools:k8"], |
Austin Schuh | 85fc6f1 | 2018-01-23 21:59:43 -0800 | [diff] [blame] | 25 | deps = [ |
| 26 | "matplotlib-cpp", |
| 27 | ], |
Austin Schuh | 85fc6f1 | 2018-01-23 21:59:43 -0800 | [diff] [blame] | 28 | ) |
| 29 | |
| 30 | cc_binary( |
| 31 | name = "animation_example", |
| 32 | srcs = [ |
| 33 | "examples/animation.cpp", |
| 34 | ], |
Austin Schuh | dde6405 | 2019-12-11 20:28:00 -0800 | [diff] [blame] | 35 | restricted_to = ["//tools:k8"], |
Austin Schuh | 85fc6f1 | 2018-01-23 21:59:43 -0800 | [diff] [blame] | 36 | deps = [ |
| 37 | "matplotlib-cpp", |
| 38 | ], |
Austin Schuh | 85fc6f1 | 2018-01-23 21:59:43 -0800 | [diff] [blame] | 39 | ) |