aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java
Commit message (Collapse)AuthorAge
...
* Remove unused code for SYNOPSIS, ATTRIBUTE_DEFINITION, and ATTRIBUTE_SIGNATUREGravatar David Chen2016-02-22
| | | | | | | docgen variables. -- MOS_MIGRATED_REVID=115204049
* Move the static getHostJavabaseInputs variant to JavaHelper.Gravatar Ulf Adams2016-02-22
| | | | | -- MOS_MIGRATED_REVID=115201919
* Clean up unnecessary parameter.Gravatar Alex Humesky2016-02-22
| | | | | -- MOS_MIGRATED_REVID=115199657
* Rename all the internal proto_library Java-related attributes.Gravatar Ulf Adams2016-02-22
| | | | | | | | | This is part of our internal migration strategy for proto_library. Do not use the new constructors unless you know what you're doing. They will go away as soon as we have completed our internal migration. -- MOS_MIGRATED_REVID=115199181
* Update j2objc_library documentations.Gravatar Rumou Duan2016-02-22
| | | | | -- MOS_MIGRATED_REVID=115106353
* Get rid of duplicated strings for IosTest attributes because I'm always ↵Gravatar Dave MacLachlan2016-02-22
| | | | | | | | | paranoid of missing one when changing them, and it makes things so much easier when coding. R_FUTURE=schmitt,cparsons -- MOS_MIGRATED_REVID=115101461
* Expose ``build_file_path`` to Skylark rules.Gravatar Dmitry Lomov2016-02-22
| | | | | | | | Also adds neccessary support to Skylark implementation of IDE info aspect. -- MOS_MIGRATED_REVID=115084383
* Add implicit attribute used for coverage, even if coverage doesn't work yet.Gravatar Ulf Adams2016-02-22
| | | | | | | | | This reduces the differences between internal and external Bazel, and is a step towards open sourcing the coverage implementation, as well as towards cleaning up the Java rules. -- MOS_MIGRATED_REVID=115065323
* Allow async command invocations to set the "closeOutput" bit.Gravatar Eric Fellheimer2016-02-22
| | | | | -- MOS_MIGRATED_REVID=115063418
* Add the names of the mandatory inputs to the action key for actions that ↵Gravatar Lukacs Berki2016-02-22
| | | | | | | | | discover their inputs. This makes the case work where an extra input is added to an action, but it's still an action cache hit because the discovered inputs did not change, and thus the set of inputs action cache becomes stale. -- MOS_MIGRATED_REVID=115060976
* Add repository_ctx.which(str): returns the path of a commandGravatar Damien Martin-Guillerez2016-02-19
| | | | | | | | | This methods mimick the behavior of the `which` utility. Issue #893: Step 4 of http://goo.gl/OZV3o0. See http://goo.gl/fD4ZsY. -- MOS_MIGRATED_REVID=115050970
* Minor style fixes.Gravatar Googler2016-02-19
| | | | | -- MOS_MIGRATED_REVID=115033052
* No longer automatically set _GLIBCXX_DEBUG, _GLIBCXX_DEBUG_PEDANTIC, ↵Gravatar Cal Peyser2016-02-19
| | | | | | | _GLIBCPP_CONCEPT_CHECKS for debug objc builds. -- MOS_MIGRATED_REVID=115022288
* The test summary in the terminal no longer shows skipped tests as failed.Gravatar Florian Weikert2016-02-19
| | | | | -- MOS_MIGRATED_REVID=114998075
* Implement pop(), popitem() and setdefault() for dictGravatar Francois-Rene Rideau2016-02-19
| | | | | -- MOS_MIGRATED_REVID=114966513
* sandbox: Easier debugging of sandbox failures, when using both ↵Gravatar Yue Gan2016-02-19
| | | | | | | | | | | --verbose_failures and --sandbox_debug. RELNOTES: - When using both --verbose_failures and --sandbox_debug, Bazel prints instructions how to spawn a debugging shell inside the sandbox. - When namespace-sandbox is run with the -D (debug) flag and inside a terminal, it spawns a shell inside the sandbox to aid in debugging when the sandboxed command fails. -- MOS_MIGRATED_REVID=114953983
* Remove unused ASwB build artifactGravatar Googler2016-02-19
| | | | | | | RELNOTES:None. -- MOS_MIGRATED_REVID=114952244
* Windows: use default shell env for ijar execution, so that .dlls can be found.Gravatar Dmitry Lomov2016-02-18
| | | | | | | | | On Windows, ijar.exe needs msys-2.0.dll and zlib1.dll in PATH. Needed for #276. -- MOS_MIGRATED_REVID=114947735
* Initial support for Java header compilationGravatar Liam Miller-Cushon2016-02-18
| | | | | | | | | '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
* Turn //tools/build_rules into a package.Gravatar Julio Merino2016-02-17
| | | | | | | | | 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
* Introduce SkylarkRepositoryModuleGravatar Damien Martin-Guillerez2016-02-17
| | | | | | | | | | | | | | | | | 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
* Reinstate mutable maps, again.Gravatar Francois-Rene Rideau2016-02-17
| | | | | -- MOS_MIGRATED_REVID=114860576
* Move SHA-1 download out of the Rule (plain old data) classGravatar Kristina Chodorow2016-02-17
| | | | | -- MOS_MIGRATED_REVID=114855891
* Clarify documentation; use short_path, not path, in runfilesGravatar Dan Fabulich2016-02-17
| | | | | | | | | | 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
* Use absolute paths in ProcessBuilder invocations.Gravatar Dmitry Lomov2016-02-17
| | | | | | | Needed for #276. -- MOS_MIGRATED_REVID=114838538
* Do not generate documentation for rule family if it does not contain anyGravatar David Chen2016-02-17
| | | | | | | | | | | | | | 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
* Fixes genrules to work correctly with bazel run when the genrule's executableGravatar Alex Humesky2016-02-17
| | | | | | | | | | attribute is set to true. Fixes #918 RELNOTES: Genrules correctly work when used with bazel run. -- MOS_MIGRATED_REVID=114803736
* Add a method to get a single value from AspectParameters.Gravatar Carmi Grushko2016-02-17
| | | | | | | I found this to be so common I think we should just provide it on the AspectParameters class. -- MOS_MIGRATED_REVID=114803710
* Adds a java_import rule to the android sdk build file to provide the ↵Gravatar Alex Humesky2016-02-17
| | | | | | | | | | | 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
* Replace dummy.c with dummy.m to allow preprocessing of objc source code to ↵Gravatar Cal Peyser2016-02-17
| | | | | | | import objc frameworks. -- MOS_MIGRATED_REVID=114761121
* Build flag for srcs-less android_library with depsGravatar Googler2016-02-17
| | | | | | | | Next step towards removing support for srcs-less android_library rules with deps -- MOS_MIGRATED_REVID=114755151
* Include real type in type casting error message.Gravatar Tobias Werth2016-02-16
| | | | | -- MOS_MIGRATED_REVID=114751682
* 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
* Remove deprecated aggregation functions.Gravatar Han-Wen Nienhuys2016-02-16
| | | | | -- MOS_MIGRATED_REVID=114736521
* 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
* 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
* 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
* 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
* Use xcode-locator to locate DEVELOPER_DIR for standalone spawn strategy.Gravatar Chris Parsons2016-02-15
| | | | | -- MOS_MIGRATED_REVID=114569255
* 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
* Rollback of commit 60434dae746ed61f025fdfd0464993fa6a0ff1d2.Gravatar Cal Peyser2016-02-15
| | | | | -- MOS_MIGRATED_REVID=114537166