summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2019-02-17 14:58:20 -0800
committerJosh Haberman <jhaberman@gmail.com>2019-02-17 14:58:20 -0800
commit5575a228c9e529d3d7656d777f876ca7062f4535 (patch)
tree1deb5055fd004859a28d42ebdf5b6236822c0b39
parentc1706e0a7cad3c1d24b0f0d19bd3626906fa9bfd (diff)
parentb0292a9eb1ab199217a04f726a536fab57d65e74 (diff)
Merge branch 'master' into defcleanup
-rw-r--r--BUILD23
-rw-r--r--build_defs.bzl1
-rw-r--r--kokoro/ubuntu/build.sh5
3 files changed, 18 insertions, 11 deletions
diff --git a/BUILD b/BUILD
index a0badc9..db2c6e0 100644
--- a/BUILD
+++ b/BUILD
@@ -124,6 +124,7 @@ cc_library(
],
hdrs = ["upbc/generator.h"],
deps = [
+ map_dep("@absl//absl/base:core_headers"),
map_dep("@absl//absl/strings"),
map_dep("@com_google_protobuf//:protobuf"),
map_dep("@com_google_protobuf//:protoc_lib"),
@@ -416,6 +417,17 @@ py_binary(
srcs = ["tools/make_cmakelists.py"],
)
+genrule(
+ name = "gen_cmakelists",
+ srcs = [
+ "BUILD",
+ "WORKSPACE",
+ ],
+ outs = ["generated/CMakeLists.txt"],
+ cmd = "$(location :make_cmakelists) $@",
+ tools = [":make_cmakelists"],
+)
+
proto_library(
name = "descriptor_proto",
srcs = [
@@ -430,17 +442,6 @@ genrule(
cmd = "cp $< $@",
)
-genrule(
- name = "gen_cmakelists",
- srcs = [
- "BUILD",
- "WORKSPACE",
- ],
- outs = ["generated/CMakeLists.txt"],
- cmd = "$(location :make_cmakelists) $@",
- tools = [":make_cmakelists"],
-)
-
proto_library(
name = "google_descriptor_proto",
srcs = [
diff --git a/build_defs.bzl b/build_defs.bzl
index 1c26a00..fe52d9b 100644
--- a/build_defs.bzl
+++ b/build_defs.bzl
@@ -210,6 +210,7 @@ upb_amalgamation = rule(
is_bazel = not hasattr(native, "genmpm")
google3_dep_map = {
+ "@absl//absl/base:core_headers": "//third_party/absl/base:core_headers",
"@absl//absl/strings": "//third_party/absl/strings",
"@com_google_protobuf//:protoc": "//third_party/protobuf:protoc",
"@com_google_protobuf//:protobuf": "//third_party/protobuf:protobuf",
diff --git a/kokoro/ubuntu/build.sh b/kokoro/ubuntu/build.sh
index 3550a34..ad8122b 100644
--- a/kokoro/ubuntu/build.sh
+++ b/kokoro/ubuntu/build.sh
@@ -3,6 +3,11 @@
# Install the latest version of Bazel.
use_bazel.sh latest
+# Verify/query CMake
+echo PATH=$PATH
+ls -l `which cmake`
+cmake --version
+
# Log the bazel path and version.
which bazel
bazel version
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback