| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
repository and package of the rule being analyzed. Currently this directory is PACKAGE for rules in the main repository and external/REPOSITORY_NAME/PACKAGE for rules in other repositories.
This is a plan to fix #293. Ideally, we would simply make it impossible to create artifacts not under that location, but in practice, we cannot do that because some rules do want to do this, mostly those that are already problematic due to shared actions. So the battle plan is to eliminate as many calls to AnalysisEnvironment.getDerivedArtifact() as I possibly can and audit the rest.
--
MOS_MIGRATED_REVID=99351151
|
|
|
|
|
|
|
| |
'a/nope'.
--
MOS_MIGRATED_REVID=99337668
|
|
|
|
|
|
|
|
|
| |
doesn't already exist.
This addresses #251, but similar functionality needs to be implemented for all flavors of remote repository.
--
MOS_MIGRATED_REVID=99319885
|
|
|
|
|
|
|
|
|
|
|
| |
use this functionality to properly invalidate http download nodes if the downloaded zip file doesn't match the specified hash.
This still means that the actual files downloaded may not match, but checking all such files may be too expensive.
This helps with #336 but before that issue can be closed all remote repositories (git, etc.), should have similar functionality added.
--
MOS_MIGRATED_REVID=99317085
|
|
|
|
| |
MOS_MIGRATED_REVID=99312812
|
|
|
|
|
|
|
| |
RELNOTES:
--
MOS_MIGRATED_REVID=99309514
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99302436
|
|
|
|
|
|
|
|
|
| |
resources to the test runner instead of ResourceContainers. Update AndroidLibraryAarProvider to contain transitive closure of .aars. Provides an ~4x speed improvement in test startup time.
RELNOTES: android_resources is no longer allowed as a dep for android_robolectric_test.
--
MOS_MIGRATED_REVID=99296321
|
|
|
|
|
|
|
| |
The srclist is never generated as far as I can tell.
--
MOS_MIGRATED_REVID=99285158
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99283744
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99279879
|
|
|
|
|
|
|
|
|
| |
This is more in line with how most Linux distributions work. I hope.
Fixes #334.
--
MOS_MIGRATED_REVID=99276562
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99273726
|
|
|
|
|
|
|
| |
arguments were passed to the install script.
--
MOS_MIGRATED_REVID=99271033
|
|
|
|
|
|
|
| |
ctx.new_file(Artifact, String)
--
MOS_MIGRATED_REVID=99259144
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This packager can be called by the release scripts to generate
a self-extractable bash installer for Bazel. This script was
tested by hand as extra arguments can be specified to change
the default install of Bazel (default is system-wide and
with the argument you can make a user install).
This will be the only packager for now since GitHub is offering
the possibility to download the source tree as a ZIP. Hopefully,
before the end of the year we could build some more package kind.
--
Change-Id: I1a2d0cd39b9e4adcaf6c984ec4c855a04213b61a
Reviewed-on: https://bazel-review.googlesource.com/1581
MOS_MIGRATED_REVID=99258828
|
|
|
|
|
|
|
| |
Care is taken so that this works without Bazel or the installer script supporting it so that the changes can be submitted separately.
--
MOS_MIGRATED_REVID=99258564
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99234569
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99224654
|
|
|
|
|
|
|
|
|
| |
This makes it easier to identify places where we rely on Repository#name(),
as IDEs have an easier time finding occurences of this specific method vs
finding occurences of toString().
--
MOS_MIGRATED_REVID=99221130
|
|
|
|
|
|
|
| |
The incorrect conversion was introduced recently.
--
MOS_MIGRATED_REVID=99218016
|
|
|
|
|
|
|
| |
accounting, and artifact conflicts.
--
MOS_MIGRATED_REVID=99217433
|
|
|
|
|
|
|
| |
use the more appropriate and correct ExecutorInitException than ViewCreationException. Importantly, note that ExecutorInitException will give us the right exit code and since it's a subclass of AbruptExitException we get the right build status codes too.
--
MOS_MIGRATED_REVID=99208200
|
|
|
|
|
|
|
|
|
| |
targets in the template.
Tested manually pending more Android rule tests for Bazel.
--
MOS_MIGRATED_REVID=99201150
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99198288
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99197069
|
|
|
|
|
|
|
| |
--
Change-Id: Ica96bd719fe9d7e152fbe78e71669fddefe12e92
Reviewed-on: https://bazel-review.googlesource.com/#/c/1640/
MOS_MIGRATED_REVID=99182210
|
|
|
|
|
|
|
|
|
|
|
| |
Such files likely arise from corrupted filesystems, and an error
about the file format is more useful to the user than mysterious
one about undeclared inclusions coming from truncated file names.
--
Change-Id: I8be4bd3cd4e1845d2904a91e99aeafc41b3b9d8c
Reviewed-on: https://bazel-review.googlesource.com/1660
MOS_MIGRATED_REVID=99182205
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99181437
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99180853
|
|
|
|
|
|
|
| |
--
Change-Id: I8b896e6d4234b5a92d769a16cff70704f1fc9d40
Reviewed-on: https://bazel-review.googlesource.com/1700
MOS_MIGRATED_REVID=99176169
|
|
|
|
|
|
|
|
|
| |
native libraries.
This requires changes to the stub application and the installer script, which are a-coming.
--
MOS_MIGRATED_REVID=99174902
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99174214
|
|
|
|
|
|
|
| |
overriding getInputs()).
--
MOS_MIGRATED_REVID=99173247
|
|
|
|
|
|
|
|
|
| |
Remove an unnecessary intermediate method in CcBinary and provide a helper
method in CcLinkAction.Builder that simplifies several call sites that just
want to add CcLinkParams to the link action.
--
MOS_MIGRATED_REVID=99172303
|
|
|
|
|
|
|
| |
Fixes #332
--
MOS_MIGRATED_REVID=99171024
|
|
|
|
|
|
|
| |
'tests' instead.
--
MOS_MIGRATED_REVID=99169485
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99169373
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99163140
|
|
|
|
|
|
|
| |
Default values of attributes (e.g. "//tools/cpp:malloc" when an attribute declaration says .name("malloc").value("//tools/cpp:malloc")) are now considered as a label inside the main repository and not inside the external repository. This is consistent with how we treat implicit/default attributes and is useful because these are usually tool dependencies.
--
MOS_MIGRATED_REVID=99160392
|
|
|
|
|
|
|
|
| |
The hash in the field is the sha256 sum for the guava jar, rather than the sha1 sum.
--
Reviewed-on: https://github.com/google/bazel/pull/320
MOS_MIGRATED_REVID=99045440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which conditions were checked.
In other words, go from:
ERROR: $WORKSPACE_ROOT/package/BUILD:69:12: Configurable attribute "srcs" doesn't match this configuration (would a default condition help?).
to:
ERROR: $WORKSPACE_ROOT/package/BUILD:69:12: Configurable attribute "srcs" doesn't match this configuration (would a default condition help?).
Conditions checked:
//foo:condition1
//foo:condition2
--
MOS_MIGRATED_REVID=99044040
|
|
|
|
|
|
|
|
|
|
| |
After 77ac48e2d0874d152c29b597113053f2629b3bc3, it is possible to list
C++ source files in srcs list with .c++ extension.
--
Change-Id: I96a5d5a051967dccdf497c4aca4d1d3b1b03bd52
Reviewed-on: https://bazel-review.googlesource.com/#/c/1720/
MOS_MIGRATED_REVID=99039539
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99036450
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99032618
|
|
|
|
|
|
|
| |
Also, remove cfg to non-label attributes.
--
MOS_MIGRATED_REVID=99031167
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99025960
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99024886
|
|
|
|
|
|
|
|
|
| |
Some progress towards #311.
--
Change-Id: I9276519d4a97d358b7c4f4e34a861522d75dd495
Reviewed-on: https://bazel-review.googlesource.com/#/c/1710
MOS_MIGRATED_REVID=99019961
|
|
|
|
|
|
|
|
|
| |
Change CcLibrary to work both with and without declared outputs.
This fixed #61 - header-only libraries now compile on MacOS.
--
MOS_MIGRATED_REVID=99007746
|