[bundles] Move buildbot to //bundles/buildbot:core
Also add the new //bundles/buildbot:bringup group. The new model is
that for each product whose build is tested by bots, there should be
a //bundles/buildbot:$product group. The bot configs will use that,
so `fx set PRODUCT.BOARD --with-base //bundles/buildbot:PRODUCT` will
approximate in a local build what the bots will do.
Bug: INTK-1015 #comment Define //bundles/buildbot:{bringup,core} groups
Change-Id: Iacc19043d34e948bde2215cb5441e91d97c67417
diff --git a/bundles/BUILD.gn b/bundles/BUILD.gn
index d957080..9e10101 100644
--- a/bundles/BUILD.gn
+++ b/bundles/BUILD.gn
@@ -20,13 +20,13 @@
]
}
+# TODO(INTK-1015): This is used by old bot configs. When those have all
+# been converted to use //bundles/buildbot:core directly then this group
+# should be removed.
group("buildbot") {
testonly = true
public_deps = [
- "//bundles:tools",
- "//garnet/packages:all",
- "//peridot/packages:all",
- "//src:tests",
+ "buildbot:core",
]
}
diff --git a/bundles/buildbot/BUILD.gn b/bundles/buildbot/BUILD.gn
new file mode 100644
index 0000000..f2e69b9
--- /dev/null
+++ b/bundles/buildbot/BUILD.gn
@@ -0,0 +1,24 @@
+# Copyright 2019 The Fuchsia Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This has a group corresponding to each product name. It gives the
+# additional base packages that should be included in the build done by
+# a bot to run tests and build-time checks to cover that product's code.
+
+group("bringup") {
+ testonly = true
+ public_deps = [
+ "//garnet/packages/tests:zircon",
+ ]
+}
+
+group("core") {
+ testonly = true
+ public_deps = [
+ "//bundles:tools",
+ "//garnet/packages:all",
+ "//peridot/packages:all",
+ "//src:tests",
+ ]
+}