Brian Silverman | 1d339f4 | 2018-03-11 15:58:00 -0700 | [diff] [blame^] | 1 | # It also restricts use to only with CTRE products and a roboRIO in FRC. |
| 2 | licenses(["permissive"]) |
| 3 | |
| 4 | cc_library( |
| 5 | name = "phoenix", |
| 6 | srcs = glob( |
| 7 | include = [ |
| 8 | "cpp/src/**/*.cpp", |
| 9 | "libraries/driver/include/src/**/*.cpp", |
| 10 | ], |
| 11 | exclude = [ |
| 12 | "**/Tasking/**", |
| 13 | "cpp/src/RCRadio3Ch.cpp", |
| 14 | "cpp/src/CompileTest.cpp", |
| 15 | ], |
| 16 | ), |
| 17 | hdrs = glob( |
| 18 | include = [ |
| 19 | "cpp/include/**/*.h", |
| 20 | "libraries/driver/include/**/*.h", |
| 21 | ], |
| 22 | exclude = [ |
| 23 | "**/Tasking/**", |
| 24 | "cpp/include/ctre/phoenix/RCRadio3Ch.h", |
| 25 | ], |
| 26 | ), |
| 27 | includes = [ |
| 28 | "cpp/include", |
| 29 | "libraries/driver/include", |
| 30 | ], |
| 31 | restricted_to = ["//tools:roborio"], |
| 32 | deps = [ |
| 33 | "//third_party:wpilib", |
| 34 | ], |
| 35 | ) |