Anna R
a27429f265
Add port_def.inc and port_undef.inc to generated code hdrs
5 years ago
Anna R
3797ad2217
port should not be public
5 years ago
Anna R
fc4941183f
Add :port dependencies to libraries that include it
5 years ago
Joshua Haberman
626ec4bfcf
Everything builds, test pass except test_decoder.
5 years ago
Lizan Zhou
b973c06480
prefix bazel_version
...
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
5 years ago
Joshua Haberman
5768e68ed7
Fixed for Bazel >= 1.0.
5 years ago
Nicolas "Pixel" Noble
a2013f0fc2
Trying to be more flexible with the version of bazel we can use here.
5 years ago
Nicolas "Pixel" Noble
6e85c2bf03
Fixing the separator string.
5 years ago
Nicolas "Pixel" Noble
9605c7093c
Revert previous fix - to_list() is too new, or...?
5 years ago
Joshua Haberman
ee87a28d2d
Some minor style fixes.
5 years ago
Joshua Haberman
493e9b2614
Build fixes from fuzz target.
6 years ago
Joshua Haberman
75d680d7b0
Small fix to upb_proto_library().
6 years ago
Joshua Haberman
57a63d4c7b
Fixed upb_proto_library() logic for calculating output dir.
6 years ago
Joshua Haberman
ba29af3a6a
Hid generated-code-only headers inside a separate library.
6 years ago
Laurent Le Brun
1a5a609b0e
Update upb_proto_library.bzl for Bazel compatibility
...
With this change, the code now builds with the flags --incompatible_depset_is_not_iterable, --incompatible_new_actions_api, and --incompatible_no_support_tools_in_action_inputs.
These flags will soon be enabled by default in Bazel.
6 years ago
Marcel Hlopko
6d204851d2
Update upb to be forward compatible with Bazel 0.27
...
Specifically, this PR prepares up for:
https://github.com/bazelbuild/bazel/issues/7793
https://github.com/bazelbuild/bazel/issues/7260
6 years ago
Joshua Haberman
5611ff267b
Moved bazel files to bazel/ directory.
6 years ago
Joshua Haberman
06b90f9b69
Split upb_proto_library.bzl into its own .bzl file.
6 years ago
Joshua Haberman
1cf4af7b2c
A (final?) round of Blaze fixes.
6 years ago
Joshua Haberman
e04216eb0f
More Blaze fixes.
6 years ago
Joshua Haberman
7913bc678a
Removed obsolete references to runfiles scripts.
6 years ago
Joshua Haberman
81e813d389
Made upb_proto_reflection_library() a true aspect.
6 years ago
Joshua Haberman
301b6e2d78
Removed map_dep() in favor of rewrites.
6 years ago
Joshua Haberman
13eb14986b
More fixes for Blaze.
6 years ago
Joshua Haberman
a37877a326
Fixes for Blaze.
6 years ago
Joshua Haberman
0fea70b4d9
Works with Bazel 0.24.1 and Bazel 0.25.2!
6 years ago
Joshua Haberman
e294a16c08
Added name to cc_library_func() to avoid conflicts.
6 years ago
Joshua Haberman
6c1b78f095
Update Skylib and update to newer Sandwich API.
6 years ago
Joshua Haberman
20d849a5e0
Fixes for Bazel 0.25.
...
Disabled the conformance tests for now because I didn't push
the necessary changes to the protobuf repo yet.
6 years ago
Joshua Haberman
985145ca16
Fixed amalgamation and CMake build.
6 years ago
Joshua Haberman
d6e466e943
More refactoring/simplification.
6 years ago
Joshua Haberman
65f97218d1
Removed some obsolete code.
6 years ago
Josh Haberman
9fa3e8bd62
Fix the Ubuntu build.
6 years ago
Joshua Haberman
239d4a90db
Fixed upb_proto_library() for macOS.
6 years ago
Josh Haberman
cd9e1e6817
upb_proto_library() aspect is working, even for external repos.
6 years ago
Josh Haberman
f3c560122a
upb_proto_library() works for local project!
...
Doesn't work for remote projects yet though.
6 years ago
Josh Haberman
02e26c5004
Replaced upb_proto_library() with a truly aspect-based rule.
6 years ago
Joshua Haberman
928ef7f2c0
Removed reflection and other extraneous things from the core library. ( #158 )
...
* Removed reflection and other extraneous things from the core library.
* Added missing files and ran buildifier.
* New CMakeLists.txt.
* Made table its own cc_library() for internal usage.
6 years ago
Joshua Haberman
00f96cb947
Fixed macOS Kokoro build for new Bazel. ( #159 )
6 years ago
Josh Haberman
3d93155790
Fix to deps.
6 years ago
Josh Haberman
68d86cbc59
Ported BUILD file fixes for google3 to arrayapi branch.
6 years ago
Josh Haberman
ca5f951137
More fixes for google3 import.
6 years ago
Joshua Haberman
7f9f7222bf
Changes for google3 import.
6 years ago
Joshua Haberman
b4dec6b897
Fixed amalgamation to not list header files explicitly.
6 years ago
Josh Haberman
9dd2446531
test_cpp is working!
6 years ago
Joshua Haberman
377871f104
Got test_decoder working!
6 years ago
Joshua Haberman
66f90464a8
Fix for sed that also works on Linux.
6 years ago
Joshua Haberman
35fa3df8ec
Fixes for macOS build. Also run tests in CMake test.
6 years ago
Paul Yang
9e44a757ed
Fix Bazel Kokoro build ( #136 )
6 years ago
Josh Haberman
9ce4a77f61
Updates to build system for upb C++ compiler.
6 years ago