Austin Schuh | e9ae456 | 2023-04-25 22:18:18 -0700 | [diff] [blame] | 1 | cc_library( |
| 2 | name = "convex", |
| 3 | hdrs = ["convex.h"], |
| 4 | target_compatible_with = ["@platforms//os:linux"], |
| 5 | visibility = ["//visibility:public"], |
| 6 | deps = [ |
| 7 | "@com_github_google_glog//:glog", |
Austin Schuh | 2944103 | 2023-05-31 19:32:24 -0700 | [diff] [blame] | 8 | "@com_google_absl//absl/strings", |
Austin Schuh | e9ae456 | 2023-04-25 22:18:18 -0700 | [diff] [blame] | 9 | "@org_tuxfamily_eigen//:eigen", |
| 10 | ], |
| 11 | ) |
| 12 | |
| 13 | cc_test( |
| 14 | name = "convex_test", |
| 15 | srcs = [ |
| 16 | "convex_test.cc", |
| 17 | ], |
| 18 | target_compatible_with = ["@platforms//os:linux"], |
| 19 | deps = [ |
| 20 | ":convex", |
| 21 | "//aos/testing:googletest", |
| 22 | ], |
| 23 | ) |
Austin Schuh | 2944103 | 2023-05-31 19:32:24 -0700 | [diff] [blame] | 24 | |
| 25 | cc_library( |
| 26 | name = "sparse_convex", |
| 27 | srcs = ["sparse_convex.cc"], |
| 28 | hdrs = ["sparse_convex.h"], |
| 29 | target_compatible_with = ["@platforms//os:linux"], |
| 30 | visibility = ["//visibility:public"], |
| 31 | deps = [ |
| 32 | "@com_github_google_glog//:glog", |
| 33 | "@com_google_absl//absl/strings", |
| 34 | "@org_tuxfamily_eigen//:eigen", |
| 35 | ], |
| 36 | ) |
| 37 | |
| 38 | cc_test( |
| 39 | name = "sparse_convex_test", |
| 40 | srcs = ["sparse_convex_test.cc"], |
| 41 | target_compatible_with = ["@platforms//os:linux"], |
| 42 | deps = [ |
| 43 | ":sparse_convex", |
| 44 | "//aos/testing:googletest", |
| 45 | ], |
| 46 | ) |