Steven Parkes
a9244ca0df
add java/util support based on java/util/pom.xml
9 years ago
Steven Parkes
ea1886661e
pass correct args to protoc for java wellknown protos when used as an external repository
9 years ago
Pete Warden
f0c1a86372
Added iOS settings to Bazel build
9 years ago
David Z. Chen
985c968443
Remove hack for building Python support with Bazel.
...
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
9 years ago
Pete Warden
cb39204af8
Updated library generation with iOS options
9 years ago
Manjunath Kudlur
99a3e30bd7
Added PROTOBUF_PYTHON_ALLOW_OVERSIZE_PROTOS macro and setting it when
...
--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.
9 years ago
Ming Zhao
4fe03816b1
Fix bazel BUILD for Java.
9 years ago
Feng Xiao
ef6c72b46b
Update BUILD/cmake files.
...
Change-Id: I6fa9f1b65d6c06b891aabf3f3d868364d74d727d
9 years ago
Manjunath Kudlur
d03ef20039
Made targets relative to google/protobuf
...
Fixes #1029
9 years ago
Manjunath Kudlur
a194921527
Made building the python extension configurable via --define=use_fast_cpp_protos=true
9 years ago
Manjunath Kudlur
3ff1dca0bd
Enable fast cpp protos in the python interface.
9 years ago
Geoffrey Irving
29799238c2
Add srcs_version = "PY2AND3" in BUILD files
...
The sources themselves appear to already be Python 3 clean.
9 years ago
Jon Skeet
a6361a124a
Rename "umbrella" to "reflection" consistently.
...
This changes csharp_names.h, which will require a corresponding change in GRPC.
9 years ago
Jisi Liu
6a40bf89d3
Make the cc wkt proto target public.
9 years ago
Lukacs T. Berki
915d9cd245
add headers
9 years ago
Jisi Liu
be92ffbf74
add default_runtime attribute to cc|py rules.
...
This adds implicit dependencies to the coressponding runtime libraries.
9 years ago
Jisi Liu
e1f60f5043
Update comments.
9 years ago
Jisi Liu
fbc51b7018
Add six as an external dep.
9 years ago
Jisi Liu
68e13f40f4
Enable python tests with testdata.
9 years ago
Jisi Liu
598480df11
Add runfiles to make the protobuf_test pass.
9 years ago
Jisi Liu
166e9bbb84
Rename python and java bazel rules.
9 years ago
Jisi Liu
8f54026ded
avoid name duplication.
9 years ago
Jisi Liu
bc4fd15209
Rename copeid_src to internal_copied_filegroup
9 years ago
Jisi Liu
14c8f8ac1d
Uncomment objc tests
9 years ago
Jisi Liu
53a56be4c4
Change the impl rule include to includes.
...
We need to use the list to indicate field presense.
The field must only contain 0 or 1 string element.
9 years ago
Jisi Liu
04658a3c24
Change default value of protoc on xx_proto_library rules.
9 years ago
Jisi Liu
7b948cc7c5
Support python for bazel.
9 years ago
Jisi Liu
993fb7013e
Python bazel support.
9 years ago
Jisi Liu
3101e7337c
Change prefix to include, and add docs
9 years ago
Jisi Liu
d8701b5741
Rename deps/proto_deps to cc_libs/deps
9 years ago
Jisi Liu
39362b35b2
Extract protoc action into .bzl for cc.
...
This is needed to support python bazel build.
9 years ago
Ming Zhao
5cdd9367b3
Add missing csharp_doc_comment.cc to protoc_lib.
9 years ago
Ming Zhao
60880a7e46
Add "java_proto" target in bazel BUILD file to provide Java runtime
...
library.
9 years ago
Peter Kasting
5d412c47d9
Change to just not marking the class for export
9 years ago
Peter Kasting
6e54999773
Fix compile failures building protobuf DLLs on MSVC in Chromium's codebase.
...
When trying to compile the protobuf code as a DLL, and then compile other DLLs
with generated .pb.cc/h files that reference
InternalMetadataWithArena::InternalMetadataWithArena(Arena*), MSVC gives an
"unresolved external symbol" error. This seems to be due to the function being
simultaneously exported and inline. Moving it out-of-line fixes things.
There are other functions exported and inline as well but de-inlining them
doesn't seem to be necessary to get the build working, and I'd rather de-inline
as few functions as possible.
9 years ago
Bo Yang
ff7bdad231
Fix bugs on windows
9 years ago
Jisi Liu
b90f9f8073
Update cmake and BUILD files.
...
Change-Id: I17e16fdae6e4d2fb74d178fa5564a609ed58af1d
9 years ago
Jon Skeet
b2ac868493
First part of implementing wrapper types. Not ready yet!
10 years ago
Jorge Canizales
d5d7bb3bfb
Add Bazel target for protobuf ObjC runtime
...
Also add WKT headers to the umbrella file, and simplify Podspec with it.
Plus some layout improvements to the BUILD file.
10 years ago
Jisi Liu
7a0c431c8f
Enable tests for bazel build.
...
Change-Id: I63ed5fb58a45e098f2fd1fa457a219148de030bd
10 years ago
Jisi Liu
94062398dc
Remove OUTS constants in BUILD
...
Induce those from the input proto file names instead to reduce the
lenght of the BUILD file.
Change-Id: I1dda57dedac547f4bd0cc3a7d08fb611d72acd13
10 years ago
Jisi Liu
af3eafd1b1
Update BUILD for the recent json util change.
...
Change-Id: I0b5a2c017f5412aaca3a47815671753cdef63165
10 years ago
Jisi Liu
e438a51389
Remove redundant include
...
Change-Id: I62640af99e3c2650a29dc5468ce3deb7b6c7efdf
10 years ago
Jisi Liu
d19604fac5
Add Bazel BUILD for the project.
...
Change-Id: I5a299d969ff96d7d2f80aadc7e8987d461d24b8f
10 years ago