aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Update the glob documentation to reflect a semantic change made a very long ↵Gravatar Nathan Harmata2016-02-25
| | | | | | | | | | | time ago where glob(['**'], exclude_directories = 0) doesn't match the package's directory. Also add tests for this behavior. Also update Skyframe globbing to have these semantics. Any discrepancy has always been problematic, but now that we have Skyframe-hybrid globbing it's a lot more dangerous and consequential. Alternatives considered: do this the other way around (keep the stale documentation as-is and instead update legacy globbing). This would potentially require changing existing usages from stuff like 'data = glob(["**"], exclude_directories = 0)' to 'data = [x for x in glob(["**"], exclude_directories = 0) where x != '']'. I think this is too messy, so long as there is a valid use-case for globs matching directories in the first place. -- MOS_MIGRATED_REVID=115511504
* Don't report targets as broken when they were actually skipped because of ↵Gravatar Florian Weikert2016-02-25
| | | | | | | no[test_]keep_going. -- MOS_MIGRATED_REVID=115506435
* Expose information about transitive exports.Gravatar Dmitry Lomov2016-02-25
| | | | | | | | | Also implement handling of exports in Skylark aspects and enable remaining tests (except PackageManifest and deprecated non-hermetic stuff). -- MOS_MIGRATED_REVID=115496333
* Problem:Gravatar Googler2016-02-25
| | | | | | | | | | | | | | | The --help option is currently broken when allow residue is false as the --help option cannot be parsed and results in exit(2) after emitting the unhelpful message: Error parsing command line: Unrecognized option: --help Try --help. In this case, --help is never reached, and so cannot be used. Solution: In the proposed code, if any argument is --help, the --help message will be preferred over emitting parsing errors. The process will now exit(0) prior to parsing any other arguments if --help is passed. -- MOS_MIGRATED_REVID=115495600
* Expose Android resources in Skylark API.Gravatar Dmitry Lomov2016-02-25
| | | | | | | | Also expose functionality to calculate resource source directory from Android resource artifact. -- MOS_MIGRATED_REVID=115492705
* Fix load() examples to use build targets instead of file paths.Gravatar Googler2016-02-25
| | | | | -- MOS_MIGRATED_REVID=115492703
* Add syntax for referencing docs in other rule families.Gravatar David Chen2016-02-25
| | | | | | | | | | | | This CL implements a new `${link rule.attribute}` syntax which can be used to reference the documentation of rules and attributes of other rule families. For example, `${link cc_library.deps}` will generate a link to the documentation for the `deps` attribute of the `cc_library` rule. Similarly, this syntax can also be used to reference sections of static documentation, for example `${link common-definitions.label-expansion}`. -- MOS_MIGRATED_REVID=115492361
* Handle http <-> https redirectsGravatar Michajlo Matijkiw2016-02-25
| | | | | | | | | | | Support all 301 and 302 redirect handling in bazel. Only support absolute Location redirects (this is the spec, we can revisit if we find a lot of servers are doing it wrong). Fixes #959. -- MOS_MIGRATED_REVID=115490327
* Add bootclasspath and extdir configuration to java_toolchainGravatar Liam Miller-Cushon2016-02-25
| | | | | | | | Once this is released we can phase out --javac_bootclasspath and --javac_extdir. -- MOS_MIGRATED_REVID=115478455
* Part 1 of 5: Optimize the resource merge process, Introductions.Gravatar Googler2016-02-24
| | | | | | | | | | | | Introduces the AndroidDataSet, a holder for DataResources, that will be the building blocks of the revised merging system. Also introduces a DataResource implementations: * FileDataResource, which represent non-value resources. These do not need to derive the resource symbols they provide. This will replace the current ResourceSet, ResourceMerger, and ResourceMergerWriter with more efficient (e.g. fewer copied files) operations. -- MOS_MIGRATED_REVID=115455426
* Make the Windows tempdir default to something under the CI directory and ↵Gravatar Lukacs Berki2016-02-24
| | | | | | | | | explicitly create it. Turns out, mktemp doesn't like being passed a non-existent directory. -- MOS_MIGRATED_REVID=115454169
* Register the EventHandler with the EventBusGravatar Klaus Aehlig2016-02-24
| | | | | | | -- Change-Id: I68f9f8c897c65b6d51bd21262e25ad6a93ee794f Reviewed-on: https://bazel-review.googlesource.com/#/c/3011 MOS_MIGRATED_REVID=115454025
* Expose to Skylark information about whether a target defines any Android ↵Gravatar Dmitry Lomov2016-02-24
| | | | | | | | | | | | resources. In Java code, it is a shared logic in LocalResourceContainer.definesAndroidResources (that method has a fair number of usages). This CL exposes that information on AndroidIdeInfoProvider and futher on AndroidSkylarkInforProvider. -- MOS_MIGRATED_REVID=115453472
* Support full logging of handled events in the experimental UIGravatar Klaus Aehlig2016-02-24
| | | | | | | | | | | To allow debugging and faster development of the new experimental UI, add an additional option telling the experimental UI to log each event available to the handler. -- Change-Id: Ib14c42d2afa5f52f6c444592274c8eaeeda15a81 Reviewed-on: https://bazel-review.googlesource.com/#/c/3010/2 MOS_MIGRATED_REVID=115453031
* Change the path of gcc for Windows to c:\tools\msys64 , because that's where ↵Gravatar Lukacs Berki2016-02-24
| | | | | | | | | Chocolatey installs msys2. This is only a temporary hack to get our continuous build up and running, because we can't assume that everyone will install their C++ compiler there. But then again, msys2 is not a very useful target for Windows, so maybe we should fix that first. -- MOS_MIGRATED_REVID=115449817
* Add zlib-devel to the set of pacman packages we ask people to install on ↵Gravatar Lukacs Berki2016-02-24
| | | | | | | | | Windows. Also make windows.md a bit nicer in general. -- MOS_MIGRATED_REVID=115449272
* Allow overriding Javac options on android_library rules.Gravatar Ulf Adams2016-02-24
| | | | | | | | | | | | | | Any -target and -source options specified in javacopts are currently ignored as they are overwritten with the hard-coded default -target 7 -source 7. This seems more reasonable to me - there are valid use cases for doing so, and if someone wants to shoot themselves in the foot, there are already plenty of other ways of doing so. A small step towards #844. -- MOS_MIGRATED_REVID=115449058
* Description redacted.Gravatar Tobias Werth2016-02-24
| | | | | -- MOS_MIGRATED_REVID=115448892
* Expose IDL information about Android targets to Skylark.Gravatar Dmitry Lomov2016-02-24
| | | | | | | Make more tests pass for Skylark IDE info aspect implementation. -- MOS_MIGRATED_REVID=115448483
* Exclude weirdly-named files from the JDK.Gravatar Lukacs Berki2016-02-24
| | | | | | | This remotes one stumbling block from bootstrapping on Windows. -- MOS_MIGRATED_REVID=115447112
* Refactor JavaCommon: only one of initializeJavacOpts or initCommon is legal.Gravatar Ulf Adams2016-02-24
| | | | | | | After JavaCommon is initialized once, all further calls throw an exception. -- MOS_MIGRATED_REVID=115442886
* Refactoring of the OptionsParser implementation to allow overriding the ↵Gravatar Luis Fernando Pino Duque2016-02-24
| | | | | | | | | value of an option with null. Currently it returns the original default value if the new value is null. -- MOS_MIGRATED_REVID=115442253
* Add an option to enable an experimental UIGravatar Ulf Adams2016-02-24
| | | | | | | | | | | By enabling this option (default is off), a new, still experimental UI will be used. As it is developped from scratch, this commit simply implements a UI that does not produce any output at all. -- Change-Id: I895c0e0744c008212efc7bdfca1457f7907c9b64 Reviewed-on: https://bazel-review.googlesource.com/#/c/3009/ MOS_MIGRATED_REVID=115441032
* Collect runtime dependencies correctly in intellij_info.bzlGravatar Dmitry Lomov2016-02-24
| | | | | -- MOS_MIGRATED_REVID=115440358
* fix grammar mistakeGravatar Yue Gan2016-02-24
| | | | | -- MOS_MIGRATED_REVID=115440169
* Implements repository_ctx.templateGravatar Damien Martin-Guillerez2016-02-24
| | | | | | | | | | | repository_ctx.template enable writing a file in the remote repository tree using a template and a list of substitution in a similar way as the ctx.template_action for regular skylark rule. Issue #893: Step 4 of http://goo.gl/OZV3o0. See http://goo.gl/fD4ZsY. -- MOS_MIGRATED_REVID=115439344
* Add design doc for Go rules as markdown.Gravatar Han-Wen Nienhuys2016-02-24
| | | | | | | -- Change-Id: Id14500fa6febb9c7a58a8f093146d4d9771b44aa Reviewed-on: https://bazel-review.googlesource.com/#/c/3007 MOS_MIGRATED_REVID=115438488
* Enable access to file values in repository contextGravatar Damien Martin-Guillerez2016-02-24
| | | | | | | | | | | | | | | | ctx.path now works with labels. When given a label, ctx.path() will returns the path to the corresponding file if the label point to a file, or error out if it does not point to file. Also fix a small case with repository_ctx.symlink that wasn't creating its directories. This is needed to enable reading template files to create a template function (see http://goo.gl/fD4ZsY) for issue #893 (step 4 of http://goo.gl/OZV3o0). -- MOS_MIGRATED_REVID=115438400
* Use ImmutableList for translations, and reformat Java{Binary,Library} a bit.Gravatar Ulf Adams2016-02-24
| | | | | -- MOS_MIGRATED_REVID=115438295
* Remove scala rules from the Bazel source treeGravatar Damien Martin-Guillerez2016-02-24
| | | | | | | | | They have now moved to https://github.com/bazelbuild/scala_rules RELNOTES[INC]: Scala rules were deleted from the @bazel_tools repository, see https://github.com/bazelbuild/rules_scala#scala-rules-for-bazel -- MOS_MIGRATED_REVID=115432354
* Initialize JavaCommon.sources eagerly, rather than in initCommon().Gravatar Ulf Adams2016-02-24
| | | | | | | | This allows us to make the field final, and guarantees that it can't be mutated after construction. -- MOS_MIGRATED_REVID=115430793
* Use SSL for scala repositoryGravatar Michajlo Matijkiw2016-02-24
| | | | | | | | | | Potentially fixes #968. The http url redirects to https which our redirect logic currently doesn't handle. Confirmed the https location is correct manually. -- MOS_MIGRATED_REVID=115412099
* Blaze - ObjcProtoLibrary: Adds support for the new protobuf library. This ↵Gravatar Googler2016-02-24
| | | | | | | includes improvements such as proto3 syntax support for Objective C. -- MOS_MIGRATED_REVID=115395892
* Simplify plmerge getting rid of command line options that are no longer used.Gravatar Dave MacLachlan2016-02-24
| | | | | -- MOS_MIGRATED_REVID=115393203
* Adds a link to the release 0.2.0 in the blog post announcing it.Gravatar Damien Martin-Guillerez2016-02-23
| | | | | -- MOS_MIGRATED_REVID=115380951
* Changes to crosstool_config.proto to support dsym debug symbol and breakpad ↵Gravatar Cal Peyser2016-02-23
| | | | | | | file generation. -- MOS_MIGRATED_REVID=115376419
* Enable testJavaPlugin for Skylark intellij_info aspect.Gravatar Dmitry Lomov2016-02-23
| | | | | -- MOS_MIGRATED_REVID=115374342
* Have xcode action wrappers use $TMPDIR if using mktempGravatar Googler2016-02-23
| | | | | -- MOS_MIGRATED_REVID=115373672
* Update external dependencies documentation to mention the --artifact ↵Gravatar Alex Humesky2016-02-23
| | | | | | | argument to generate_workspace. -- MOS_MIGRATED_REVID=115367724
* Add initial Skylark API for Android rules.Gravatar Dmitry Lomov2016-02-23
| | | | | -- MOS_MIGRATED_REVID=115364137
* Remove current directory from PATH values.Gravatar Julio Merino2016-02-23
| | | | | | | | | | | | | Having an empty path component in the PATH is equivalent to having a path component pointing to the current directory. This is generally considered harmful because it can lead to the execution of binaries planted in specific locations without the user's knowledge (though I do not think there is a problem per se in Bazel). Fixes #958. -- MOS_MIGRATED_REVID=115363638
* Support "mandatoryProvidersList" in Skylark and added necessary testsGravatar Yun Peng2016-02-23
| | | | | | | | The type of attribute "providers" now is a list of lists of string. But a list of string is still supported. -- MOS_MIGRATED_REVID=115357326
* Remove last non-static call to JavaCommon.getRunfiles and the method itself.Gravatar Ulf Adams2016-02-23
| | | | | -- MOS_MIGRATED_REVID=115352357
* Looks to me like the example was slightly broken, I think this fixes it.Gravatar Googler2016-02-23
| | | | | -- MOS_MIGRATED_REVID=115346303
* clean duplicate error message of the command line of a failed command which ↵Gravatar Yue Gan2016-02-23
| | | | | | | is printed twice when using --verbose_failures. -- MOS_MIGRATED_REVID=115342536
* Aside from Debian dependency on java{7,8}-jdk, accept java{7,8}-sdkGravatar Ivan Vucica2016-02-23
| | | | | | | | | | | It seems like the change introduced in pull request #785 does not function universally. On some releases of Debian and Ubuntu, it looks like packages are declared as providing java{7,8}-sdk. Fixes #961. -- MOS_MIGRATED_REVID=115338913
* Implements repository_ctx.fileGravatar Damien Martin-Guillerez2016-02-23
| | | | | | | | | repository_ctx.file enable writing random file in the remote repository tree. Issue #893: Step 4 of http://goo.gl/OZV3o0. See http://goo.gl/fD4ZsY. -- MOS_MIGRATED_REVID=115338910
* Fix the --loading_phase_threads to work during "blaze build". Previously and ↵Gravatar Eric Fellheimer2016-02-23
| | | | | | | confusingly it only worked on "blaze query". -- MOS_MIGRATED_REVID=115338436
* Add user-defined IPA post-processors.Gravatar Peter Schmitt2016-02-23
| | | | | | | RELNOTES[NEW]: iOS ipa_post_processor attribute allows for user-defined IPA edits. -- MOS_MIGRATED_REVID=115338312
* Fix a race where an interrupt sent from the client near the start of an ↵Gravatar Eric Fellheimer2016-02-23
| | | | | | | invocation could be lost. Note that the client sends an empty request to the Blaze server to check its existence. Previously, we were treating this as a full command invocation in the server and resetting the interrupt bit. Now we detect this and do not alter the interrupt bit. -- MOS_MIGRATED_REVID=115337972