aboutsummaryrefslogtreecommitdiff
path: root/protobuf.bzl
Commit message (Collapse)AuthorAgeFilesLines
* Make protobuf Skylark extension appends the workspace rootDamien Martin-Guillerez2016-01-151-6/+10
| | | | | | | | | | | | | This change make protobuf skylark extension works when using remote repository. Note that this make the Skylark extension unusable prior to Bazel 0.1.4 because the workspace_root is not available on prior version. Tested with Bazel 0.1.4rc2. Fixes https://github.com/bazelbuild/bazel/issues/784.
* Making _genproto rules public.Martin Maly2015-12-041-0/+3
| | | | | This enables other xx_proto_library targets to depend on xx_proto_library targets in different packages, and specifically on xx_wkt_protos.
* Build protoc for host platform to enable cross-compilation.Andrew Harp2015-11-031-0/+1
| | | This is necessary to run protoc on the host as a dependency for Android BUILD targets with Bazel.
* add warning notes for cc|py_proto_library rules.Jisi Liu2015-11-021-0/+8
| | | | | To mention that the interface may change or be removed when bazel has support it natively.
* add default_runtime attribute to cc|py rules.Jisi Liu2015-10-271-0/+11
| | | | This adds implicit dependencies to the coressponding runtime libraries.
* Use && for internal_copied_filegroup.Jisi Liu2015-10-211-3/+3
| | | | So that the rule fails if one or more files cannot be copied.
* Rename copeid_src to internal_copied_filegroupJisi Liu2015-10-201-7/+7
|
* fix sources for python target and add needed dependencies.Jisi Liu2015-10-201-3/+3
|
* Change the impl rule include to includes.Jisi Liu2015-10-201-12/+22
| | | | | We need to use the list to indicate field presense. The field must only contain 0 or 1 string element.
* Change default value of protoc on xx_proto_library rules.Jisi Liu2015-10-201-2/+2
|
* Support python for bazel.Jisi Liu2015-10-191-3/+39
|
* Python bazel support.Jisi Liu2015-10-191-5/+94
|
* Allow include to be None.Jisi Liu2015-10-191-2/+8
| | | | | | | | | | This enables the use case where all the paths are relative to the workspace root, e.g. foo/bar/BUILD /foo.proto -- package foo.bar would generate the message correctly.
* Change prefix to include, and add docsJisi Liu2015-10-161-10/+27
|
* Rename deps/proto_deps to cc_libs/depsJisi Liu2015-10-161-8/+6
|
* style/naming fixJisi Liu2015-10-151-9/+11
|
* make cc_out and py_out internal.Jisi Liu2015-10-141-3/+3
|
* Format code.Jisi Liu2015-10-141-34/+34
|
* buildifier the fileJisi Liu2015-10-141-11/+14
|
* Extract protoc action into .bzl for cc.Jisi Liu2015-10-141-0/+107
This is needed to support python bazel build.