60 Commits (f06800524f0fe0d2e71a2d3696ce7a5278836445)

Author SHA1 Message Date
Yannic Bonenberger d2d6ff51a8 [bazel] Load python rules from @rules_python 5 years ago
Yannic Bonenberger bf0c69e130 [bazel] Add fixes for --incompatible_load_{cc,java,proto}_rules_from_bzl (Part 2) 5 years ago
Benjamin Peterson 310ba5ee72 Treat plugins as host tools. 6 years ago
Keith Smiley ce0dca83ab Move tool out of inputs in bazel config 6 years ago
Benjamin Peterson 6153f80876 Treat plugins as host tools. 6 years ago
Keith Smiley ca3ead7745 Move tool out of inputs in bazel config 6 years ago
Paul Yang cecba296b8
Down-integrate internal changes (#5467) 6 years ago
Jon Brandvein 7b28271a61 Migrate to new `ctx.actions` API (#5367) 6 years ago
Roger Chen 7492b56812 Import versions from @bazel_skylib//lib:versions.bzl 6 years ago
James Judd d5f0dac497 Change deprecated Bazel single file attr param 6 years ago
Ittai Zeidman 4fcb36c51c remove PACKAGE_NAME and REPOSITORY_NAME deprecated usage (#4650) 7 years ago
Fahrzin Hemmati 2cfa7612b2 Fix moving generated files onto themselves 7 years ago
Fahrzin Hemmati d1403e58d8 Only use realpath when in gendir, and use the original ctx.action if not in gendir 7 years ago
Fahrzin Hemmati ae638966e5 Track outputs correctly 7 years ago
Fahrzin Hemmati b3c2ec7073 Handle multiple outs per input (for plugins) 7 years ago
Fahrzin Hemmati a6501e4a2b Strip trailing / from path 7 years ago
Fahrzin Hemmati 800f8d66bf Handle srcs in generated files by cd'ing in and out 7 years ago
Mateusz Matejczyk 294b5758c3
Output *_pb2_grpc.py when use_grpc_plugin=True 7 years ago
James O'Kane 950f5e4205 Replace //:protoc and similar default macro arguments with 7 years ago
Jingwen Chen b2a190832c Use versions module from Skylib for version checking 7 years ago
Fahrzin Hemmati 35119e39a0 Add a check_protobuf_required_bazel_version() for use in WORKSPACEs 7 years ago
Vladimir Moskva 06a825c170 Make .bzl files compatible with future versions of Bazel 7 years ago
Vladimir Moskva 4fc93044a5 Make .bzl files compatible with future versions of Bazel 7 years ago
Marco A. Harrendorf dd04ffb923 Adding default shell env 8 years ago
cgrushko 6fffd4adb4 Bazel can build protobuf when it's not in the root 8 years ago
Kristina Chodorow 4e7ecde15c Update genfiles paths to work with a different execroot arrangement 8 years ago
Yunlong Liu ef61a9d313 add a key to ctx.action dict to prevent protoc losing the default env 8 years ago
Wiktor Tomczak 0fa31b2bfa Support grpc plugin in py_proto_library 8 years ago
Adam Cozzette 5a76e633ea Integrated internal changes from Google 8 years ago
Florian Weikert c2b3e70efd Declare all inputs of protoc action 8 years ago
Vladimir Moskva a86e6d8db2 Compatibility with the new version of Bazel. 8 years ago
Andreas Bergmeier bbeb983bac Need to expose generated protobuf C++ headers so they can actually be accessed from other libraries. 8 years ago
Yuki Yugui Sonoda 5977fb0a05 Generalize plugin support in Bazel Skylark rule 9 years ago
David Z. Chen 02cd45ca35 Bazel build: Keep generated sources and Python runtime in the same directory. 9 years ago
Steven Parkes ea1886661e pass correct args to protoc for java wellknown protos when used as an external repository 9 years ago
David Z. Chen 985c968443 Remove hack for building Python support with Bazel. 9 years ago
Manjunath Kudlur f5c736352e Fixed grpc C++ plugin support. 9 years ago
Manjunath Kudlur f0966a746e Added grpc plugin support to cc_proto_library. 9 years ago
Damien Martin-Guillerez 76547e5190 Make protobuf Skylark extension appends the workspace root 9 years ago
Martin Maly 8e0c9a3f11 Making _genproto rules public. 9 years ago
Andrew Harp 38f131fd8c Build protoc for host platform to enable cross-compilation. 9 years ago
Jisi Liu d4bef7d41b add warning notes for cc|py_proto_library rules. 9 years ago
Jisi Liu be92ffbf74 add default_runtime attribute to cc|py rules. 9 years ago
Jisi Liu 6ddcae225c Use && for internal_copied_filegroup. 9 years ago
Jisi Liu bc4fd15209 Rename copeid_src to internal_copied_filegroup 9 years ago
Jisi Liu a33fa8eddc fix sources for python target and add needed dependencies. 9 years ago
Jisi Liu 53a56be4c4 Change the impl rule include to includes. 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