aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/protobuf
Commit message (Collapse)AuthorAge
* third_party: Fix labels so they can be used from within new_local_repositoryGravatar Jakob Buchgraber2017-06-07
| | | | Change-Id: Ic2969d328e211e3d977efeb2f778aceec1416a27
* Introduce third_party/googleapisGravatar Jakob Buchgraber2017-05-30
| | | | | | | | | | | | | Add `https://github.com/googleapis/googleapis` as a third_party dependency at commit `001f6702ac4cd72194a5120ff978fcfa740783d6`. These protos are required for the upcoming open sourcing of the BES protocol code. Additionally, add (java_)proto_library() rules for the protobufs required by the BES protocol. Change-Id: Ie78a9941a62f2085a58ad859c91161885e6f390d
* third_party/protobuf: Add proto_library for well known types.Gravatar Jakob Buchgraber2017-05-30
| | | | | | | | | | | | | | | | In order to use the build event service protobufs we need to support protobufs well known types inside bazel. Unfortunately, due to a bug in bazel's proto_library [1], protobuf can't provide such a proto_library yet [2]. We expect this patch to be committed to protobuf upstream once [1] is resolved. Bazel's proto_library bug [1] is also the reason why this change has to duplicate the well known protos under google/protobuf. [1] https://github.com/bazelbuild/bazel/issues/2265 [2] https://github.com/google/protobuf/issues/2763 Change-Id: I5e16d437f2f581f11553049be0b4bcc564f4ad96
* Refactor protobuf and grpc BUILD files for WindowsGravatar Yun Peng2017-05-29
| | | | | | | | 1. Added config_settings for Windows 2. Don't use gcc warning options in copts, this made it possible to build without python wrapper scripts. Change-Id: I37521d717b9d2d488a3bb0ec658dad40c6ddbb27
* Update protobuf to latest master at a64497c and apply @laszlocsomor's latest ↵Gravatar Jakob Buchgraber2017-05-04
| | | | | | changes from https://github.com/google/protobuf/pull/2969 on top of it. Change-Id: Ie49c5dcac06e370c5ab3863dc061513531ec8c0d
* Apply @laszlocsomor's protobuf patch to fix build on windows.Gravatar Jakob Buchgraber2017-05-02
| | | | | | | | This patch was taken from [1] and fixes a CI breakage on Windows. [1] https://github.com/google/protobuf/pull/2969/commits/14d2821157d047426c313759966d01f17b608c3a Change-Id: Ibec9c3580566f573c7b558fffa40844da5239108
* Remove third_party/protobuf/3.0.0/Gravatar Jakob Buchgraber2017-05-02
| | | | Change-Id: Ifd865f0a14e7052ca40f0f9d52b5171de448734d
* Update third_party/protobuf to pre-release 3.2.0Gravatar Jakob Buchgraber2017-05-02
| | | | | | | | | 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. Change-Id: Id88cd7e5b2c27ab74f3ecfa1e127e5a863f2deb3
* Revert "protobuf: Update protobuf to @laszlocsomor's master at commit 421d909."Gravatar Jakob Buchgraber2017-04-14
| | | | | | | This reverts commit 5235d06159ba6fee412bee261ea7867d061252b0. Unfortunately, we noticed several build errors / test failures internally due this change.
* protobuf: Update protobuf to @laszlocsomor's master at commit 421d909.Gravatar Jakob Buchgraber2017-04-14
| | | | | | | | | | | | 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
* Revert "protobuf: Update protobuf to @laszlocsomor's master at commit 421d909."Gravatar Jakob Buchgraber2017-04-13
| | | | This reverts commit ea82aa115794b019472b44d4f94ed902c1217f30.
* protobuf: Update protobuf to @laszlocsomor's master at commit 421d909.Gravatar Jakob Buchgraber2017-04-13
| | | | | | | | | | | | 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
* Windows, protoc: create io_win32.{h,cc}Gravatar László Csomor2017-03-21
| | | | | | | | | | | | | | | | | | | | 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
* Windows, protoc: support long pathsGravatar László Csomor2017-03-21
| | | | | | | Fixes https://github.com/bazelbuild/bazel/issues/2634 Fixes https://github.com/google/protobuf/issues/2891 Change-Id: I5b82954cbced4e0d3fcd7ac6f168cca34e57f731
* Revert "Upgrade //third_party/protobuf to v3.2.0"Gravatar Irina Iancu2017-02-24
| | | | | | | | | | | | | 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
* Upgrade //third_party/protobuf to v3.2.0Gravatar Carmi Grushko2017-02-23
| | | | | | | with some backports from HEAD (:java_toolchain, internal_gen_well_known_protos_java) Change-Id: I54be8809f411ec8cb02203b478f699e1fccb5f62
* Remove no-longer used protobuf BUILD aliasesGravatar Carmi Grushko2017-02-21
| | | | | | Also, rename rules in third_party/protobuf/3.0.0/BUILD to match upstream protobuf. Change-Id: I343982e752722ebb2461fb08e722558cea2f06b9
* Rearrange third_party/protobuf/BUILD to look like the upstream protobuf repoGravatar Carmi Grushko2017-02-09
| | | | | | | | | 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
* Alias "protobuf_java" to the Java proto runtime,Gravatar Carmi Grushko2017-02-08
| | | | | | to match the name in the upstream protobuf project. Change-Id: I0ac9612c2151f9b96aca1904b192b5b525d021a2
* Make protobuf's BUILD file standloneGravatar Carmi Grushko2017-01-27
| | | | | | | | | 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
* Adds protobuf-util to third_partyGravatar Yue Gan2017-01-18
|
* Revert commit 6d31cb01b80d0560c0c083d40e641816877b3d06.Gravatar Damien Martin-Guillerez2016-12-21
| | | | | | 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.
* --Gravatar Damien Martin-Guillerez2016-12-21
| | | | | PiperOrigin-RevId: 142666783 MOS_MIGRATED_REVID=142666783
* Use proto_lang_toolchain() directly, now that it is released in Bazel 0.4.1.Gravatar Carmi Grushko2016-12-07
| | | | | | -- PiperOrigin-RevId: 141322619 MOS_MIGRATED_REVID=141322619
* Add missing link dependency on libm for protobufGravatar Klaus Aehlig2016-12-02
| | | | | | | | | | Fixes compilation on FreeBSD -- Change-Id: Iedaa9e08615b8a52fae6f19c867d419938a08411 Reviewed-on: https://cr.bazel.build/7591 PiperOrigin-RevId: 140838599 MOS_MIGRATED_REVID=140838599
* Make it easier to use protos in Bazel out of the box.Gravatar Carmi Grushko2016-11-29
| | | | | | | | | 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
* Remove no longer used protoc binariesGravatar Klaus Aehlig2016-11-25
| | | | | | ...as we build protoc from source now. Change-Id: Ib9662345cf98af9b90da7422658796ee4937e1ce
* Build protoc from sourceGravatar Klaus Aehlig2016-11-25
| | | | | | | | | | 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
* Remove old and outdated protobuf libs and protoc versions.Gravatar Philipp Wollermann2016-11-23
| | | | | | | Fixes #2119 and related bootstrap breakage. Change-Id: I7ca5b9f509e182780f3486c22bf30da3d4104f15 RELNOTES: None.
* Include protobuf.bzl from //third_party/protobuf/3.0.0:protobuf.bzl as a ↵Gravatar Philipp Wollermann2016-11-23
| | | | | | | preparation of removing the older one from //third_party/protobuf. -- MOS_MIGRATED_REVID=140023015
* Rollback of commit b043fafb957ae8038088e427ff27a5c9f951c979.Gravatar Carmi Grushko2016-11-08
| | | | | | | | | | | | | | | | | | | | | | | | *** 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
* Rollback of commit a396b070ae36032a973672e11145533621c39edc.Gravatar Klaus Aehlig2016-11-07
| | | | | | | | | | | | | | | *** 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
* Use proto_lang_toolchain() in java_proto_library.Gravatar Carmi Grushko2016-11-04
| | | | | -- MOS_MIGRATED_REVID=138161512
* Change our URL to bazel.buildGravatar Damien Martin-Guillerez2016-10-28
| | | | | -- MOS_MIGRATED_REVID=137500893
* Fix a wrong target name in the protobuf/3.0.0/BUILD file.Gravatar Philipp Wollermann2016-10-19
| | | | | | | | | | | 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
* Adding support for Linux s390xGravatar namrata-ibm2016-10-11
| | | | | | | | | | | 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
* Rollback of commit 0d36f410370ed99cbd57359d7444269faec134f8.Gravatar Alex Humesky2016-09-30
| | | | | | | | | | | | | | | | | | | | | | *** 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
* Proto compiler: update the 3.0.0 MinGW protocGravatar László Csomor2016-09-29
| | | | | | | | | | | 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
* Protobuf: update build instructions for MinGWGravatar Laszlo Csomor2016-09-29
| | | | | | | | | See https://github.com/bazelbuild/bazel/issues/1856 Slightly reformat (prettify) the page too. -- MOS_MIGRATED_REVID=134649252
* Rollback of commit a12aae73ee292fdcb170f4eaeb8939283d05383c.Gravatar Yun Peng2016-09-28
| | | | | | | | | | | | | | *** 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
* Updates protobuf in bazel to version 3.0.0.Gravatar Alex Humesky2016-09-28
| | | | | -- MOS_MIGRATED_REVID=134464786
* Update instructions on how to build protoc-mingw.exe.Gravatar Dmitry Lomov2016-09-22
| | | | | -- MOS_MIGRATED_REVID=133842785
* Added 3.0.0 protocGravatar Dmitry Lomov2016-09-21
| | | | Change-Id: Ia0d5aebdf5d24da8aadecc51fd8ffdefa063d993
* Update protobuf README.Gravatar Laszlo Csomor2016-09-19
| | | | | | | | | | | - Remove mention of non-existent proto compiler - Add info about updating protobuf.bzl and BUILD files Fixes https://github.com/bazelbuild/bazel/pull/1769#issuecomment-247966248 Fixes https://github.com/bazelbuild/bazel/issues/1790 -- MOS_MIGRATED_REVID=133572313
* Config files compatible with the new version of BazelGravatar Vladimir Moskva2016-09-12
| | | | Change-Id: I59fd0ff2059abb16ccb23403736efe2d955038f4
* Adds missing protobuf.bzl to version 3.0.0 of protobufGravatar Alex Humesky2016-09-09
| | | | Change-Id: I2119ce7cdce68c2732653fa0152abf0150d17ac0
* Adds protobuf 3.0.0 to third_partyGravatar Alex Humesky2016-09-07
| | | | Change-Id: I91f5b85852cabff0da8b1c68bf432596d7dc341d
* Update the proto library version in BUILD filesGravatar Kristina Chodorow2016-08-11
| | | | | -- MOS_MIGRATED_REVID=129865689
* Add 3.0.0 beta 4 version of protobuf to third_partyGravatar Kristina Chodorow2016-08-10
| | | | Change-Id: I1505726ca66ab578cf29d2dc6018a2ff1e2ccaaf
* Fixes bugs so that we can build bazel with bazel on WindowsGravatar Yun Peng2016-04-14
| | | | | | | | | | | | | | | | | | | src/main/java/com/google/devtools/build/lib/exec/SymlinkTreeHelper.java: enable --windows_compatible flag on Windows to make build-runfiles.exe work. scritps/bootstrap/compile.sh: --windows_compatible will also be passed to a dummy build-runfiles.exe defined in complie.sh. Which is actully a batch script, modify it to make it work. ----- With the changes above, we are able to build bazel with bazel. But when you try to run ./compile.sh compile /path/to/bazel again without clean up tmp directory, it will fail with a permission deny error. The reason seems to be that you can't use build-runfile.exe to build the same hard link twice, still trying to solve that. -- Change-Id: I93340b1ba9fa415f6db963b106e264799e33ede3 Reviewed-on: https://bazel-review.googlesource.com/#/c/3334 MOS_MIGRATED_REVID=119751076