aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Slight refactoring of readdir().Gravatar Eric Fellheimer2015-06-03
| | | | | -- MOS_MIGRATED_REVID=95036998
* Remove compatible_with / restricted_to attributes from ruleGravatar Greg Estren2015-06-03
| | | | | | | classes that are exempt from constraint checking. -- MOS_MIGRATED_REVID=95033646
* Rephrased post-beta items of the roadmapGravatar Damien Martin-Guillerez2015-06-03
| | | | | -- MOS_MIGRATED_REVID=95026927
* Pass Bazel client workspace root to XcodeGen.Gravatar Rumou Duan2015-06-03
| | | | | -- MOS_MIGRATED_REVID=95026119
* Added BUILD files for //src/objc_tools packageGravatar Damien Martin-Guillerez2015-06-03
| | | | | | | | | It didn't get exported last time for some reasons -- Change-Id: Ia7fa7bcdd0f06af6c4aa2bc7c26de4b7209f51f7 Reviewed-on: https://bazel-review.googlesource.com/#/c/1450/ MOS_MIGRATED_REVID=95025211
* Fix issue where MavenDownloader was using empty defaults for repositoryGravatar Michajlo Matijkiw2015-06-03
| | | | | | | | | AttributeMap#has() checks that an attribute exists for a rule but not if values are actually defined. Check if specified repository values are non-empty before using. -- MOS_MIGRATED_REVID=95025038
* Pass user-specified JVM flags to AddJVMArguments so that JVM flags can be ↵Gravatar Janak Ramakrishnan2015-06-03
| | | | | | | customized based on user's flags. -- MOS_MIGRATED_REVID=95015135
* Make sure that all system includes that are specified in the CROSSTOOL file ↵Gravatar Janak Ramakrishnan2015-06-03
| | | | | | | are present in CppCompileAction#getSystemIncludeDirs. -- MOS_MIGRATED_REVID=95014774
* Update the debugging instructions for the C++ client.Gravatar Thiago Farina2015-06-03
| | | | | | | | | | | This was reported on the bazel-discuss mailing list and was also the only way I could get it to work under gdb. https://groups.google.com/d/msgid/bazel-discuss/df72971c-db75-4e05-97d6-0b98ca054e5c%40googlegroups.com -- Change-Id: I0b37a6bdee48febb35631ead3f76e419b08810bd Reviewed-on: https://bazel-review.googlesource.com/#/c/1430/ MOS_MIGRATED_REVID=95011401
* Keep host dependencies exempt from constraint checkingGravatar Greg Estren2015-06-03
| | | | | | | even with --nodistinct_host_configuration. -- MOS_MIGRATED_REVID=95009095
* Improve an error messageGravatar Francois-Rene Rideau2015-06-03
| | | | | -- MOS_MIGRATED_REVID=95006895
* Minor doc update (wrt exports_files and BUILD files).Gravatar Laurent Le Brun2015-06-03
| | | | | | | The paragraph is not very useful, and not entirely true. -- MOS_MIGRATED_REVID=95006327
* Skylark - delete deprecated ctx.target(s)Gravatar Laurent Le Brun2015-06-02
| | | | | -- MOS_MIGRATED_REVID=95001990
* Update comments - it's not experimental anymore.Gravatar Laurent Le Brun2015-06-02
| | | | | -- MOS_MIGRATED_REVID=94999937
* Disable heuristic_label_expansion in Bazel.Gravatar Han-Wen Nienhuys2015-06-02
| | | | | | | Fixes #211. -- MOS_MIGRATED_REVID=94919859
* Add a workspace_root optional field for message Control in xcodegen.proto. ↵Gravatar Rumou Duan2015-06-02
| | | | | | | Modify XcodeGen to use that field as workspace root if it is set. -- MOS_MIGRATED_REVID=94916387
* Simplify genproto.bzl.Gravatar Han-Wen Nienhuys2015-06-02
| | | | | | | | | | | | | | | | Generate a srcjar artifact, and use native.java_library to emit the actual jar file. Post-review modifications: - Formatted genproto.bzl - Use //external:jar instead of relying on PATH - Make proto library a java_import instead of a filegroup in test setup. -- Change-Id: I005f801f09439bbca43e483ad4a47da4588fea94 Reviewed-on: https://bazel-review.googlesource.com/1362 MOS_MIGRATED_REVID=94914935
* Remove fetch step from compile.shGravatar Kristina Chodorow2015-06-01
| | | | | | | | | | Also updates the fetch documentation. Now that it's been in the wild for a bit, keeping --fetch=true the default seems like the right choice: it's less confusing to new users and anyone who cares can put `build --fetch=false` in their .bazelrc file. -- MOS_MIGRATED_REVID=94912125
* Confusing method description elaborated upon a little bit.Gravatar Googler2015-06-01
| | | | | -- MOS_MIGRATED_REVID=94910185
* Use the ijar ZIP implementation in Blaze instead of libarchiveGravatar Damien Martin-Guillerez2015-06-01
| | | | | | | | | | | This ZIP implementation is lightweight and rely on zlib for compression. libarchive was a bit tricky to set-up so it's better to use that one. -- Change-Id: I607b492998572e834e095a4606eeb77c0b574542 Reviewed-on: https://bazel-review.googlesource.com/#/c/1410/ MOS_MIGRATED_REVID=94910072
* Implement smart negation for target pattern sequencesGravatar Mark Schaller2015-06-01
| | | | | | | | | | | This change uses the types of target patterns, and the order they appear in the sequence, to construct a more efficiently processable sequence of target pattern keys. Redundant patterns are eliminated and negated TargetsBelowDirectory patterns are excluded from higher-up positive patterns. -- MOS_MIGRATED_REVID=94909360
* launcher: observe umask in MakeDirectories.Gravatar Han-Wen Nienhuys2015-06-01
| | | | | -- MOS_MIGRATED_REVID=94905648
* Push down Package serialization io logicGravatar Michajlo Matijkiw2015-06-01
| | | | | | | | | | | Rearrange Package serialization logic to hide ProtocolBuffer implementation details and make it easier to transition to a more "streamed" approach. Also moved the public members of PackageSerializer to the top of the class for visibility. -- MOS_MIGRATED_REVID=94905360
* Add the --sysroot argument even if it is the default for the particular ↵Gravatar Lukacs Berki2015-06-01
| | | | | | | | | Crosstool. This makes integrating Bazel with an external Android NDK less complex, and removes a special-case from the behavior of Bazel, which is always good. -- MOS_MIGRATED_REVID=94893919
* Use the -nf option of ApkBuilder (which is available in the Android SDK) ↵Gravatar Lukacs Berki2015-06-01
| | | | | | | | | instead of the -nl one (which is not) to include native libraries. The alternative implementation uses a symlink tree, but given that we never have many native libraries, I opted for the simpler approach. -- MOS_MIGRATED_REVID=94891099
* Changes the android rules to invoke jarjar directly instead of through a script.Gravatar Alex Humesky2015-06-01
| | | | | -- MOS_MIGRATED_REVID=94791363
* Change the contract of IncludeScanner#process to include the original ↵Gravatar Janak Ramakrishnan2015-06-01
| | | | | | | | | sources passed in as part of the result. We were adding the sources anyway, and it should be a harmless change. -- MOS_MIGRATED_REVID=94787401
* Cleanup: Remove unused Is64BitBlazeJavabase() function declaration.Gravatar Thiago Farina2015-06-01
| | | | | | | | | | This function has only a declaration, no implementation and thus no uses. Confirmed that it has no uses internally as well. -- Change-Id: Ifd9214b546f304077e4d729bf22abf6b49cc6af1 Reviewed-on: https://bazel-review.googlesource.com/1411 MOS_MIGRATED_REVID=94763256
* Add main to print list of rules.Gravatar Han-Wen Nienhuys2015-06-01
| | | | | -- MOS_MIGRATED_REVID=94762936
* Add support for @foo//:bar-format labels on the command lineGravatar Kristina Chodorow2015-06-01
| | | | | | | | It's annoying how split up the Label parsing code is, but it seems like too much work to bother fixing. Maybe next fixit. -- MOS_MIGRATED_REVID=94758275
* Attach runfiles middlemen to py-binary data runfilesGravatar Michajlo Matijkiw2015-06-01
| | | | | -- MOS_MIGRATED_REVID=94758273
* Guard against a null targets list.Gravatar Cody Schroeder2015-06-01
| | | | | | | Fixes #215. -- MOS_MIGRATED_REVID=94757979
* Fully qualify links to PackageFunction in PackageGravatar Michajlo Matijkiw2015-06-01
| | | | | | | | | Helps javadoc resolve the referece. We can't import PackageFunction here since it's not visible. Instead use the fully qualified name so the link still works. -- MOS_MIGRATED_REVID=94757000
* Add documentation on depending on precompiled C++ librariesGravatar Kristina Chodorow2015-06-01
| | | | | -- MOS_MIGRATED_REVID=94756225
* Re-enable documentation on maven_jarGravatar Kristina Chodorow2015-06-01
| | | | | | | I accidentally set the whole rule to be undocumented, not just this attribute. -- MOS_MIGRATED_REVID=94755573
* Skylark: Implemented str.rsplit() and made split()'s separator a mandatory ↵Gravatar Florian Weikert2015-06-01
| | | | | | | parameter. -- MOS_MIGRATED_REVID=94751927
* Expose Python provider to SkylarkGravatar Laurent Le Brun2015-06-01
| | | | | | | | It is now possible to access transitive sources from py_binary and py_library rules with target.py.transitive_sources -- MOS_MIGRATED_REVID=94751866
* Fix %O format string in ijar's zipperGravatar Damien Martin-Guillerez2015-06-01
| | | | | | | | | Also remove the leading slash when flattening files Fixes #219. -- MOS_MIGRATED_REVID=94751441
* Skylark: Expose proto providers in a cleaner way.Gravatar Laurent Le Brun2015-06-01
| | | | | | | | | | | Example: for target in ctx.attr.deps: print(target.proto.sources) print(target.proto.transitive_imports) print(target.proto.transitive_sources) -- MOS_MIGRATED_REVID=94747961
* Initial checkin of the "mobile-install" command.Gravatar Lukacs Berki2015-05-29
| | | | | | | This was omitted when the bulk of the code was moved in order not to pollute the output of "bazel help" with a useless command, but now it is in the way of testing Android functionality. -- MOS_MIGRATED_REVID=94747309
* Use an aspect to calculate the Android neverlink libraries.Gravatar Lukacs Berki2015-05-29
| | | | | | | This cuts the .java -> .android dependency between Java packages, which is nice at the cost of some cavalier over-estimation of the direct dependencies in AndroidNeverlinkAspect. -- MOS_MIGRATED_REVID=94745544
* Add options for Android compilation with Jack.Gravatar Michael Staib2015-05-29
| | | | | | | | | | | | This sets up the Android configuration flags, but they aren't used yet. All implementations of Jack support in other rules use isJackSanityChecked() to determine whether the --sanity-checks flags should be set to 'on'; isJackUsedForDexing() specifically guards the final step in AndroidBinary, determining whether the ordinary Java compilation process or the Jack process is used to build the final classes.dex. -- MOS_MIGRATED_REVID=94712246
* added comment to compile.shGravatar David Mankin2015-05-29
| | | | | | | -- Change-Id: Id9e80ebc9f05ee7dcdf5d77e84e29cfb89de72cb Reviewed-on: https://bazel-review.googlesource.com/#/c/1400/ MOS_MIGRATED_REVID=94696229
* Added limits.h to headers to ijarGravatar Damien Martin-Guillerez2015-05-29
| | | | | | | | | For some reason PATH_MAX is not found on TravisCI. Towards fixing #212. -- MOS_MIGRATED_REVID=94696153
* Refactor J2ObjCSrcsProvider to have a builder, allowing us to move logic out ↵Gravatar Googler2015-05-29
| | | | | | | of ObjCRuleClasses. -- MOS_MIGRATED_REVID=94693481
* Description redacted.Gravatar Googler2015-05-29
| | | | | -- MOS_MIGRATED_REVID=94674209
* Create a Skylark API for C++ rules.Gravatar Laurent Le Brun2015-05-29
| | | | | | | | | | | | | | The API doesn't expose the internal detail of the C++ rules. The goal here is to provide a simplified and stable access to the data. Example of use: for target in ctx.attr.deps: print(target.cc.include_srcs) More functions should be added later. -- MOS_MIGRATED_REVID=94672588
* Refactor ZIP implementation of ijarGravatar Damien Martin-Guillerez2015-05-28
| | | | | | | | | | | | | | | | | | | | It extracts Zip/Unzip methods of ijar in a separate library. A zipper binary is provided to test that implementation outside. Note that this implementation does not compute CRC-32 and unzip will complain on file zipped with it (but Java won't complain). The error handling has been replaced to use proper error reporting instead of launching abort()'s allover the place so ijar's zip library can be used outside of ijar. Finally, support for ZIP preamble has been added to handle self-extractable ZIP files. -- Change-Id: I833034b4c0054925bada75102fe040db875da789 Reviewed-on: https://bazel-review.googlesource.com/#/c/1371/ MOS_MIGRATED_REVID=94656262
* Skylark: Added str.partition() and str.rpartition(), as known from Python.Gravatar Googler2015-05-28
| | | | | -- MOS_MIGRATED_REVID=94655923
* Parser cleanup: Introduce an enum instead of the booleansGravatar Laurent Le Brun2015-05-28
| | | | | -- MOS_MIGRATED_REVID=94649435