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 | dde6405 | 2019-12-11 20:28:00 -0800 | [diff] [blame] | 8 | restricted_to = ["//tools:k8"], |
| 9 | visibility = ["//visibility:public"], |
Austin Schuh | 85fc6f1 | 2018-01-23 21:59:43 -0800 | [diff] [blame] | 10 | deps = [ |
Philipp Schrader | 9fc87e0 | 2018-03-10 20:36:39 -0800 | [diff] [blame] | 11 | "@python_repo//:python2.7_lib", |
Austin Schuh | 85fc6f1 | 2018-01-23 21:59:43 -0800 | [diff] [blame] | 12 | ], |
Austin Schuh | 85fc6f1 | 2018-01-23 21:59:43 -0800 | [diff] [blame] | 13 | ) |
| 14 | |
| 15 | cc_binary( |
| 16 | name = "basic_example", |
| 17 | srcs = [ |
| 18 | "examples/basic.cpp", |
| 19 | ], |
Austin Schuh | dde6405 | 2019-12-11 20:28:00 -0800 | [diff] [blame] | 20 | restricted_to = ["//tools:k8"], |
Austin Schuh | 85fc6f1 | 2018-01-23 21:59:43 -0800 | [diff] [blame] | 21 | deps = [ |
| 22 | "matplotlib-cpp", |
| 23 | ], |
Austin Schuh | 85fc6f1 | 2018-01-23 21:59:43 -0800 | [diff] [blame] | 24 | ) |
| 25 | |
| 26 | cc_binary( |
| 27 | name = "animation_example", |
| 28 | srcs = [ |
| 29 | "examples/animation.cpp", |
| 30 | ], |
Austin Schuh | dde6405 | 2019-12-11 20:28:00 -0800 | [diff] [blame] | 31 | restricted_to = ["//tools:k8"], |
Austin Schuh | 85fc6f1 | 2018-01-23 21:59:43 -0800 | [diff] [blame] | 32 | deps = [ |
| 33 | "matplotlib-cpp", |
| 34 | ], |
Austin Schuh | 85fc6f1 | 2018-01-23 21:59:43 -0800 | [diff] [blame] | 35 | ) |