Pete Warden
f0c1a86372
Added iOS settings to Bazel build
2016-03-09 13:03:52 -08:00
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
2016-02-25 12:52:21 -08:00
Pete Warden
cb39204af8
Updated library generation with iOS options
2016-02-23 10:18:32 -08:00
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.
2016-02-16 15:17:10 -08:00
Ming Zhao
4fe03816b1
Fix bazel BUILD for Java.
2016-01-21 23:08:33 -08:00
Feng Xiao
ef6c72b46b
Update BUILD/cmake files.
...
Change-Id: I6fa9f1b65d6c06b891aabf3f3d868364d74d727d
2015-12-28 17:33:55 -08:00
Manjunath Kudlur
d03ef20039
Made targets relative to google/protobuf
...
Fixes #1029
2015-12-08 10:46:26 -08:00
Manjunath Kudlur
a194921527
Made building the python extension configurable via --define=use_fast_cpp_protos=true
2015-12-08 08:24:37 -08:00
Manjunath Kudlur
3ff1dca0bd
Enable fast cpp protos in the python interface.
2015-12-07 13:08:21 -08:00
Geoffrey Irving
29799238c2
Add srcs_version = "PY2AND3" in BUILD files
...
The sources themselves appear to already be Python 3 clean.
2015-12-03 13:16:06 -08:00
Jan Tattermusch
562372e53a
Merge pull request #989 from jskeet/rename-umbrella
...
Rename "umbrella" to "reflection" consistently.
2015-11-19 16:31:19 -08:00
Jisi Liu
fa8e2911bb
Merge pull request #977 from lberki/master
...
add headers
2015-11-19 14:39:54 -08:00
Jon Skeet
a6361a124a
Rename "umbrella" to "reflection" consistently.
...
This changes csharp_names.h, which will require a corresponding change in GRPC.
2015-11-19 13:05:17 +00:00
Jisi Liu
6a40bf89d3
Make the cc wkt proto target public.
2015-11-17 12:37:56 -08:00
Lukacs T. Berki
915d9cd245
add headers
2015-11-16 09:36:32 +01:00
Jisi Liu
be92ffbf74
add default_runtime attribute to cc|py rules.
...
This adds implicit dependencies to the coressponding runtime libraries.
2015-10-27 15:11:38 -07:00
Jisi Liu
e1f60f5043
Update comments.
2015-10-22 13:55:37 -07:00
Jisi Liu
fbc51b7018
Add six as an external dep.
2015-10-22 13:38:17 -07:00
Jisi Liu
68e13f40f4
Enable python tests with testdata.
2015-10-22 11:13:14 -07:00
Jisi Liu
598480df11
Add runfiles to make the protobuf_test pass.
2015-10-21 11:19:16 -07:00
Jisi Liu
166e9bbb84
Rename python and java bazel rules.
2015-10-21 10:56:38 -07:00
Jisi Liu
8f54026ded
avoid name duplication.
2015-10-20 16:21:41 -07:00
Jisi Liu
bc4fd15209
Rename copeid_src to internal_copied_filegroup
2015-10-20 16:02:58 -07:00
Jisi Liu
14c8f8ac1d
Uncomment objc tests
2015-10-20 15:36:22 -07:00
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.
2015-10-20 15:18:20 -07:00
Jisi Liu
04658a3c24
Change default value of protoc on xx_proto_library rules.
2015-10-20 15:00:13 -07:00
Jisi Liu
7b948cc7c5
Support python for bazel.
2015-10-19 17:56:27 -07:00
Jisi Liu
993fb7013e
Python bazel support.
2015-10-19 17:19:49 -07:00
Jisi Liu
3101e7337c
Change prefix to include, and add docs
2015-10-16 12:46:26 -07:00
Jisi Liu
d8701b5741
Rename deps/proto_deps to cc_libs/deps
2015-10-16 11:44:21 -07:00
Jisi Liu
39362b35b2
Extract protoc action into .bzl for cc.
...
This is needed to support python bazel build.
2015-10-14 17:12:11 -07:00
Ming Zhao
5cdd9367b3
Add missing csharp_doc_comment.cc to protoc_lib.
2015-10-07 09:11:25 -07:00
Ming Zhao
60880a7e46
Add "java_proto" target in bazel BUILD file to provide Java runtime
...
library.
2015-09-29 13:21:44 -07:00
Jisi Liu
b90f9f8073
Update cmake and BUILD files.
...
Change-Id: I17e16fdae6e4d2fb74d178fa5564a609ed58af1d
2015-08-25 17:06:33 -07:00
Jon Skeet
b2ac868493
First part of implementing wrapper types. Not ready yet!
2015-07-16 09:36:30 +01:00
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.
2015-07-06 11:17:39 -07:00
Jisi Liu
7a0c431c8f
Enable tests for bazel build.
...
Change-Id: I63ed5fb58a45e098f2fd1fa457a219148de030bd
2015-06-18 16:45:27 -07:00
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
2015-06-18 14:06:26 -07:00
Jisi Liu
af3eafd1b1
Update BUILD for the recent json util change.
...
Change-Id: I0b5a2c017f5412aaca3a47815671753cdef63165
2015-06-18 13:39:09 -07:00
Jisi Liu
e438a51389
Remove redundant include
...
Change-Id: I62640af99e3c2650a29dc5468ce3deb7b6c7efdf
2015-06-18 10:52:07 -07:00
Jisi Liu
d19604fac5
Add Bazel BUILD for the project.
...
Change-Id: I5a299d969ff96d7d2f80aadc7e8987d461d24b8f
2015-06-17 17:37:58 -07:00