aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD
Commit message (Collapse)AuthorAge
...
* | Compile the Java proto runtime with Java 6Gravatar cgrushko2017-03-22
| | | | | | | | in order to avoid errors related to generics when building user code in newer versions of Java.
* | Update BUILDGravatar Bairen Yi2017-03-21
| |
* | migrate delimited messages functions to util packageGravatar Byron Yi2017-03-16
| |
| * Make //:protobuf_python have correct __init__.py.Gravatar Adam Michael2017-03-10
|/ | | | | Previously //:protobuf_python set no __init__.py so Bazel created an empty one. This change makes it use the __init__.py from the repository.
* Merge pull request #2751 from keveman/masterGravatar Feng Xiao2017-03-06
|\ | | | | Added a header only cc_library target for the protobuf library.
| * Added comment explaining the protobuf_headers target.Gravatar Manjunath Kudlur2017-03-02
| |
* | Merge pull request #2630 from blodan/masterGravatar Jisi Liu2017-02-24
|\ \ | | | | | | FreeBSD compatibility
| | * Added a header only cc_library target for the protobuf library.Gravatar Manjunath Kudlur2017-02-23
| |/ |/|
* | Update load() statement to latest styleGravatar cgrushko2017-02-08
| | | | | | | | The first argument is currently implicitly a .bzl file. Change this to be explicit.
| * FreeBSD compatibilityGravatar Daniel Ylitalo2017-01-25
|/
* Add a proto_lang_toolchain for JavaGravatar cgrushko2017-01-12
| | | This allows easy use of Bazel's java_proto_library native rule.
* Added Bazel genrule for generating well_known_types_embed.ccGravatar Adam Cozzette2016-12-20
| | | | | In pull request #2517 I made this change for the CMake and autotools builds but forgot to do it for the Bazel build.
* Add missing files.Gravatar Jisi Liu2016-12-05
|
* Add a proto_lang_toolchain() for cc_proto_libraryGravatar cgrushko2016-12-02
| | | | | | | | | Bazel's built-in cc_proto_library rule uses a proto_lang_toolchain to learn how to invoke proto-compiler. To use Bazel's cc_proto_library, add the following to your project's WORKSPACE file: local_repository( name = "com_google_protobuf_cc", path = "/path/to/protobuf-distribution/" )
* Place Python extensions correctly in Bazel build.Gravatar Richard Shin2016-10-18
|
* update files to include php generatorsGravatar Jisi Liu2016-10-10
|
* Silence compile warnings in bazelGravatar Andy Hochhaus2016-10-09
|
* Remove inexist files from build.Gravatar Feng Xiao2016-10-06
|
* update files to include php generators (#2165)Gravatar Jisi Liu2016-10-06
|
* Bazel: export LICENSE file.Gravatar Piotr Sikora2016-08-04
| | | | Signed-off-by: Piotr Sikora <piotrsikora@google.com>
* Bazel build: Keep generated sources and Python runtime in the same directory.Gravatar David Z. Chen2016-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Users often encounter a Python import error when trying to build Python protos if protobuf is installed locally on the machine. In this case, Python ends up looking in the wrong directory when importing files (see bazelbuild/bazel#1209 and tensorflow/tensorflow#2021). It seems that the problem is caused by Python getting confused when there are Python source files that are meant to be part of the same package but are in separate directories. Prior to #1233, the Bazel build setup would copy the Python runtime sources and all generated sources for the builtin protos into the root directory (assuming that the protobuf tree is vendored in a google/protobuf directory). With #1233, the two sets of sources are kept in their respective directories but both `src/` and `python/` are added to the `PYTHONPATH` using the new `imports` attribute of the Bazel Python rules. However, both the runtime sources and the generated sources are under the same package: `google.protobuf`, causing Python to become confused when trying to import modules that are in the other directory. This patch adds a workaround to the Bazel build to add a modified version of the original `internal_copied_filegroup` macro to copy the `.proto` files under `src/` to `python/` before building the `py_proto_library` targets for the builtin protos. This ensures that the generated sources for the builtin protos will be in the same directory as the corresponding runtime sources. This patch was tested with the following: * All Python tests in protobuf * All Python tests in tensorflow * All tests in [Skydoc](https://github.com/bazelbuild/skydoc) * Importing protobuf as `//google/protobuf` * Importing and binding targets under `//external` * Importing protobuf as `//third_party/protobuf`
* Update file lists.Gravatar Jisi Liu2016-04-28
|
* Merge pull request #1416 from cwhipkey/masterGravatar Feng Xiao2016-04-20
|\ | | | | Change protobuf CPP proto generator to support the 'lite' option in
* \ Merge pull request #1402 from davidzchen/py2and3Gravatar Feng Xiao2016-04-19
|\ \ | | | | | | Add missing PY2AND3 srcs_versions attributes to Python Bazel build targets
* | | Update file list to include the missing extension lite file.Gravatar Jisi Liu2016-04-18
| | |
| | * Change protobuf CPP proto generator to support the 'lite' option inGravatar Chad Whipkey2016-04-15
| |/ |/| | | | | | | | | | | | | | | proto3. Added a couple unit test proto3 files, for arena_lite and lite. Cloned the proto3_arena_unittest to test some of the basics of generated code (and to ensure that the generated proto3 test files are used by some test).
| * Add missing PY2AND3 srcs_versions attributes to Python Bazel build targets.Gravatar David Z. Chen2016-04-08
|/
* Update BUILDGravatar Andrew Harp2016-04-04
|
* Do not link in pthread library for Android builds.Gravatar Andrew Harp2016-04-04
| | | This is required to allow Tensorflow to build on Android without hacks. Currently we create a dummy pthread library just to satisfy this dependency for a library that does not exist on Android. See https://github.com/google/protobuf/issues/1373 for more context.
* export well known protosGravatar Steven Parkes2016-03-22
|
* Merge pull request #1318 from smparkes/smparkes/grpcGravatar Feng Xiao2016-03-14
|\ | | | | add java/util support based on java/util/pom.xml
* \ Merge pull request #1312 from petewarden/masterGravatar Jisi Liu2016-03-12
|\ \ | | | | | | Bazel iOS build settings
| | * add java/util support based on java/util/pom.xmlGravatar Steven Parkes2016-03-11
| |/ |/|
* | pass correct args to protoc for java wellknown protos when used as an ↵Gravatar Steven Parkes2016-03-10
| | | | | | | | external repository
| * Merge remote-tracking branch 'upstream/master'Gravatar Pete Warden2016-03-09
| |\ | |/ |/|
| * Added iOS settings to Bazel buildGravatar Pete Warden2016-03-09
| |
* | Remove hack for building Python support with Bazel.Gravatar David Z. Chen2016-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change makes use of new imports attribute for Bazel's Python rules, which enable adding directories to the PYTHONPATH. This allows us to remove the hack for building protobuf's Python support with Bazel and now allows projects to include protobuf using a Bazel external repository rather than requiring it to be imported directly into the source tree as //google/protobuf. This change also updates the protobuf BUILD file to use a named repository, @python//, for including Python headers rather than //util/python. This allows projects to specify their own package for Python headers when including protobuf with an external repository. Fixes #1230
| * Updated library generation with iOS optionsGravatar Pete Warden2016-02-23
|/
* Added PROTOBUF_PYTHON_ALLOW_OVERSIZE_PROTOS macro and setting it whenGravatar Manjunath Kudlur2016-02-16
| | | | | | --allow_oversize_protos=true is passed to bazel build. When this macro is set, SetTotalBytesLimit is called to remove the 64MB limit on binary protos when during ParseFromString.
* Fix bazel BUILD for Java.Gravatar Ming Zhao2016-01-21
|
* Update BUILD/cmake files.Gravatar Feng Xiao2015-12-28
| | | | Change-Id: I6fa9f1b65d6c06b891aabf3f3d868364d74d727d
* Made targets relative to google/protobufGravatar Manjunath Kudlur2015-12-08
| | | | Fixes #1029
* Made building the python extension configurable via ↵Gravatar Manjunath Kudlur2015-12-08
| | | | --define=use_fast_cpp_protos=true
* Enable fast cpp protos in the python interface.Gravatar Manjunath Kudlur2015-12-07
|
* Add srcs_version = "PY2AND3" in BUILD filesGravatar Geoffrey Irving2015-12-03
| | | | The sources themselves appear to already be Python 3 clean.
* Merge pull request #989 from jskeet/rename-umbrellaGravatar Jan Tattermusch2015-11-19
|\ | | | | Rename "umbrella" to "reflection" consistently.
* \ Merge pull request #977 from lberki/masterGravatar Jisi Liu2015-11-19
|\ \ | | | | | | add headers
| | * Rename "umbrella" to "reflection" consistently.Gravatar Jon Skeet2015-11-19
| |/ |/| | | | | This changes csharp_names.h, which will require a corresponding change in GRPC.
* | Make the cc wkt proto target public.Gravatar Jisi Liu2015-11-17
| |
| * add headersGravatar Lukacs T. Berki2015-11-16
|/