aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/protobuf
Commit message (Collapse)AuthorAge
* Add android deploy info.Gravatar Googler2016-04-22
| | | | | | | | | | | | Each android binary build operation will output a deploy info proto providing information about how to deploy and launch the APK. The information will vary between build mode (normal, mobile-install, split-apk) and is configuration-dependent. NO_SQ: Presubmit broken -- MOS_MIGRATED_REVID=120494036
* Make the integration tests pass with gRPC client/server comms.Gravatar Lukacs Berki2016-04-21
| | | | | | | | | | | In particular: - Make a SIGINT to the server interrupt every command - Parse negative numbers on the command line correctly (std::stoi throws an exception, and I'd rather not start using C++ exceptions) - Use "bytes" for command line arguments instead of "string" in the client/server proto . This is more principled, although we pretend all arguments are strings all over the place and it works for "blaze run" mostly by accident. -- MOS_MIGRATED_REVID=120434432
* Block when another command is running on the server and not on the client ↵Gravatar Lukacs Berki2016-04-20
| | | | | | | when in gRPC mode. -- MOS_MIGRATED_REVID=120233121
* Make it possible to interrupt commands when communicating over gRPC.Gravatar Lukacs Berki2016-04-19
| | | | | | | | | | | Drive-by fix: eliminate the GRPC messages from the console by passing a null logging function. This also prepares us for the time when multiple commands will be running, because then we'll need to tell which command exactly we want to interrupt. Work towards #930. -- MOS_MIGRATED_REVID=120203008
* Rename field names in command_server.proto so that they don't conflict with ↵Gravatar Lukacs Berki2016-04-18
| | | | | | | | | C symbols. Fixed #1155. -- MOS_MIGRATED_REVID=120107746
* Initial version of client-server communication over gRPC. Gravatar Lukacs Berki2016-04-15
| | | | | | | | | | | | | | | | This still has a number of issues, including, but not limited to: - When switching between gRPC and AF_UNIX mode, you need to do a manual shutdown - The console is spammed with "connection refused" messages on server startup - When in gRPC mode, server also starts up an AF_UNIX server even though it's not necessary and concurrent requests probably make Bazel crash and burn - I have no idea how concurrent gRPC requests are handled and now many threads gRPC creates - Not tested except under Linux - The request/response cookies are written in an odd format (negative bytes are not handled correctly). This is only a cosmetic issue, since the data content of the string is the same either way. Can be tested with the --grpc_port=0 (or a valid port number) startup option. -- MOS_MIGRATED_REVID=119948959
* Remove reliance on exact rule classes in AndroidStudioInfoAspect.Gravatar Googler2016-04-14
| | | | | -- MOS_MIGRATED_REVID=119755803
* Add stub gRPC C++ client and Java server.Gravatar Lukacs Berki2016-04-12
| | | | | | | The code doesn't do anything yet and it's unused code for now. This change only serves to add all the necessary dependencies to BUILD files that gRPC needs. -- MOS_MIGRATED_REVID=119628697
* Remove te protocol compiler rules from @bazel_tools.Gravatar Lukacs Berki2016-04-11
| | | | | | | | | | | | The immmediate reason for this change is that we also need to add gRPC support to the proto rules, and we don't want to also support gRPC in a half-baked way. This makes the Bazel binary much smaller and avoid giving false signals that we (for now) support protobuf compilation. The protobuf rules are only for compiling Bazel itself. RELNOTES[INC]: Bazel does not embed protocol buffer-related rules anymore. -- MOS_MIGRATED_REVID=119516246
* Introduces action_config. Does this by:Gravatar Cal Peyser2016-04-05
| | | | | | | | | 1) Introducing the action_config message in the crosstool protobuf definition. The only part of that definition that are implemented in this CL is the "tool" section, other parts will be implemented in future CLs. The proto fields are here now to avoid being delayed by release cycles at each step of the implementation. 2) Refactoring the implementation of the "feature algebra" that computes the enabled features for a given toolchain. An interface called "CrosstoolActivatable" is used to represent any participant int the feature algebra, and can be either a feature or an action_config. -- MOS_MIGRATED_REVID=118943663
* Clarify that indirect deps are not necessarily transitiveGravatar Liam Miller-Cushon2016-04-04
| | | | | | | | | The compiler may implicitly load types that are direct dependencies but not referred to in source, e.g. in the case of package-info files where the package symbol is implicitly loaded to resolve annotations. -- MOS_MIGRATED_REVID=118800795
* Provide the final merged AndroidManifest.xml file in the apk_manifest.Gravatar Alex Humesky2016-03-31
| | | | | -- MOS_MIGRATED_REVID=118598917
* Support java_wrap_cc in intellij aspect.Gravatar Googler2016-03-30
| | | | | -- MOS_MIGRATED_REVID=118565877
* --Gravatar Chris Parsons2016-03-28
| | | | MOS_MIGRATED_REVID=118246740
* Export cc build information in an aspect for IDE support.Gravatar Googler2016-03-21
| | | | | -- MOS_MIGRATED_REVID=117560803
* Fix equality and comparison for SkylarkAspectClass.Gravatar Dmitry Lomov2016-03-17
| | | | | | | | AspectClass (also SkylarkApsectClass as its implementation) is a part of AspectKey. DependencyResolver gets the definition of aspect (including -- MOS_MIGRATED_REVID=117433907
* Add Python protobuf to Bazel third_party and move all protobuf targets intoGravatar David Chen2016-03-17
| | | | | | | //third_party/protobuf. -- MOS_MIGRATED_REVID=117336377
* Add full support for android_resources to AndroidStudioInfoAspect.Gravatar Googler2016-03-08
| | | | | | | | | | For backwards compatibility reasons, resources show up in both the originating rule as well as the containing rule. Implementations can check the :resources attribute to see if they should ignore their resources. -- MOS_MIGRATED_REVID=116698804
* Adds a manifest for detailing the inputs to an android apk.Gravatar Alex Humesky2016-03-01
| | | | | -- MOS_MIGRATED_REVID=115920640
* Fix up some spelling mistakes in comments.Gravatar Dave MacLachlan2016-02-29
| | | | | -- MOS_MIGRATED_REVID=115852489
* Simplify plmerge and bundlemerge by removing deprecated functionality.Gravatar Dave MacLachlan2016-02-29
| | | | | | | RELNOTES: -- MOS_MIGRATED_REVID=115804885
* Changes to crosstool_config.proto to support dsym debug symbol and breakpad ↵Gravatar Cal Peyser2016-02-23
| | | | | | | file generation. -- MOS_MIGRATED_REVID=115376419
* Add initial Skylark API for Android rules.Gravatar Dmitry Lomov2016-02-23
| | | | | -- MOS_MIGRATED_REVID=115364137
* Rename proto dependencies to include a _java component in them.Gravatar Julio Merino2016-02-23
| | | | | | | | While doing this, homogenize the two dependencies on build.proto (via build_proto and build_proto_v2) into a single build_java_proto. -- MOS_MIGRATED_REVID=115328219
* Expose ``build_file_path`` to Skylark rules.Gravatar Dmitry Lomov2016-02-22
| | | | | | | | Also adds neccessary support to Skylark implementation of IDE info aspect. -- MOS_MIGRATED_REVID=115084383
* Rename proto_java_library to java_proto_library.Gravatar Julio Merino2016-02-19
| | | | | | | | RELNOTES[INC]: Renamed proto_java_library to java_proto_library. The former is now deprecated and will print out a warning when used. -- MOS_MIGRATED_REVID=115012027
* Remove unused ASwB build artifactGravatar Googler2016-02-19
| | | | | | | RELNOTES:None. -- MOS_MIGRATED_REVID=114952244
* Turn //tools/build_rules into a package.Gravatar Julio Merino2016-02-17
| | | | | | | | | This is in preparation for another change that will add a new helper script to the tools/build_rules directory, and such script requires a BUILD rule of its own. -- MOS_MIGRATED_REVID=114898083
* Roll forward of commit 500175fcfb37953f50cf0869df164902755807f2: Don't ↵Gravatar Googler2016-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | include absolute paths in blaze IDE artifacts NEW: Fixed bazel java_test rules Rollback of commit a4ba24e286b7e9a7a09e333d8eb64a8cf7e81895. *** Reason for rollback *** Rollforward, fixing bazel java_test rules *** Original change description *** Automated [] rollback of commit 500175fcfb37953f50cf0869df164902755807f2. *** Reason for rollback *** Breaks Bazel Build http://ci.bazel.io/job/Bazel/JAVA_VERSION=1.7,PLATFORM_NAME=linux-x86_64/356/console *** Original change description *** Don't include absolute paths in blaze IDE artifacts RELNOTES: Don't include absolute paths in blaze IDE artifacts -- MOS_MIGRATED_REVID=114751236
* Rollback of commit 500175fcfb37953f50cf0869df164902755807f2.Gravatar Damien Martin-Guillerez2016-02-15
| | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks Bazel Build http://ci.bazel.io/job/Bazel/JAVA_VERSION=1.7,PLATFORM_NAME=linux-x86_64/356/console *** Original change description *** Don't include absolute paths in blaze IDE artifacts RELNOTES: Don't include absolute paths in blaze IDE artifacts -- MOS_MIGRATED_REVID=114682419
* Don't include absolute paths in blaze IDE artifactsGravatar Googler2016-02-15
| | | | | | | RELNOTES: Don't include absolute paths in blaze IDE artifacts -- MOS_MIGRATED_REVID=114550121
* Implement distributed caching for BazelGravatar Alpha Lam2016-02-10
| | | | | | | | | | | | | | | | | | | | This patch implements distributed caching for Bazel using Hazelcast. Hazelcast is used as a key value store that stores content of files indexed by the digest of the file. The cache also stores the list of files for an action. The key in this case is the digest from the key of the action and the list of files. In this change I also added the interface for remote execution. The implementation will be added in a subsequent patch. This change is only the first in a series of changes related to distributed caching and remote execution. I plan to revise the APIs and implementation in subsequent changes. -- Change-Id: I569285d6149a4e9f8ba2362682c07a9f1e1943b7 Reviewed-on: https://bazel-review.googlesource.com/#/c/2760/ MOS_MIGRATED_REVID=114325038
* Add jdeps support to AndroidStudioInfoAspect.Gravatar Googler2016-02-04
| | | | | | | This can be used for classpath reduction on the IDE side. -- MOS_MIGRATED_REVID=113861117
* Include bootclasspaths in java extra action infoGravatar Liam Miller-Cushon2016-02-03
| | | | | -- MOS_MIGRATED_REVID=113772261
* Use labels in load statementsGravatar Damien Martin-Guillerez2016-02-02
| | | | | | | | | | | | This will fix some issue with loading skylark rules from @bazel_tools. Tested with ./compile.sh all and also a project that use pkg_tar from @bazel_tools (which is broken at HEAD). -- Change-Id: Iffbb7134ef5fee497890c4d01b85084973d45ad0 Reviewed-on: https://bazel-review.googlesource.com/2800 MOS_MIGRATED_REVID=113508661
* Extend crosstool configuration to allow features to specify (expandable) ↵Gravatar Chris Parsons2016-01-07
| | | | | | | environment variables to pass to actions -- MOS_MIGRATED_REVID=111608329
* Support java_plugin in AndroidStudioInfoAspect.Gravatar Googler2016-01-07
| | | | | -- MOS_MIGRATED_REVID=111537858
* Add runtime_deps to android studio proto.Gravatar Googler2016-01-07
| | | | | -- MOS_MIGRATED_REVID=111453115
* Permit proto serialization of configured attribute valuesGravatar Mark Schaller2016-01-04
| | | | | | | | | This commit adds proto messages that represent configurable values, and modifies attribute value serialization code to handle those values, which are called SelectorLists. -- MOS_MIGRATED_REVID=111149272
* plmerge optionally consumes an executable name. This is necessary to ensure ↵Gravatar Googler2015-12-16
| | | | | | | that Blaze can assign a default executable name, for when CFBundleExecutable is not given. -- MOS_MIGRATED_REVID=110363400
* Bundlemerge optionally takes a completed plist to bundle into the archive, ↵Gravatar Googler2015-12-13
| | | | | | | | | instead of multiple plists to merge and variable substitutions to apply. The new key bundle_info_plist_file, gives the path to the completed plist. If it is defined, the keys source_plist_file and variable_substitution are not used. -- MOS_MIGRATED_REVID=110010012
* Plmerge takes an optional automatic_entries_file key, which distinguishes ↵Gravatar Googler2015-12-11
| | | | | | | the automatic entries from the other plist files to be merged. -- MOS_MIGRATED_REVID=109998193
* Plmerge receives arguments by a protobuf, introduces variable substitutions ↵Gravatar Googler2015-12-08
| | | | | | | | | to plmerge. As of this change plmerge can consume either a protobuf or command line arguments. Once bazel uses plmerge strictly with protobufs, the command line arguments will be deprecated. -- MOS_MIGRATED_REVID=109716003
* ASwB aspect: parse java packages during executionGravatar Googler2015-12-03
| | | | | -- MOS_MIGRATED_REVID=109305952
* Remove unused package protocol buffersGravatar Michajlo Matijkiw2015-12-01
| | | | | -- MOS_MIGRATED_REVID=109089224
* Reorganize BUILD files.Gravatar Han-Wen Nienhuys2015-11-30
| | | | | -- MOS_MIGRATED_REVID=108985661
* Support skylark aspects in serialization/deserialization.Gravatar Dmitry Lomov2015-11-30
| | | | | -- MOS_MIGRATED_REVID=108964575
* Add generate_resource_class to android_studio_ide_info.proto.Gravatar Googler2015-11-19
| | | | | | | | | This boolean matches bazel's semantics on whether a R.java class should be generated. Android Studio generates its own in-memory class, but we need to know *whether* we should generate one. -- MOS_MIGRATED_REVID=108175802
* workers: Pass a map of input filenames -> digest of file contents to workers ↵Gravatar Philipp Wollermann2015-11-05
| | | | | | | so that they can cache and reuse state for unchanged inputs over multiple builds. -- MOS_MIGRATED_REVID=107066408
* Generate equals and hashcode for Android Studio proto.Gravatar Googler2015-11-05
| | | | | | | We will eventually want to put these in sets, and don't want to use slow reflection-based equals methods. -- MOS_MIGRATED_REVID=107065999