aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Roll forward of commit 500175fcfb37953f50cf0869df164902755807f2: Don't ↵Gravatar Googler2016-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Encapsulate file mapping in preparation for providing a Windows implementation.Gravatar Lukacs Berki2016-02-16
| | | | | | | Progress on #276. -- MOS_MIGRATED_REVID=114740700
* Remove deprecated aggregation functions.Gravatar Han-Wen Nienhuys2016-02-16
| | | | | -- MOS_MIGRATED_REVID=114736521
* bazel_go_example_test.sh: Inline BUILD.go-toolchainGravatar Damien Martin-Guillerez2016-02-16
| | | | | | | | | | | | | BUILD.go-toolchain was deleted as part of the base workspace removal and made bazel_go_example_test starts to fails because it was copying it. Recreating its content in the test corrects the test fixture. Fixes #905. -- MOS_MIGRATED_REVID=114732179
* Marking more jdk8 tests.Gravatar Damien Martin-Guillerez2016-02-16
| | | | | | | Fixes #881. -- MOS_MIGRATED_REVID=114731500
* Store IncludeResolver results, and legalize the files in .d file checking.Gravatar Ulf Adams2016-02-16
| | | | | | | | This fixes a corner case that can only happen internally - in Bazel, this is always a no-op. -- MOS_MIGRATED_REVID=114730311
* Add support for downloading .tar.bz2 files with http_archive rules.Gravatar David Chen2016-02-16
| | | | | | | | | Fixes #897 RELNOTES: Add support for .tar.bz2 archives to http_archive rules. -- MOS_MIGRATED_REVID=114729580
* Fixes NullPointerException in pkgcaches_test on ci.bazel.ioGravatar Damien Martin-Guillerez2016-02-16
| | | | | | | Fixes #879. -- MOS_MIGRATED_REVID=114728312
* Remove stray e.printStackTrace()Gravatar Dmitry Lomov2016-02-16
| | | | | -- MOS_MIGRATED_REVID=114697873
* Reduce the number of stat calls when setting up a sandboxGravatar Brian Silverman2016-02-16
| | | | | | | | | | | | 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
* Use hard links to create empty files.Gravatar Brian Silverman2016-02-16
| | | | | | | | | | | | | | | | This speeds up my test of running a bunch of genrules with 3000 inputs by 2x on XFS. It might speed up ext4 a bit, but it definitely doesn't make it slower. XFS and ext4 are about the same speed with this. Test at <https://gist.github.com/bsilver8192/10527a862ce16bb7f79a>. Refs #852 RELNOTES: Improved sandbox performance on XFS filesystems. -- Change-Id: Ifabc0442f9f919d50cb5fe80a6445890c6d7f03e Reviewed-on: https://bazel-review.googlesource.com/#/c/2890/1 MOS_MIGRATED_REVID=114693725
* On Windows, build ``bazel.exe`` instead of just ``bazel``.Gravatar Dmitry Lomov2016-02-16
| | | | | | | Needed for #276. -- MOS_MIGRATED_REVID=114693711
* installer: set permission of bazelrc to 0644Gravatar Damien Martin-Guillerez2016-02-16
| | | | | | | | | So that bazel can read it. Fixes #894. -- MOS_MIGRATED_REVID=114689351
* Rollback of commit 500175fcfb37953f50cf0869df164902755807f2.Gravatar Damien Martin-Guillerez2016-02-15
| | | | | | | | | | | | | | | | | *** 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
* Fix template help for Bazel installerGravatar Damien Martin-Guillerez2016-02-15
| | | | | | | Fixes #887. -- MOS_MIGRATED_REVID=114681512
* Delete unused bazel.rc file.Gravatar Lukacs Berki2016-02-15
| | | | | -- MOS_MIGRATED_REVID=114681356
* Replace a few more uses of the Constants.TOOLS_REPOSITORYGravatar Luis Fernando Pino Duque2016-02-15
| | | | | -- MOS_MIGRATED_REVID=114680762
* Fix the broken genrule example.Gravatar Dan Fabulich2016-02-15
| | | | | | | | Fixes issue #866 -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/869 MOS_MIGRATED_REVID=114680542
* Tutorial: change load statement to use the new syntax.Gravatar Damien Martin-Guillerez2016-02-15
| | | | | | | This the tutorial part of change for https://github.com/bazelbuild/examples/issues/10. -- MOS_MIGRATED_REVID=114677244
* Enable injection of Skylark modules through the RuleClassProviderGravatar Damien Martin-Guillerez2016-02-15
| | | | | | | | | | | 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
* Delete unused SkylarkModules.getNewEnvironment()Gravatar Damien Martin-Guillerez2016-02-15
| | | | | | | This method is never used. Found while working on #893. -- MOS_MIGRATED_REVID=114672682
* Fix default XML file generated by testsGravatar Damien Martin-Guillerez2016-02-15
| | | | | | | Fixes #888. -- MOS_MIGRATED_REVID=114671702
* Fixes third_party/BUILD to correctly refer to jimfs-1.1-rc1.jar, which is ↵Gravatar Alex Humesky2016-02-15
| | | | | | | required for scripts/setup-eclipse.sh -- MOS_MIGRATED_REVID=114629937
* Fixes scala workspace rules after the move to build_file_content.Gravatar Alex Humesky2016-02-15
| | | | | -- MOS_MIGRATED_REVID=114629930
* Updates the appengine_war() rule to include the transitive dependencies of ↵Gravatar Alex Humesky2016-02-15
| | | | | | | | | the input rules in the output war. Fixes #895 -- MOS_MIGRATED_REVID=114615465
* Use xcode-locator to locate DEVELOPER_DIR for standalone spawn strategy.Gravatar Chris Parsons2016-02-15
| | | | | -- MOS_MIGRATED_REVID=114569255
* Add scala tests to CIGravatar Oscar Boykin2016-02-15
| | | | | | | -- Change-Id: If286a9718e036d2bd555baf78600e9208ba5a990 Reviewed-on: https://github.com/bazelbuild/bazel/pull/872 MOS_MIGRATED_REVID=114563576
* Expose AppleConfiguration to skylark as fragment "apple", along with a ↵Gravatar Chris Parsons2016-02-15
| | | | | | | callable method apple_host_system_env to return environment variables needed for various commands on apple hosts. -- MOS_MIGRATED_REVID=114550659
* Don't include absolute paths in blaze IDE artifactsGravatar Googler2016-02-15
| | | | | | | RELNOTES: Don't include absolute paths in blaze IDE artifacts -- MOS_MIGRATED_REVID=114550121
* Removed obsolete flags from j2objc always_on flag set.Gravatar Googler2016-02-15
| | | | | | | | These flags are either the default now or ignored by j2objc, so this is a clean-up CL. -- MOS_MIGRATED_REVID=114539226
* Remove deprecated fieldsGravatar Kristina Chodorow2016-02-15
| | | | | | | | | | | 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
* Mark turbine test as JDK 8Gravatar Damien Martin-Guillerez2016-02-15
| | | | | | | | | This should unbreak our JDK 7 builds. Fixes #881. -- MOS_MIGRATED_REVID=114537482
* Rollback of commit 60434dae746ed61f025fdfd0464993fa6a0ff1d2.Gravatar Cal Peyser2016-02-15
| | | | | -- MOS_MIGRATED_REVID=114537166
* Windows: execute build-runfiles through shell.Gravatar Dmitry Lomov2016-02-12
| | | | | | | Needed for #276. -- MOS_MIGRATED_REVID=114529775
* Prevent load statements in remote repository's WORKSPACE file to breakGravatar Damien Martin-Guillerez2016-02-12
| | | | | | | | | | | | | | | 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
* Use build_file_content attribute of new_* repositories instead of build_file ↵Gravatar Damien Martin-Guillerez2016-02-12
| | | | | | | | | | | | in Skylark rules Loading those skylark rules where failing now they are in a remote repository because the build file could not be found. Fixes #883. -- MOS_MIGRATED_REVID=114528630
* Fix JDK tools extensions for Windows.Gravatar Dmitry Lomov2016-02-12
| | | | | | | Needed for #276. -- MOS_MIGRATED_REVID=114527619
* Add an experimental flag to enable the Skyframe-based loading phase runner.Gravatar Ulf Adams2016-02-12
| | | | | | | | | | | | | | 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
* Clean up BaseJavaCompilationHelper a bit.Gravatar Ulf Adams2016-02-12
| | | | | | | | | | | - 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
* Adds a build_file_content attribute to new_git_repository, new_http_archive, andGravatar Alex Humesky2016-02-12
| | | | | | | | | | | | | 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
* Make IntVersion package-private, since it isn't used outside of Skyframe core.Gravatar Janak Ramakrishnan2016-02-12
| | | | | -- MOS_MIGRATED_REVID=114488935
* Support MOSTLY_STATIC with --build_test_dwp.Gravatar Googler2016-02-11
| | | | | -- MOS_MIGRATED_REVID=114469301
* Style fix: rename some args which had unusual suffixesGravatar Chris Parsons2016-02-11
| | | | | -- MOS_MIGRATED_REVID=114464409
* Add integration test for AndroidResourceProcessingAction.Gravatar Andrew Pellegrini2016-02-11
| | | | | | | - Changed AndroidResourceProcessingAction to call shutdown() on the thread pool used by AOSP code instead of System.exit() to allow calling the action's main() from inside a test, while maintaining the dangling thread cleanup. -- MOS_MIGRATED_REVID=114459473
* Rollback of commit a0eefb52f529b73c6cb92f0a762853646ea2eae6.Gravatar Googler2016-02-11
| | | | | | | | | | | | | *** 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
* Rewrite the test to work with Bazel - avoid bash_version.Gravatar Ulf Adams2016-02-11
| | | | | | | | | | | Instead, we simply introduce an error after the rule - that means the package is in error, but the target still exists. I checked that this covers the same code path that I wanted to cover in the original change. Fixed #879. -- MOS_MIGRATED_REVID=114443076
* Remove a bunch of dead code and unnecessary object creation.Gravatar Ulf Adams2016-02-11
| | | | | -- MOS_MIGRATED_REVID=114442565
* Remove doc reference to deleted "obsolete" attribute.Gravatar Greg Estren2016-02-11
| | | | | -- MOS_MIGRATED_REVID=114441410
* Expose some information about Java compilation to Skylark.Gravatar Dmitry Lomov2016-02-11
| | | | | -- MOS_MIGRATED_REVID=114438050
* --Gravatar Cal Peyser2016-02-11
| | | | MOS_MIGRATED_REVID=114436999