| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
This reverts commit 5235d06159ba6fee412bee261ea7867d061252b0.
Unfortunately, we noticed several build errors / test failures internally due this
change.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update protobuf to @laszlocsomor's fork of protobuf. This is essentially
the development version of protobuf 3.2.0 and windows specific fixes
from laszlo. Those fixes will be merged into protobuf soon:
https://github.com/google/protobuf/pull/2969).
For instructions on how to update protobuf for bazel see
README.bazel.md.
Change-Id: Ic1daafe30270cb6bcc6231e6c94fb670af0475e7
|
|
|
|
| |
This reverts commit ea82aa115794b019472b44d4f94ed902c1217f30.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update protobuf to @laszlocsomor's fork of protobuf. This is essentially
the development version of protobuf 3.2.0 and windows specific fixes
from laszlo. Those fixes will be merged into protobuf soon:
https://github.com/google/protobuf/pull/2969).
For instructions on how to update protobuf for bazel see
README.bazel.md.
Change-Id: I4f663955b0baeea3232b69ce32d9292427f5274a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create dedicated files for the long-path-aware
Windows implementations of open/access/mkdir.
This commit updates many BUT NOT ALL usages of
<io.h> functions in protobuf's code base. Reason
being is that there are no Bazel build rules for
the unittest files that include <io.h>, so I
decided to leave those alone.
Thanks to this commit I can now build Bazel with
MSVC without needing a short --output_user_base.
Fixes https://github.com/bazelbuild/bazel/issues/2634
See https://github.com/bazelbuild/bazel/issues/2107
See https://github.com/google/protobuf/issues/2891
Change-Id: I374726452300854a36e4628bb22cb7bbb12f3bad
|
|
|
|
|
|
|
| |
Fixes https://github.com/bazelbuild/bazel/issues/2634
Fixes https://github.com/google/protobuf/issues/2891
Change-Id: I5b82954cbced4e0d3fcd7ac6f168cca34e57f731
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 2346f5a01561f695a2b2ba7655359d5020105077.
It breaks bazel build in freebsd[1]. The solution is to patch
https://svnweb.freebsd.org/ports/head/devel/protobuf/files/. I
rolled-back this since the other builds will not automatically start if
Bazel is broken.
[1] http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/JAVA_VERSION=1.8,PLATFORM_NAME=freebsd-11/1312/
Change-Id: I7e939a4293d799ab6dd67f93d219d1efdf4cd901
|
|
|
|
|
|
|
| |
with some backports from HEAD
(:java_toolchain, internal_gen_well_known_protos_java)
Change-Id: I54be8809f411ec8cb02203b478f699e1fccb5f62
|
|
|
|
|
|
| |
Also, rename rules in third_party/protobuf/3.0.0/BUILD to match upstream protobuf.
Change-Id: I343982e752722ebb2461fb08e722558cea2f06b9
|
|
|
|
|
|
|
|
|
| |
1. Removed "protobuf" which used to point at the Java proto runtime.
2. Added "protobuf" that points at the C++ proto runtime (protobuf_clib also currently points there)
3. Added "protobuf_java_util" which points at Java proto utils (protobuf-util also currently points there)
4. Removed some aliases which aren't used in Bazel.
Change-Id: If23a9797af8d87fd6df89bf9bad361288f2e0565
|
|
|
|
|
|
|
|
|
| |
This is in preparation for placing it in a local repository of its own.
The goal is to make proto_library depend on @com_google_protobuf//:protoc by default instead of //third_party/protobuf:protoc.
This, in turn, will allow easier set-up for proto_library: just download a protobuf distro and point at it from their WORKSPACE.
Change-Id: I1b1ec61a414a765843553c84a179a6768956180a
|
| |
|
|
|
|
|
|
| |
Commit 6d31cb was an internal reorganization of google repository
that should have resulted in no change. Due to a bug in our export
process it deleted several files in third_party.
|
|
|
|
|
| |
PiperOrigin-RevId: 142666783
MOS_MIGRATED_REVID=142666783
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 141322619
MOS_MIGRATED_REVID=141322619
|
|
|
|
|
|
|
|
|
|
| |
Fixes compilation on FreeBSD
--
Change-Id: Iedaa9e08615b8a52fae6f19c867d419938a08411
Reviewed-on: https://cr.bazel.build/7591
PiperOrigin-RevId: 140838599
MOS_MIGRATED_REVID=140838599
|
|
|
|
|
|
|
|
|
| |
java_xxx_proto_library rules now look for toolchains in the external repo @com_google_protobuf_xxx//:xxx_toolchain
This still requires getting protobuf's GitHub repository to build with Bazel.
--
MOS_MIGRATED_REVID=140420903
|
|
|
|
|
|
| |
...as we build protoc from source now.
Change-Id: Ib9662345cf98af9b90da7422658796ee4937e1ce
|
|
|
|
|
|
|
|
|
|
| |
Use the provided sources to build the protoc binary instead of
using the committed binaries.
--
Change-Id: I3df01e9f400e3cebbd1fe3ce74c6142c93c58b6c
Reviewed-on: https://cr.bazel.build/6732
MOS_MIGRATED_REVID=140192644
|
|
|
|
|
|
|
| |
Fixes #2119 and related bootstrap breakage.
Change-Id: I7ca5b9f509e182780f3486c22bf30da3d4104f15
RELNOTES: None.
|
|
|
|
|
|
|
| |
preparation of removing the older one from //third_party/protobuf.
--
MOS_MIGRATED_REVID=140023015
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Use proto_lang_toolchain() in java_proto_library, after fixing breakage.
Verified on Jenkins, http://ci.bazel.io/job/Gerrit-bazel-tests/169/
*** Original change description ***
Automated [] rollback of commit a396b070ae36032a973672e11145533621c39edc.
*** Reason for rollback ***
Breaks tests on latest, as proto_lang_toolchain didn't make it into the 0.4.0 release
see http://ci.bazel.io/job/bazel-tests/306/BAZEL_VERSION=latest,PLATFORM_NAME=linux-x86_64/console
*** Original change description ***
Use proto_lang_toolchain() in java_proto_library.
--
MOS_MIGRATED_REVID=138432193
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks tests on latest, as proto_lang_toolchain didn't make it into the 0.4.0 release
see http://ci.bazel.io/job/bazel-tests/306/BAZEL_VERSION=latest,PLATFORM_NAME=linux-x86_64/console
*** Original change description ***
Use proto_lang_toolchain() in java_proto_library.
--
MOS_MIGRATED_REVID=138372522
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=138161512
|
|
|
|
|
|
|
|
|
|
|
| |
The "protobuf_python" target references a "protobuf_python_srcs" target in its deps, which does not exist, causing a build error when I tried to run "bazel build //src/main/...":
ERROR: /Users/philwo/src/bazel/third_party/protobuf/3.0.0/BUILD:70:1: in deps attribute of py_library rule //third_party/protobuf/3.0.0:protobuf_python: rule '//third_party/protobuf/3.0.0:protobuf_python_srcs' does not exist. Since this rule was created by the macro 'py_proto_library', the error might have been caused by the macro implementation in /Users/philwo/src/bazel/third_party/protobuf/protobuf.bzl:256:12.
I think the "python_srcs" target should actually be called "protobuf_python_srcs". With that change, the build works.
--
MOS_MIGRATED_REVID=136467485
|
|
|
|
|
|
|
|
|
|
|
| |
We have added support for Linux s390x platform in Bazel.
Closes #1891.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/1891
MOS_MIGRATED_REVID=135777047
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Windows protoc compiler fixed: https://github.com/bazelbuild/bazel/issues/1856
*** Original change description ***
Automated [] rollback of commit a12aae73ee292fdcb170f4eaeb8939283d05383c.
*** Reason for rollback ***
Breaks Bazel Windows Bootstrap
Fix https://github.com/bazelbuild/bazel/issues/1851
*** Original change description ***
Updates protobuf in bazel to version 3.0.0.
--
MOS_MIGRATED_REVID=134699683
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to roll forward
https://github.com/bazelbuild/bazel/commit/a12aae73ee292fdcb170f4eaeb8939283d05383c
which was rolled back by commit
https://github.com/bazelbuild/bazel/commit/0d36f410370ed99cbd57359d7444269faec134f8
Fixes https://github.com/bazelbuild/bazel/issues/1856
RELNOTES: Update protoc-3.0.0-mingw.exe to a working (statically linked) binary
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks Bazel Windows Bootstrap
Fix https://github.com/bazelbuild/bazel/issues/1851
*** Original change description ***
Updates protobuf in bazel to version 3.0.0.
--
MOS_MIGRATED_REVID=134510744
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=134464786
|
|
|
|
| |
Change-Id: Ia0d5aebdf5d24da8aadecc51fd8ffdefa063d993
|
|
|
|
| |
Change-Id: I2119ce7cdce68c2732653fa0152abf0150d17ac0
|
|
Change-Id: I91f5b85852cabff0da8b1c68bf432596d7dc341d
|