aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib
Commit message (Collapse)AuthorAge
* Removes restriction on having both a launchimage and a launchstoryboard in a ↵Gravatar Dave MacLachlan2016-03-11
| | | | | | | given application as there are cases where you want both. -- MOS_MIGRATED_REVID=116998425
* Minor documentation wording fix.Gravatar Erik Abair2016-03-11
| | | | | -- MOS_MIGRATED_REVID=116990273
* Allow android_library with android resource attributes to have deps without ↵Gravatar Googler2016-03-11
| | | | | | | | | | srcs instead of throwing an error. Implicit exporting of the deps of an android_library rule that doesn't have srcs is deprecated and will soon be removed. -- MOS_MIGRATED_REVID=116988446
* Improve error when allowedFileTypesForLabels is not setGravatar Liam Miller-Cushon2016-03-11
| | | | | -- MOS_MIGRATED_REVID=116980421
* Skylark repositories: added path.readdir() to list a directoryGravatar Damien Martin-Guillerez2016-03-11
| | | | | | | | | Also added correct equals and hash for the SkylarkPath class. Fixes #1015. -- MOS_MIGRATED_REVID=116979400
* Fixed a problem with wrong test statuses when using notest_keep_going ↵Gravatar Florian Weikert2016-03-11
| | | | | | | (especially with sharding). -- MOS_MIGRATED_REVID=116975152
* Deprecate --javabuilder_jvmoptGravatar Liam Miller-Cushon2016-03-11
| | | | | | | It has been made obsolete by java_toolchain.jvm_flags. -- MOS_MIGRATED_REVID=116884961
* Expose runfiles symlink functionality in SkylarkGravatar Googler2016-03-11
| | | | | | | | | | | | | | | | | | | | | The Skylark rule context object has a runfiles method. This adds two optional parameters to that method, "symlinks" and "root_symlinks", that expose functionality from the underlying Runfiles java class. With this functionality, one can construct links in the runfiles tree where the source and destination of the link have different names and/or relative directories. This might be useful for things like AppEngine rules where a file in a subdirectory of the source tree needs to appear in the root directory of the runfiles tree. If either new parameter is used, the runfiles is subject to stricter validity checking. This checking propagates to other runfiles that depend on it. RELNOTES: Added "root_symlinks" and "symlinks" parameters to Skylark runfiles() method. -- MOS_MIGRATED_REVID=116879064
* Simplify LaunchStoryboard plist generation to make it less error prone.Gravatar Dave MacLachlan2016-03-11
| | | | | | | Simplify automatic entries creation. -- MOS_MIGRATED_REVID=116866524
* When --experimental_oom_more_eagerly is enabled, tell Bazel to exit with an ↵Gravatar Janak Ramakrishnan2016-03-10
| | | | | | | OutOfMemoryError and have the JVM send Bazel a SIGUSR2 when it detects an OOM. This should help in certain pathological cases when Bazel GC thrashes for some time after an OOM has been detected. -- MOS_MIGRATED_REVID=116819359
* Ensure that errors from a mismatch between include scanning and local ↵Gravatar Janak Ramakrishnan2016-03-09
| | | | | | | execution are reported. Previously, we would not report the error unless the build was already failing and this error ended up being the root cause of the first failed top-level target. -- MOS_MIGRATED_REVID=116767915
* Update j2objc workspace to latest 1.0.1 release.Gravatar Googler2016-03-09
| | | | | | | | | Adds //third_party/java/j2objc:jre_emul.jar target, needed for a future update to j2objc_library. RELNOTES: J2ObjC updated to 1.0.1 release. -- MOS_MIGRATED_REVID=116767453
* 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
* Add placeholder documentation for Bazel's constraint system -Gravatar Greg Estren2016-03-08
| | | | | | | fully implemented but still being guinea pigged. -- MOS_MIGRATED_REVID=116694206
* Do not use all_load for individual always_link deps.Gravatar Googler2016-03-08
| | | | | | | -all_load does not work like whole-archive in the Apple linker. It affects *all* arguments, before and after it. Therefore, a single always_link dependency in a cc_binary on Apple platforms turns *everything* into always_link. -- MOS_MIGRATED_REVID=116674199
* Skylark: improved documentation and error messages of getattr() and ↵Gravatar Florian Weikert2016-03-08
| | | | | | | | | hasattr() when being called with the name of an existing method. While hasattr(obj, 'existing method') continues to return true, getattr(obj, 'existing method') always throws an exception (with a more detailed message than before), regardless of whether a default value was specified or not. -- MOS_MIGRATED_REVID=116613716
* Make ipa_post_processor documentation show up.Gravatar Peter Schmitt2016-03-08
| | | | | -- MOS_MIGRATED_REVID=116595467
* Replace objc_dummy.m with objc_dummy.mm.Gravatar Googler2016-03-08
| | | | | -- MOS_MIGRATED_REVID=116593165
* Document subclasses of PackageLookupValueGravatar Michajlo Matijkiw2016-03-08
| | | | | -- MOS_MIGRATED_REVID=116591761
* Detect and warn about runfiles conflicts.Gravatar Googler2016-03-08
| | | | | | | | | A runfile conflict is when two different artifacts have been added to a Runfiles object under the same relative path. Conflict resolution is unchanged (last artifact wins). -- MOS_MIGRATED_REVID=116584195
* Fix hypothetical bug when querying for packages in bulk. We were assuming ↵Gravatar Eric Fellheimer2016-03-08
| | | | | | | | | all packages were successful. Also add Preconditions check to ensure we get the expected Package response when retrieving packages in bulk when we know the set of Package identifiers correspond to valid packages. -- MOS_MIGRATED_REVID=116580093
* Implement equals and hashcode for PrepareDepsOfPatternsValueGravatar Michajlo Matijkiw2016-03-08
| | | | | -- MOS_MIGRATED_REVID=116573891
* Adds ResourceShrinkerAction to android_binary targets if they use Proguard ↵Gravatar Andrew Pellegrini2016-03-08
| | | | | | | | | and specify --experimental_android_resource_shrinking on the command line. RELNOTES: Specifying --experimental_android_resource_shrinking on the command line will enable a resource shrinking pass on android_binary targets that already use Proguard. -- MOS_MIGRATED_REVID=116572863
* Add support for resources to bundling rules.Gravatar Dave MacLachlan2016-03-08
| | | | | | | Will need to release before we can remove resources from objcbinary rules. -- MOS_MIGRATED_REVID=116571890
* Global cleanup change.Gravatar Googler2016-03-08
| | | | | -- MOS_MIGRATED_REVID=116569594
* Add a new startup option, --experimental_oom_more_eagerly. Features to have ↵Gravatar Janak Ramakrishnan2016-03-08
| | | | | | | Bazel exit more eagerly due to an OOM will be guarded by this flag. -- MOS_MIGRATED_REVID=116567102
* Use a list instead of a set for the current group in GroupedListHelper to ↵Gravatar Janak Ramakrishnan2016-03-08
| | | | | | | save memory. This is a partial rollback of f745e99db7632cfb2145b6926f961e85f9084bc5, but that part of the change was unnecessary -- we are already ensuring that an element isn't added twice in GroupedListHelper#add by adding it to elements. -- MOS_MIGRATED_REVID=116560479
* Skylark: implement dict.updateGravatar Laurent Le Brun2016-03-08
| | | | | -- MOS_MIGRATED_REVID=116553978
* Support android_resources in Android Studio.Gravatar Googler2016-03-08
| | | | | -- MOS_MIGRATED_REVID=116549753
* Use $TMPDIR with mktemp in IPA signing action.Gravatar Peter Schmitt2016-03-08
| | | | | -- MOS_MIGRATED_REVID=116511350
* Changed py_wrap_cc rule's dependency validation to mandatoryProvdersList soGravatar Yun Peng2016-03-08
| | | | | | | that it can depend on Skylark rule. -- MOS_MIGRATED_REVID=116385078
* --Gravatar Janak Ramakrishnan2016-03-08
| | | | MOS_MIGRATED_REVID=116363666
* Correctly report stderr content for repository_ctx.executeGravatar Damien Martin-Guillerez2016-03-04
| | | | | | | | | The shell.Command class throw an exception when exit code is non null, resulting in unwanted case where calling a failing command as just echoing "Exited with status 4". -- MOS_MIGRATED_REVID=116361594
* experimental UI: merge simultaneous progress bar updatesGravatar Klaus Aehlig2016-03-04
| | | | | | | | | | | | Events may reach the UI over the event bus simultaneously or with very small time difference. Updating the UI on the terminal, however is an expensive operation. So update the UI only once for simultaneous events. -- Change-Id: I3e6881f18b37626f6be3ad7b97043b42773812f3 Reviewed-on: https://bazel-review.googlesource.com/#/c/3047 MOS_MIGRATED_REVID=116352143
* Allow AbstractQueueVisitor implementations to introspect on active worker ↵Gravatar Eric Fellheimer2016-03-04
| | | | | | | count and possibly use that value to make dynamic decisions around scheduling. -- MOS_MIGRATED_REVID=116351222
* experimental UI: don't update progress bar after end of buildGravatar Klaus Aehlig2016-03-04
| | | | | | | | | | | | | | | | | After completion of the build, there is no need to update the progress bar any more. Its last line can just move to the scrollback buffer. The advantage of doing so, is that we then can pass through STDOUT and STDERR events without additional interference, like line ending to be sure to know where we position the progress bar and additional control characters to position the progress bar itself. In particular, the preformated status report of the tests that were run will be displayed properly. This makes the experimental UI also minimally usable for tests. -- Change-Id: Idaa389b93fc8c9c46c0930f66b4f69b16c3d2e0b Reviewed-on: https://bazel-review.googlesource.com/#/c/3046 MOS_MIGRATED_REVID=116350626
* experimental UI: also remember the currently running actionsGravatar Klaus Aehlig2016-03-04
| | | | | | | | | | | | By not only having a unique identifier for each running action, but also remembering additional information about the actions, in particular the action itself, we can provide a more meaningful description of the currently running actions in the progress bar. -- Change-Id: I34760a437bf731f057162ca4d08368fe35d4bc71 Reviewed-on: https://bazel-review.googlesource.com/#/c/3045 MOS_MIGRATED_REVID=116349484
* experimental UI: use the progress receiverGravatar Klaus Aehlig2016-03-04
| | | | | | | | | | To improve reporting, in particular about the actions to carry out, make use of the ExecutionProgressReceiver. -- Change-Id: I9295199e4c6d9626a193b48b8f332ab2af8e3014 Reviewed-on: https://bazel-review.googlesource.com/#/c/3044 MOS_MIGRATED_REVID=116347930
* Include the file count in ChangedFilesMessage.Gravatar Philipp Wollermann2016-03-04
| | | | | -- MOS_MIGRATED_REVID=116292374
* RELNOTES: Set --legacy_bazel_java_test to off by default.Gravatar Damien Martin-Guillerez2016-03-04
| | | | | -- MOS_MIGRATED_REVID=116272974
* Rollback of commit b8101f57681f292a9ec312a9cbbc84ac4ec0668d.Gravatar Dmitry Lomov2016-03-04
| | | | | | | | | | | | | *** Reason for rollback *** Broke depot: [] *** Original change description *** Skylark aspects should always output to bin directory. -- MOS_MIGRATED_REVID=116264598
* Post the beginning of the execution phase on the event busGravatar Klaus Aehlig2016-03-04
| | | | | | | | | | | The event raised at this occasion also provides the ExecutionProgressReceiver, so that any UI subscribing to this event has access to up-to-date progress information. -- Change-Id: I366497a61f92dad21de6081e5b4f1ed1e19eda12 Reviewed-on: https://bazel-review.googlesource.com/#/c/3043 MOS_MIGRATED_REVID=116256754
* Small fix for coverage.Gravatar Googler2016-03-04
| | | | | -- MOS_MIGRATED_REVID=116255991
* Python provider is now available in SkylarkGravatar Yun Peng2016-03-03
| | | | | | | | | | | | | Using mandatoryProvidersList to validate python rules' dependency. Added a SkylarkProvider named 'py' which is a SkylarkClassObject in Java and a struct in Skylark. Native python rule and Skylark python rule should have this provider so that they can depend on each other. RELNOTES[NEW]: Native python rule can depend on skylark rule as long as skylark rule provides 'py' provider. -- MOS_MIGRATED_REVID=116241504
* Use static creation method for SkyKey. This allows interning SkyKeys as they ↵Gravatar Janak Ramakrishnan2016-03-03
| | | | | | | are created, as opposed to when they are requested from the ParallelEvaluator. That delay can lead to large memory spikes and churn. -- MOS_MIGRATED_REVID=116224565
* Changed UNIX_PATH_MAX from 108 to 104 because the limit is 104 on OS XGravatar Yun Peng2016-03-02
| | | | | | | Fixed bazel github issue #978 -- MOS_MIGRATED_REVID=116164610
* Extract ExecutionProgressReceiver into a top-level class.Gravatar Ulf Adams2016-03-02
| | | | | | | -- Change-Id: I7f9edbef4dd94b5d37aabb1a17333224af3615c6 Reviewed-on: https://bazel-review.googlesource.com/#/c/3042 MOS_MIGRATED_REVID=116163936
* Use bind to redirect C++ crosstool configurationGravatar Damien Martin-Guillerez2016-03-02
| | | | | | | | This is a temporary workaround to enable the use of a cc_configure() rules to auto-configure C++ toolchain. -- MOS_MIGRATED_REVID=116140726
* FancyTerminalEventHandler: manually break lines in progress barGravatar Klaus Aehlig2016-03-02
| | | | | | | | | | | | | Manually break lines in the progress bar (and only in the progress bar!) that are longer than the terminal width. In this way, we avoid any confusion about when the terminal advances a line; in particular, when the terminal is wider than we believe, we do not erase back into the scrollback buffer. -- Change-Id: I19f21bdbd6e6af4665d1e712b921f1a15c7d901c Reviewed-on: https://bazel-review.googlesource.com/#/c/3041 MOS_MIGRATED_REVID=116138487
* Global cleanup change.Gravatar Googler2016-03-02
| | | | | -- MOS_MIGRATED_REVID=116138214