Upgraded to bazel 0.6.1
Enable cpu environments so we can drop the NO_BUILD_* files!!!
Change-Id: I904612c5dcc1a1cd285e160c0836b7249ab5ce72
diff --git a/y2016/BUILD b/y2016/BUILD
index 49e864c..163f90b 100644
--- a/y2016/BUILD
+++ b/y2016/BUILD
@@ -68,6 +68,7 @@
dirs = [
'//y2016/dashboard:www_files',
],
+ restricted_to = ['//tools:roborio'],
)
aos_downloader(
@@ -91,6 +92,7 @@
dirs = [
'//y2016/dashboard:www_files',
],
+ restricted_to = ['//tools:roborio'],
)
cc_binary(
@@ -133,4 +135,5 @@
'//y2016/control_loops/superstructure:superstructure_queue',
'//y2016/queues:ball_detector',
],
+ restricted_to = ['//tools:roborio'],
)
diff --git a/y2016/control_loops/python/BUILD b/y2016/control_loops/python/BUILD
index 4c261e1..5b05da5 100644
--- a/y2016/control_loops/python/BUILD
+++ b/y2016/control_loops/python/BUILD
@@ -10,6 +10,7 @@
'//external:python-glog',
'//frc971/control_loops/python:controls',
],
+ restricted_to = ['//tools:k8'],
)
py_binary(
@@ -23,6 +24,7 @@
'//external:python-glog',
'//frc971/control_loops/python:controls',
],
+ restricted_to = ['//tools:k8'],
)
py_library(
@@ -36,6 +38,7 @@
'//external:python-glog',
'//frc971/control_loops/python:controls',
],
+ restricted_to = ['//tools:k8'],
)
py_binary(
@@ -47,7 +50,8 @@
'//external:python-gflags',
'//external:python-glog',
'//frc971/control_loops/python:controls',
- ]
+ ],
+ restricted_to = ['//tools:k8'],
)
py_binary(
@@ -61,6 +65,7 @@
'//external:python-glog',
'//frc971/control_loops/python:controls',
],
+ restricted_to = ['//tools:k8'],
)
py_binary(
@@ -74,6 +79,7 @@
'//external:python-glog',
'//frc971/control_loops/python:controls',
],
+ restricted_to = ['//tools:k8'],
)
py_binary(
@@ -87,6 +93,7 @@
'//external:python-glog',
'//frc971/control_loops/python:controls',
],
+ restricted_to = ['//tools:k8'],
)
py_library(
@@ -100,6 +107,7 @@
'//external:python-glog',
'//frc971/control_loops/python:controls',
],
+ restricted_to = ['//tools:k8'],
)
py_library(
@@ -113,6 +121,7 @@
'//external:python-glog',
'//frc971/control_loops/python:controls',
],
+ restricted_to = ['//tools:k8'],
)
py_library(
@@ -128,6 +137,7 @@
'//frc971/control_loops/python:controls',
'//aos/common/util:py_trapezoid_profile',
],
+ restricted_to = ['//tools:k8'],
)
py_binary(
name = 'arm',
@@ -142,4 +152,5 @@
'//frc971/control_loops/python:controls',
'//aos/common/util:py_trapezoid_profile',
],
+ restricted_to = ['//tools:k8'],
)
diff --git a/y2016/vision/BUILD b/y2016/vision/BUILD
index d8ca87c..136cdee 100644
--- a/y2016/vision/BUILD
+++ b/y2016/vision/BUILD
@@ -77,7 +77,8 @@
],
)
-cc_binary(name = 'target_sender',
+cc_binary(
+ name = 'target_sender',
srcs = ['target_sender.cc'],
deps = [
'//aos/common:time',
@@ -93,22 +94,25 @@
':stereo_geometry',
':vision_data',
':calibration',
- ]
+ ],
+ restricted_to = ['//tools:k8', '//tools:armhf-debian'],
)
-cc_library(name = "blob_filters",
- srcs = ["blob_filters.cc"],
- hdrs = ["blob_filters.h"],
- deps = [
- "//aos/vision/math:vector",
- "//aos/vision/math:segment",
- "//aos/vision/blob:range_image",
- "//aos/vision/blob:threshold",
- "//aos/vision/blob:find_blob",
- "//aos/vision/blob:hierarchical_contour_merge",
- "//aos/vision/blob:codec",
- ],
+cc_library(
+ name = "blob_filters",
+ srcs = ["blob_filters.cc"],
+ hdrs = ["blob_filters.h"],
+ deps = [
+ "//aos/vision/math:vector",
+ "//aos/vision/math:segment",
+ "//aos/vision/blob:range_image",
+ "//aos/vision/blob:threshold",
+ "//aos/vision/blob:find_blob",
+ "//aos/vision/blob:hierarchical_contour_merge",
+ "//aos/vision/blob:codec",
+ ],
visibility = ['//visibility:public'],
+ restricted_to = ['//tools:k8', '//tools:armhf-debian'],
)
cc_binary(