James Kuszmaul | 6271cf7 | 2019-09-18 20:10:08 -0700 | [diff] [blame^] | 1 | cc_library( |
| 2 | name = "webgl2_plotter", |
| 3 | srcs = ["webgl2_plotter.cc"], |
| 4 | hdrs = ["webgl2_plotter.h"], |
| 5 | linkopts = [ |
| 6 | "-s", |
| 7 | "USE_WEBGL2=1", |
| 8 | "-s", |
| 9 | "FULL_ES3=1", |
| 10 | ], |
| 11 | restricted_to = ["//tools:web"], |
| 12 | visibility = ["//visibility:public"], |
| 13 | deps = ["@org_tuxfamily_eigen//:eigen"], |
| 14 | ) |
| 15 | |
| 16 | cc_library( |
| 17 | name = "webgl2_animator", |
| 18 | srcs = ["webgl2_animator.cc"], |
| 19 | hdrs = ["webgl2_animator.h"], |
| 20 | linkopts = [ |
| 21 | "-s", |
| 22 | "USE_WEBGL2=1", |
| 23 | ], |
| 24 | restricted_to = ["//tools:web"], |
| 25 | visibility = ["//visibility:public"], |
| 26 | deps = [ |
| 27 | ":webgl2_plotter", |
| 28 | "@org_tuxfamily_eigen//:eigen", |
| 29 | ], |
| 30 | ) |