| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116801400
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This functions was introduced by commit bf98f39d5d69: "Add the ability
to customize the bazel client's...", but at that time it didn't update
EnsureCorrectRunningVersion() function, that uses unlink() function, to
use DeleteFile() as well.
So this patch updates EnsureCorrectRunningVersion() to make use of it
now.
While there is nothing wrong with the current name, it is not very much
correct from the documentation point. If the path is a symlink, unlink()
will just the symbolic link and the file won't be removed (affected at all).
Otherwise, if it is just a normal file, it will just decrement the link
count of the file and when that count reaches zero (0) then the file
will longer be accessible.
So while at it we renamed the function to UnlinkPath(), but could just
stay as DeleteFile() if we wanted.
In this process we also improved the documentation for this function to
be a little more clear and removed moved it from the source file, since
the header file already has it.
For further reference, adhere to the documentation in
http://pubs.opengroup.org/onlinepubs/009695399/functions/unlink.html.
--
Change-Id: I0fc569f3324322cbc67a8fb540836c127f5c3399
Reviewed-on: https://bazel-review.googlesource.com/#/c/3061/
MOS_MIGRATED_REVID=116769254
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
First in a (probably short) sequence of commits to fix the flakiness
of the #simpleCounter test.
--
MOS_MIGRATED_REVID=116701149
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
fully implemented but still being guinea pigged.
--
MOS_MIGRATED_REVID=116694206
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116693888
|
|
|
|
|
|
|
| |
-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
|
|
|
|
|
|
|
| |
empty plist file. Added test to verify this doesn't get broken in the future.
--
MOS_MIGRATED_REVID=116670228
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116653232
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Silently overwrites other Manifest.java files -- since this isn't a well known feature of the Android framework, it violates the principal of the least surprise.
Will revisit the discussion at length.
*** Original change description ***
Pick up the generate Manifest.java when creating the source jar.
--
MOS_MIGRATED_REVID=116647437
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
This enables certain tests for rules that are not implemented in the
core tool, e.g. for Skylark tests.
--
MOS_MIGRATED_REVID=116600082
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116595467
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116593165
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116591761
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116576334
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116573891
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Will need to release before we can remove resources from objcbinary rules.
--
MOS_MIGRATED_REVID=116571890
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116569594
|
|
|
|
|
|
|
| |
Bazel exit more eagerly due to an OOM will be guarded by this flag.
--
MOS_MIGRATED_REVID=116567102
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116560331
|
|
|
|
|
|
|
| |
Useful for manipulating computed value nodes in tests.
--
MOS_MIGRATED_REVID=116555900
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116553978
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116549753
|
|
|
|
|
|
|
| |
Introduces the XmlDataResource and all the associated cruft that comes with parsing Android Resource value xmls: XmlValues, XmlValue.
--
MOS_MIGRATED_REVID=116540181
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116511350
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116498132
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116421348
|
|
|
|
|
|
|
| |
TrackingAwaiter if one test fails, and make the Preconditions check in GraphTester a bit more informative.
--
MOS_MIGRATED_REVID=116391607
|
|
|
|
|
|
|
| |
that it can depend on Skylark rule.
--
MOS_MIGRATED_REVID=116385078
|
|
|
|
| |
MOS_MIGRATED_REVID=116363666
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
count and possibly use that value to make dynamic decisions around scheduling.
--
MOS_MIGRATED_REVID=116351222
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116292374
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116272974
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Broke depot: []
*** Original change description ***
Skylark aspects should always output to bin directory.
--
MOS_MIGRATED_REVID=116264598
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116255991
|
|
|
|
|
|
|
|
| |
Using <> is causing the tests not to build, see
http://ci.bazel.io/job/Bazel/387/.
--
MOS_MIGRATED_REVID=116254679
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Roll-forward of I3762e6be911b79a133a2959fce3a8bf34d183232 with fixes.
Otherwise it prints the wrong message when the target which is missing
a dependency is in a repository other than the default one.
Second try with the new test disabled for jdk7 because that uses an old,
fixed version of the code.
--
Change-Id: I7e16fa874066e1b63064662df42a98784fcae233
Reviewed-on: https://bazel-review.googlesource.com/#/c/3032/
MOS_MIGRATED_REVID=116248259
|