Skip to content

Commit

Permalink
Update phoenix lib
Browse files Browse the repository at this point in the history
  • Loading branch information
ankithm28 committed Feb 7, 2023
1 parent 5c86bb7 commit 8c37ca6
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion bazelrio/libraries/cpp/ctre/phoenix/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ CC_NATIVE_LIBS = [
"@__bazelrio_com_ctre_phoenixpro_sim_simtalonfx_{}//:shared_libs",
"@__bazelrio_com_ctre_phoenixpro_sim_simpigeonimu_{}//:shared_libs",
"@__bazelrio_com_ctre_phoenixpro_sim_simcancoder_{}//:shared_libs",
"@__bazelrio_com_ctre_phoenixpro_sim_tools-sim_{}//:shared_libs",
"@__bazelrio_com_ctre_phoenixpro_sim_simprocancoder_{}//:shared_libs",
"@__bazelrio_com_ctre_phoenixpro_sim_simpropigeon2_{}//:shared_libs",
"@__bazelrio_com_ctre_phoenixpro_sim_simprotalonfx_{}//:shared_libs",
]

cc_library(
Expand All @@ -17,7 +21,9 @@ cc_library(
"@__bazelrio_com_ctre_phoenix_api-cpp_headers//:headers",
"@__bazelrio_com_ctre_phoenix_cci_headers//:headers",
"@__bazelrio_com_ctre_phoenix_wpiapi-cpp_headers//:headers",
"@__bazelrio_com_ctre_phoenixpro_tools_headers//:headers",
"//libraries/cpp/wpilib/wpilibc",

] + select({
"@bazel_tools//src/conditions:windows": [lib.format("windowsx86-64") for lib in CC_NATIVE_LIBS],
"@bazel_tools//src/conditions:linux_x86_64": [lib.format("linuxx86-64") for lib in CC_NATIVE_LIBS],
Expand All @@ -26,6 +32,7 @@ cc_library(
"@__bazelrio_com_ctre_phoenix_wpiapi-cpp_linuxathena//:shared_libs",
"@__bazelrio_com_ctre_phoenix_cci_linuxathena//:shared_libs",
"@__bazelrio_com_ctre_phoenix_api-cpp_linuxathena//:shared_libs",
"@__bazelrio_com_ctre_phoenixpro_tools_linuxathena//:shared_libs",
],
}),
)
Expand All @@ -37,6 +44,10 @@ JNI_NATIVE_LIBS = [
"@__bazelrio_com_ctre_phoenixpro_sim_simvictorspx_{}//:shared_libs",
"@__bazelrio_com_ctre_phoenixpro_sim_simpigeonimu_{}//:shared_libs",
"@__bazelrio_com_ctre_phoenixpro_sim_simcancoder_{}//:shared_libs",
"@__bazelrio_com_ctre_phoenixpro_sim_tools-sim_{}//:shared_libs",
"@__bazelrio_com_ctre_phoenixpro_sim_simprocancoder_{}//:shared_libs",
"@__bazelrio_com_ctre_phoenixpro_sim_simpropigeon2_{}//:shared_libs",
"@__bazelrio_com_ctre_phoenixpro_sim_simprotalonfx_{}//:shared_libs",
]

cc_library(
Expand All @@ -50,4 +61,4 @@ cc_library(
"@__bazelrio_com_ctre_phoenix_cci_linuxathena//:shared_libs",
],
}),
)
)

0 comments on commit 8c37ca6

Please sign in to comment.