| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
'Turbine' compiles ijars from source, ignoring method bodies and relaxing error
checks for performance. We can then do normal compilation against those ijars
and move javac off the build's critical path.
--
MOS_MIGRATED_REVID=114919013
|
|
|
|
|
|
|
|
|
| |
This is in preparation for another change that will add a new helper script
to the tools/build_rules directory, and such script requires a BUILD rule
of its own.
--
MOS_MIGRATED_REVID=114898083
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The SkylarkRepositoryModule declare the `repository_rule` function
to Skylark to define new remote repository types (http://goo.gl/OZV3o0).
The work is delagated to the `SkylarkRepositoryFunction` by the
`RepositoryDelegatorFunction`. `SkylarkRepositoryContext` defines the
`ctx` object passed to the `repository_rule` implementation function.
This change also introduce a `SkylarkPath` and the necessary methods
in `SkylarkRepositoryContext` to showcase the creation of a
`local_repository` like repository.
Issue #893: step 3 of the roadmap http://goo.gl/OZV3o0.
--
MOS_MIGRATED_REVID=114895003
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114860576
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114855891
|
|
|
|
|
|
|
|
|
|
| |
I just went on a wild goose chase trying to figure out why `path` was returning the wrong thing when using the file in `runfiles`. It was all there in the documentation for `short_path`, but I was looking at the documentation for `path`.
I think adding this runfiles hint might have helped me, and I think clarifying the first sentence would have led me down the right track.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/919
MOS_MIGRATED_REVID=114850771
|
|
|
|
|
|
|
| |
Needed for #276.
--
MOS_MIGRATED_REVID=114838538
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
documented rules.
Currently, we are generating an empty page for the Protocol Buffer rules on
bazel.io because the rule definition exists but all the rules are set as
undocumented. In cases like these, the docgen should neither generate a page
nor any links for the rule family.
Fixes #882
--
MOS_MIGRATED_REVID=114834947
|
|
|
|
|
|
|
|
|
|
| |
attribute is set to true.
Fixes #918
RELNOTES: Genrules correctly work when used with bazel run.
--
MOS_MIGRATED_REVID=114803736
|
|
|
|
|
|
|
| |
I found this to be so common I think we should just provide it on the AspectParameters class.
--
MOS_MIGRATED_REVID=114803710
|
|
|
|
|
|
|
|
|
|
|
| |
org.apache.http.legacy jar that was added in android 23.
See https://groups.google.com/forum/#!topic/bazel-discuss/aokvvF2866c
RELNOTES: @androidsdk//:org_apache_http_legacy added for the legacy Apache classes for android sdk version 23 and above.
--
MOS_MIGRATED_REVID=114775780
|
|
|
|
|
|
|
| |
import objc frameworks.
--
MOS_MIGRATED_REVID=114761121
|
|
|
|
|
|
|
|
| |
Next step towards removing support for srcs-less
android_library rules with deps
--
MOS_MIGRATED_REVID=114755151
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114751682
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
include absolute paths in blaze IDE
artifacts
NEW: Fixed bazel java_test rules
Rollback of commit a4ba24e286b7e9a7a09e333d8eb64a8cf7e81895.
*** Reason for rollback ***
Rollforward, fixing bazel java_test rules
*** Original change description ***
Automated [] rollback of commit 500175fcfb37953f50cf0869df164902755807f2.
*** Reason for rollback ***
Breaks Bazel Build
http://ci.bazel.io/job/Bazel/JAVA_VERSION=1.7,PLATFORM_NAME=linux-x86_64/356/console
*** Original change description ***
Don't include absolute paths in blaze IDE artifacts
RELNOTES: Don't include absolute paths in blaze IDE artifacts
--
MOS_MIGRATED_REVID=114751236
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114736521
|
|
|
|
|
|
|
|
| |
This fixes a corner case that can only happen internally - in Bazel, this is
always a no-op.
--
MOS_MIGRATED_REVID=114730311
|
|
|
|
|
|
|
|
|
| |
Fixes #897
RELNOTES: Add support for .tar.bz2 archives to http_archive rules.
--
MOS_MIGRATED_REVID=114729580
|
|
|
|
|
|
|
| |
Fixes #879.
--
MOS_MIGRATED_REVID=114728312
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114697873
|
|
|
|
|
|
|
|
|
|
|
|
| |
This improved performance for a (somewhat artificial) test which runs
100 genrules each with 3000 inputs by 25% on my laptop (2x
hyperthreaded cores, SSD, ext4). Test code at
<https://gist.github.com/bsilver8192/10527a862ce16bb7f79a>.
--
Change-Id: I7a7aaccdfbe2925c7e962c0192924ef1cf80b33a
Reviewed-on: https://bazel-review.git.corp.google.com/#/c/2840/1..2
MOS_MIGRATED_REVID=114694334
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks Bazel Build
http://ci.bazel.io/job/Bazel/JAVA_VERSION=1.7,PLATFORM_NAME=linux-x86_64/356/console
*** Original change description ***
Don't include absolute paths in blaze IDE artifacts
RELNOTES: Don't include absolute paths in blaze IDE artifacts
--
MOS_MIGRATED_REVID=114682419
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114680762
|
|
|
|
|
|
|
|
| |
Fixes issue #866
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/869
MOS_MIGRATED_REVID=114680542
|
|
|
|
|
|
|
|
|
|
|
| |
This enable BlazeModule to specify extraneous Skylark modules. This
will be used by Skylark remote repositories to add them from the
BazelRepositoryModule.
Issue #893, step 2 of the roadmap of http://goo.gl/OZV3o0
--
MOS_MIGRATED_REVID=114677157
|
|
|
|
|
|
|
| |
This method is never used. Found while working on #893.
--
MOS_MIGRATED_REVID=114672682
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114569255
|
|
|
|
|
|
|
| |
callable method apple_host_system_env to return environment variables needed for various commands on apple hosts.
--
MOS_MIGRATED_REVID=114550659
|
|
|
|
|
|
|
| |
RELNOTES: Don't include absolute paths in blaze IDE artifacts
--
MOS_MIGRATED_REVID=114550121
|
|
|
|
|
|
|
|
| |
These flags are either the default now or ignored by j2objc,
so this is a clean-up CL.
--
MOS_MIGRATED_REVID=114539226
|
|
|
|
|
|
|
|
|
|
|
| |
Starting some cleanup on generate_ws.
RELNOTES[INC]: maven_jar no longer supports separate artifact_id, group_id, and
verison fields. This information should be provided in the artifact field,
instead.
--
MOS_MIGRATED_REVID=114538437
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114537166
|
|
|
|
|
|
|
| |
Needed for #276.
--
MOS_MIGRATED_REVID=114529775
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a load statements was present in a remote repository's WORKSPACE file,
the parsing of the WORKSPACE file to get the workspace name will break
the build because it tries to load the Skylark extension from the main
repository.
This change replace the parsing of the whole remote repository's WORKSPACE file
by a parsing of only it first chunk (before the first load statement). This
change also enforce that the workpace() function to be called only from the
top of the WORKSPACE file.
--
MOS_MIGRATED_REVID=114528640
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor the CommandEnvironment to no longer create a LoadingPhaseRunner
eagerly. Unfortunately, that means we can't reuse the TargetPatternEvaluator
either. Fortunately, the SkyframeTargetPatternEvaluator is a very lightweight
class, which only contains the offset as state, so we just create a new
instance whenever we need one.
On the plus side, the LoadingPhaseRunner API is now stateless, and the
QueryCommand no longer creates a unnecessary LoadingPhaseRunner instance.
--
MOS_MIGRATED_REVID=114519731
|
|
|
|
|
|
|
|
|
|
|
| |
- move constant to top of class
- extract a method to get the ijar FilesToRunProvider
- move some methods to JavaCompilationHelper that are only used from there
- inline derivedArtifact, which only had a single call site
- make the other derivedArtifact method private, since it's only used here
--
MOS_MIGRATED_REVID=114519285
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
new_local_repository which allows the build file to be specified by a string
directly in the rule rather than using a separate file. build_file and
build_file_content are both optional, but one or the other must be
specified.
RELNOTES: build_file_content attribute added to new_git_repository,
new_http_archive, and new_local_repository.
--
MOS_MIGRATED_REVID=114490435
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114488935
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114469301
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114464409
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Rolling forward with the restored logic to avoid stat calls on injected Metadata.
*** Original change description ***
Automated [] rollback of commit df03e10f6552566982399b8779fe7bc7a17d75dc.
--
MOS_MIGRATED_REVID=114447944
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114442565
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114441410
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114438050
|
|
|
|
| |
MOS_MIGRATED_REVID=114436999
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114434668
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=114434073
|
|
|
|
|
|
|
| |
RELNOTES: Allow overriding -gsplit-dwarf from copts.
--
MOS_MIGRATED_REVID=114432930
|
|
|
|
|
|
|
| |
Also added some features to Skylark aspect.
--
MOS_MIGRATED_REVID=114431594
|
|
|
|
|
|
|
| |
This makes it possible to compile //third_party/ijar with a bootstrapped Bazel on Windows in dslomov's tree.
--
MOS_MIGRATED_REVID=114428109
|