aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Use xcode_config build target for actions which need to resolve an xcode ↵Gravatar Chris Parsons2016-01-13
| | | | | | | version. -- MOS_MIGRATED_REVID=111978539
* cc_inc_library: Add CcSkylarkApiProvider infoGravatar Googler2016-01-13
| | | | | | | This will allow Skylark rules to interact nicely with cc_inc_library rules. -- MOS_MIGRATED_REVID=111969252
* Remove support for runtime deps artifactsGravatar Liam Miller-Cushon2016-01-13
| | | | | -- MOS_MIGRATED_REVID=111959966
* Test for extra rebuilds caused by empty files in http_archive etc.Gravatar Brian Silverman2016-01-13
| | | | | | | | | | | | | This used to cause spurious rebuilds because the timestamp (which was changed every server restart) is used for deciding whether the file changed or not. Closes #573 -- Change-Id: I0e95910353426b22b61a3573ca7465e1edcedaac Reviewed-on: https://bazel-review.googlesource.com/#/c/2390/ MOS_MIGRATED_REVID=111953023
* [scala] fix declared dependencies.Gravatar Damien Martin-Guillerez2016-01-13
| | | | | | | | | Without those dependencies, scala builds fails with sandboxing enabled -- Change-Id: I64d262ada6ab3df210e72eba53305febecfbdbaa Reviewed-on: https://bazel-review.googlesource.com/#/c/2660/ MOS_MIGRATED_REVID=111952523
* Fixing broken named anchors for common-attributes*.Gravatar Googler2016-01-13
| | | | | | | RELNOTES: -- MOS_MIGRATED_REVID=111951279
* Fix links to docs for other rules, Bazel User Manual, Build Reference, and MakeGravatar David Chen2016-01-13
| | | | | | | Variables docs for remaining Bazel rule classes. -- MOS_MIGRATED_REVID=111947479
* Doc typo: avaliable -> availableGravatar Laurent Le Brun2016-01-13
| | | | | -- MOS_MIGRATED_REVID=111946969
* Make the Bazel continuous build work again after the change that introduced ↵Gravatar Lukacs Berki2016-01-12
| | | | | | | apkbuilder. -- MOS_MIGRATED_REVID=111935178
* Don't break long words for debian control fieldsGravatar Andrew Jorgensen2016-01-12
| | | | | | | | | | | | | | | | | By default wrapping can split on `-` characters which creates the chance that any dependency with a `-` in it that falls near the wrap threshold will get split along two lines and render the control file invalid. > Text is preferably wrapped on whitespaces and right after the hyphens > in hyphenated words; only then will long words be broken if necessary, > unless TextWrapper.break_long_words is set to false. https://docs.python.org/3.1/library/textwrap.html#textwrap.TextWrapper.break_long_words Fixes #772. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/777 MOS_MIGRATED_REVID=111925490
* Reset state before test_fetchGravatar Kristina Chodorow2016-01-12
| | | | | | | | | | | | | In general the external integration tests shouldn't need to reset state between tests, but test_fetch is explicitly assuming a clean environment to start off with. Fixes #769 (I think, I can't actually test it due to #770). Change-Id: I63eef924c5b7bff3225c6b67a300d57a7675aeda -- Change-Id: I63eef924c5b7bff3225c6b67a300d57a7675aeda Reviewed-on: https://github.com/bazelbuild/bazel/pull/771 MOS_MIGRATED_REVID=111893662
* Simplifies passing the debug key to ApkBuilder.Gravatar Alex Humesky2016-01-12
| | | | | -- MOS_MIGRATED_REVID=111892954
* Adds ApkBuilder from the Android SDK to bazel's third_party with someGravatar Alex Humesky2016-01-11
| | | | | | | | | modifications to remove deprecation warnings, to create deterministic apks (removes timestamps), and to make calling ApkBuilder more convenient. RELNOTES: Timestamps within Android apks are removed to make apks deterministic. -- MOS_MIGRATED_REVID=111890659
* Use objective-C dependencies only for test that might requires them.Gravatar Damien Martin-Guillerez2016-01-11
| | | | | | | Fixes #770 to an acceptable extent. -- MOS_MIGRATED_REVID=111889925
* Fix bazel version for debian packageGravatar Damien Martin-Guillerez2016-01-11
| | | | | | | | | | 0.1.3 was transformed into 0.1.~3 instead of 0.1.3 Tested the regexp manually with: echo 0.1.3 | sed ... echo 0.1.3rc3 | sed ... -- MOS_MIGRATED_REVID=111884245
* Fix broken links in all Java rule documentation.Gravatar David Chen2016-01-11
| | | | | -- MOS_MIGRATED_REVID=111869417
* Provide rule class name to aspects.Gravatar Dmitry Lomov2016-01-11
| | | | | -- MOS_MIGRATED_REVID=111866202
* Fix compile warning for struct/class mismatchGravatar Kristina Chodorow2016-01-11
| | | | | | | | | | | | | | | | | | | | | ./compile.sh is giving: $ ./compile.sh build bazel-bin/src/bazel 🍃 Building Bazel with Bazel. INFO: Found 1 target... INFO: From Compiling src/main/cpp/blaze.cc: In file included from src/main/cpp/blaze.cc:58: ./src/main/cpp/blaze_globals.h:42:1: warning: 'GlobalVariables' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GlobalVariables { ^ ./src/main/cpp/blaze_abrupt_exit.h:23:1: note: did you mean struct here? class GlobalVariables; ^~~~~ struct 1 warning generated. -- MOS_MIGRATED_REVID=111863702
* Inside findTargetsBeneathDirectory(), invoke the callback with all targets ↵Gravatar Eric Fellheimer2016-01-11
| | | | | | | from the current package batch. -- MOS_MIGRATED_REVID=111858978
* Fix installer under OS XGravatar Damien Martin-Guillerez2016-01-11
| | | | | | | | | The installer was missing the StdRedirect.dylib after a recent change. This was breaking the Tutorial job on ci.bazel.io (and iOS builds using that installer). -- MOS_MIGRATED_REVID=111855462
* Allow to filter attributes based on the rule of the attribute.Gravatar Miguel Alcon Pinto2016-01-11
| | | | | -- MOS_MIGRATED_REVID=111854804
* Global cleanup change.Gravatar Chris Povirk2016-01-11
| | | | | -- MOS_MIGRATED_REVID=111853144
* Allow overridding any rule in the WORKSPACE fileGravatar Kristina Chodorow2016-01-11
| | | | | | | ...instead of throwing an uncaught exception and printing a stack trace. Fixes #409. -- MOS_MIGRATED_REVID=111850179
* Remove remaining toolsGravatar Damien Martin-Guillerez2016-01-11
| | | | | | | tools command was removed from compile.sh -- MOS_MIGRATED_REVID=111848422
* BuildView - untangle more of the methods that are only for ide info.Gravatar Ulf Adams2016-01-11
| | | | | | | | | | In particular, don't immediately call into the ForTesting functions; I need to refactor some code that is called from here, and the semantics when called from ide info should not change. Changes to semantics when called from tests are much less problematic - we can simply run all the tests. -- MOS_MIGRATED_REVID=111846384
* Basic build tag support for go rulesGravatar David Santiago2016-01-11
| | | | | | | | | | Initial implementation for the filter_tags executable is present, along with some tests for the implemented functionality. -- Change-Id: Id82251a3e730596db57ce5fd158b9247b0bee55d Reviewed-on: https://bazel-review.git.corp.google.com/#/c/2132 MOS_MIGRATED_REVID=111841913
* Increase size of tests that time out on ci.bazel.ioGravatar Damien Martin-Guillerez2016-01-11
| | | | | -- MOS_MIGRATED_REVID=111841582
* Rollback of commit ac6ed79e1a3fa6b0ca91657b28e2a35f7e49758c.Gravatar Damien Martin-Guillerez2016-01-11
| | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Roll-forward with fix *** Original change description *** Automated [] rollback of []. *** Reason for rollback *** Broke tests on Mac: https://google.com/url?sa=D&q=http%3A%2F%2Fci.bazel.io%2Fjob%2FBazel%2FJAVA_VERSION%3D1.8%2CPLATFORM_NAME%3Ddarwin-x86_64%2F269%2Fconsole *** Original change description *** Speed-up bootstrap on OS X by removing tool compilation. -- MOS_MIGRATED_REVID=111833617
* Update install docs as installer has changedGravatar Samuel Husso2016-01-11
| | | | | | -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/764 MOS_MIGRATED_REVID=111832176
* Add auth support for proxy downloadsGravatar Kristina Chodorow2016-01-11
| | | | | | | | | | | Should fix #587. RELNOTES: Support for downloading remote resources through proxies by setting HTTP_PROXY (or HTTPS_PROXY). -- Change-Id: I4ae18c4f1a9e911e538efd446323e279e9776eec Reviewed-on: https://github.com/bazelbuild/bazel/pull/759 MOS_MIGRATED_REVID=111708438
* Enable objc targets that produce bundles to specify multiple plist files ↵Gravatar Cal Peyser2016-01-11
| | | | | | | | | with the "infoplists" attribute. The plists are merged to produce the bundle's Info.plist. This attribute will live alongside the current "infoplist" attribute until the next Blaze release. -- MOS_MIGRATED_REVID=111705709
* When transforming labels into targets in SkyQueryEnvironment, stream the ↵Gravatar Janak Ramakrishnan2016-01-11
| | | | | | | | | result to a callback instead of returning it directly. This means that the targets a precomputed pattern resolves to can be processed incrementally. This is the sixth and hopefully final step in a series to allow processing large sets of targets in query target patterns via streaming batches rather than all at once. This should improve performance for SkyQueryEnvironment for certain classes of large queries. -- MOS_MIGRATED_REVID=111697983
* Stream result of TargetPattern#eval to a callback instead of returning it ↵Gravatar Janak Ramakrishnan2016-01-11
| | | | | | | | | directly, and pass a Query callback in when resolving target patterns. This means that the targets a pattern resolves to can be processed incrementally. This is the fifth step in a series to allow processing large sets of targets in query target patterns via streaming batches rather than all at once. This should improve performance for SkyQueryEnvironment for certain classes of large queries. -- MOS_MIGRATED_REVID=111696713
* Implement groovy_junit_testGravatar Erik Kuefler2016-01-11
| | | | | | | | | | | | | This is very similar to spock_test, except it refers to the test classes as "Tests" instead of "Specs", and it doesn't include the dependency on Spock. This is the last of the Groovy rules I'm planning to contribute, though there are a couple of improvements left to be made to the existing rules. -- Change-Id: Ie5acea7f65fcc96ec8cff9a3f9079583e7f77cb7 Reviewed-on: https://bazel-review.googlesource.com/#/c/2431/ MOS_MIGRATED_REVID=111694856
* Release 0.1.3 (2016-01-07)Gravatar Bazel Release System2016-01-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Baseline: 23ad8f6 + de2183d: Only depend on the WORKSPACE file for external files that are under the external/ directory, i.e. were created by Bazel. + f8f855c: Rollback of commit 12bad3af0eade9c4b79d76f9e1c950ad2e3214c2. + f627562: Stop parsing the WORKSPACE file when a parse error is detected + 763f139: Add -fno-canonical-system-headers to CROSSTOOL files so that gcc doesn't resolve symlinks in .d files, which would confuse Blaze. + b95995b: Use openjdk7 as dependency for debian package of jdk7 flavor New features: - Skylark macros are now enabled in WORKSPACE file. - .bazelrc allows workspace-relative imports as "import %workspace%/path/to/rcfile" - Evaluate the query expression in a file by passing --query_file=<file> to query Important changes: - Remove obsolete --objc_per_proto_includes flag. - iOS apps and extensions now have launch_storyboard - Passing multiple JVM options via a single --host_jvm_args flag is now deprecated. Pass each JVM option behind its own --host_jvm_args flag. - Resources defined locally on an android_library rule will respect the neverlink attribute. - Update Rust to 1.4 - Fix resource handling for exported android_library rules - Files in external repositories are now treated as mutable, which will make the correctness guarantees of using external repositories stronger (existent), but may cause performance penalties.
* Query for user nobody and exit sandbox if unable to find.Gravatar Pedro Kiefer2016-01-08
| | | | | | | | | | | Only create homedir if different from "/". Fixes issue #481. -- Change-Id: I240ea02974dfaafa07d1c9772baf372d5ea7755b Reviewed-on: https://bazel-review.googlesource.com/#/c/2650/ MOS_MIGRATED_REVID=111686914
* Adds the Android design support library as an Android dependency.Gravatar Jake Voytko2016-01-08
| | | | | | | | | | This library is a default dependency of some template projects used by Android Studio. -- Change-Id: I732939b81ccc9bc5756ae6ffa594f87efd459dbb Reviewed-on: https://bazel-review.googlesource.com/#/c/2611 MOS_MIGRATED_REVID=111677018
* Update to truth 0.28Gravatar Damien Martin-Guillerez2016-01-08
| | | | | -- MOS_MIGRATED_REVID=111670453
* Add xcode_locator to bazel's embedded binaries.Gravatar Chris Parsons2016-01-08
| | | | | | | For bazel on non-darwin architectures, this will simply be a stub, and should never be invoked. On darwin arcitectures, the tool will map xcode version to xcode path on the host system. -- MOS_MIGRATED_REVID=111651147
* Add the ability to customize the bazel client's exit code used when the ↵Gravatar Nathan Harmata2016-01-08
| | | | | | | bazel server exits abruptly. -- MOS_MIGRATED_REVID=111641619
* Add Truth 0.28 binary to third_partyGravatar Damien Martin-Guillerez2016-01-08
|
* Rollback of commit e4133aab4db7cd640501d1113c259e8477006b6f.Gravatar Damien Martin-Guillerez2016-01-07
| | | | | | | | | | | | | | | | *** Reason for rollback *** Broke build of Bazel tests on ci.bazel.io See http://ci.bazel.io/job/Bazel/JAVA_VERSION=1.8,PLATFORM_NAME=ubuntu_15.10-x86_64/280/console Found using git bisect and /tmp/bazel-bin build --nobuild //src/tools/generate_workspace/src/main/java/com/google/devtools/build/workspace:workspace *** Original change description *** Factor implementation of bazel-specific cpp logic out of devtools/build/lib/BUILD into subpackage, to allow the objc implementation to extend that logic without a circular dependency. In particular, create a subpackage at lib/bazel/rules, and move relevant targets that were in lib/bazel down to the subpackage. -- MOS_MIGRATED_REVID=111632586
* Resolve target patterns on the fly in SkyQueryEnvironment. Cache only the ↵Gravatar Janak Ramakrishnan2016-01-07
| | | | | | | | | label sets that are precomputed in the graph. This is the fourth step in a series to allow processing large sets of targets in query target patterns via streaming batches rather than all at once. This may make SkyQueryEnvironment slower when evaluating queries with repeated target patterns, or many target patterns that would benefit from graph lookups that were batched across all patterns. But that is not currently a bottleneck we're concerned about. -- MOS_MIGRATED_REVID=111626483
* Allow relative paths for local_repository()sGravatar Kristina Chodorow2016-01-07
| | | | | | | | | | Fixes #733. RELNOTES: Relative paths can now be used for 'path' with new_local_repository and local_repository. -- MOS_MIGRATED_REVID=111620894
* Make QueryEnvironment#getTargetsMatchingPattern pass its result to a callback.Gravatar Janak Ramakrishnan2016-01-07
| | | | | | | This is the third step in a series to allow processing large sets of targets in query target patterns via streaming batches rather than all at once. This should also be a functional no-op. -- MOS_MIGRATED_REVID=111620668
* Update comment to ios_test from deprecated experimental_ios_testGravatar Cal Peyser2016-01-07
| | | | | -- MOS_MIGRATED_REVID=111619533
* Use openjdk7 as dependency for debian package of jdk7 flavorGravatar Damien Martin-Guillerez2016-01-07
| | | | | | | Fixes #752. -- MOS_MIGRATED_REVID=111614541
* Stream TargetPattern#eval implementations' results to a callback rather than ↵Gravatar Janak Ramakrishnan2016-01-07
| | | | | | | | | returning a ResolvedTargets set. This is the second step in a series to allow processing large sets of targets in query target patterns via streaming batches rather than all at once. This should also be a functional no-op. -- MOS_MIGRATED_REVID=111611858
* making sass work better in different linux situations, minor cleanup overall.Gravatar Derek Perez2016-01-07
| | | | | | | -- Change-Id: I116d8f3f5dcae97bf78601db60b0fcef0e630228 Reviewed-on: https://bazel-review.googlesource.com/#/c/2630/ MOS_MIGRATED_REVID=111611226
* Split PrepareDepsOfTargetsUnderDirectory into two parts, one which does the ↵Gravatar Janak Ramakrishnan2016-01-07
| | | | | | | directory traversal and package loading, and the other which requests deps on all the transitive targets. We need values from the first half, but the second half can fail to evaluate because of a target cycle. By splitting them, we ensure that there will be values in the graph, so we can get the targets below a directory even if there are cycles present. -- MOS_MIGRATED_REVID=111609889