blob: 29c47d7105fa083e61e665ec30ab41a8c15350ab [file] [log] [blame]
Austin Schuh55139fe2015-10-14 23:55:24 -07001package(default_visibility = ['//visibility:public'])
2
3load('/tools/build_rules/select', 'cpu_select')
4
5[ cc_library(
6 name = libname,
7 deps = cpu_select({
8 "roborio": ['@arm-frc-linux-gnueabi-repo//:' + libname],
Brian Silvermanc6400612015-11-29 05:59:53 +00009 "amd64": ['@usr_repo//:' + libname],
Austin Schuh55139fe2015-10-14 23:55:24 -070010 }),
11) for libname in ['libpthread', 'libm', 'libdl', 'librt']]