aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Replace getToolsRepository() with getToolsLabel(String labelValue) which ↵Gravatar Luis Fernando Pino Duque2016-02-09
| | | | | | | | | prepends the tools repository path to the given string and parses the result as a label. This is a cleaner way to access the tools repository label. -- MOS_MIGRATED_REVID=114105929
* Expose JavaRuleOutputJarsProvider to Skylark and utilize it in ide info aspect.Gravatar Dmitry Lomov2016-02-09
| | | | | -- MOS_MIGRATED_REVID=114104006
* Make The Build Faster: More explicit exception handling in the worker strategy.Gravatar Philipp Wollermann2016-02-09
| | | | | -- MOS_MIGRATED_REVID=114102899
* Merge LoadedPackageProvider.Bridge into LoadedPackageProvider.Gravatar Ulf Adams2016-02-09
| | | | | | | | This was the last implementation of the interface, so we don't really need the interface anymore. Also add a comment not to use this class. -- MOS_MIGRATED_REVID=114099495
* Fixed the inconsistency when using list as the value of output_groupsGravatar Yun Peng2016-02-09
| | | | | -- MOS_MIGRATED_REVID=114098483
* Add Hazelcast 3.5.4 to third_partyGravatar Philipp Wollermann2016-02-08
|
* Tiny refactoring: extract shared code between -k and -nok.Gravatar Ulf Adams2016-02-08
| | | | | -- MOS_MIGRATED_REVID=114086842
* Prepend Constants.TOOLS_REPOSITORY to implicit J2ObjC dependency labels.Gravatar Rumou Duan2016-02-07
| | | | | -- MOS_MIGRATED_REVID=113991707
* Mark //src/test/java/com/google/devtools/build/lib:shell_test as flaky.Gravatar David Chen2016-02-07
| | | | | | | Issue #248 -- MOS_MIGRATED_REVID=113990796
* WorkspaceASTFunction returns a list of ASTs so we can split the AST before ↵Gravatar Damien Martin-Guillerez2016-02-07
| | | | | | | | | load statements Issue #824 Step 2. -- MOS_MIGRATED_REVID=113986176
* Add an intermediate SkyFunction for resolving the external packageGravatar Damien Martin-Guillerez2016-02-07
| | | | | | | | | | | | | | The WORKSPACE file parsing needs to be separated into several parts to enable load of labels in the WORKSPACE file. This change adds an intermediate SkyFunction, ExternalPackageFunction, that requires all the WORKSPACE file part to be parsed to resolve //external: labels. Issue #824 Step 1. -- MOS_MIGRATED_REVID=113984026
* When building Groovy jars, read the list of classes from a file instead of ↵Gravatar Erik Kuefler2016-02-07
| | | | | | | | | | | | passing them on the command line. This helps avoid problems when the OS rejects the command line for getting too long, which is particularly likely on OS X. -- Change-Id: I84c7102f15b0162291664df4869f92232d010c8d Reviewed-on: https://bazel-review.googlesource.com/2820 MOS_MIGRATED_REVID=113982499
* The filegroup "path" attribute is only used to exposeGravatar Greg Estren2016-02-05
| | | | | | | | | | | FilegroupPathProvider, which no other Bazel logic uses. So undocument it to prevent confusion. Note the implementation logic still exists in FileGroup.java, so we don't want to remove the attribute outright. -- MOS_MIGRATED_REVID=113973569
* Fix ./compile.sh when no android support is presentGravatar Damien Martin-Guillerez2016-02-05
| | | | | | | | | Tested by merging and ./compile.sh with and without the ANDROID_* environment variables. Fixes #851. -- MOS_MIGRATED_REVID=113962923
* Rollback of commit a9b84575a32476a5faf991da22b44661d75c19b6.Gravatar Cal Peyser2016-02-05
| | | | | | | | | | | | | *** Reason for rollback *** Mutability violates the Action contract: this change breaks incremental builds. *** Original change description *** Propogate BAZEL_VERBOSE_FAILURES and BAZEL_SUBCOMMANDS to the execution environments of runtime tools. -- MOS_MIGRATED_REVID=113958481
* Remove --skyframe flag from the build command. It was a no-op and deprecated ↵Gravatar Googler2016-02-05
| | | | | | | | | for a long time. RELNOTES: The --skyframe flag is no longer available for the build command. -- MOS_MIGRATED_REVID=113947409
* Add Truth subject for ErrorInfo and improve one for EvaluationResult.Gravatar Janak Ramakrishnan2016-02-05
| | | | | -- MOS_MIGRATED_REVID=113911470
* Move ObjC compilation actions for J2ObjC-translated code from binary level ↵Gravatar Rumou Duan2016-02-05
| | | | | | | | | | | | to the edges (J2ObjcAspect and J2ObjcProtoAspect). RELNOTES[INC]: ObjC compile actions for J2ObjC-translated code now only has access to headers from the java deps of the associated original java rule. These compile actions no longer takes the compiler options specified in "copts" attribute on objc_binary/ios_test rules. J2ObjC dead code removal (enabled through flag "--j2objc_dead_code_removal") now happens *after* ObjC compilation. -- MOS_MIGRATED_REVID=113910545
* Use a clever hybrid approach for evaluating globs during package loading: ↵Gravatar Nathan Harmata2016-02-05
| | | | | | | | | | | | | | | | | first try to get a skyframe cache-hit; otherwise, fall back to legacy globbing. This gives us the best of both worlds: no extra skyframe restarts on glob-dep-misses, and much better incremental performance in the common case that a package's globs haven't changed. See the class-comment for PackageFunction.SkyframeHybridGlobber for a detailed description and explanation. This CL has no impact on semantics and is a strict performance win. Bazel users: Here's an example benchmark (does an incremental loading phase of a target T but forces all packages to be reloaded): nharmata@nharmata:~/bazel$ N=10; B="output/bazel"; T=//src/main/java/com/google/devtools/build/lib:bazel/BazelServer_deploy.jar; CMD="build --noanalyze $T"; $B clean &> /dev/null; P=base_workspace/tools/build_rules/prelude_bazel; rm $P; touch base_workspace/tools/build_rules/BUILD; $B $CMD &> /dev/null; time for i in $(seq 1 $N); do echo "#hi" >> $P; $B $CMD &> /dev/null; done For a very large internal Google target, this CL improves the benchmark performance by ~6%. A more targeted benchmark would be for loading a single package that has lots of expensive globs. For example, the time to incrementally load a single pathological Google-internal package was reduced by ~36%. Alternatives considered: Introduce skyframe native globbing, gated by flags for both globbing during preprocessing and globbing during regular BUILD file evaluation. The approach in this CL is superior performance-wise. -- MOS_MIGRATED_REVID=113899687
* Pass DEVELOPER_DIR to environment_plist.sh.Gravatar Peter Schmitt2016-02-05
| | | | | -- MOS_MIGRATED_REVID=113896378
* Move the Globber interface into its own file.Gravatar Nathan Harmata2016-02-05
| | | | | -- MOS_MIGRATED_REVID=113893917
* Make Skylark "license"-type attributes non-configurable.Gravatar Greg Estren2016-02-05
| | | | | | | | | Bazel has custom loading-phase logic checking "licenses" attributes. Without this change, that logic fails with a "licenses is potentially configurable" error. -- MOS_MIGRATED_REVID=113890489
* Enable ProguardLibrary's dependency set to be controlled by a calling rule.Gravatar Michael Staib2016-02-05
| | | | | | | This permits rules using ProguardLibrary to modify the attributes being read. -- MOS_MIGRATED_REVID=113876253
* Add jdeps support to AndroidStudioInfoAspect.Gravatar Googler2016-02-04
| | | | | | | This can be used for classpath reduction on the IDE side. -- MOS_MIGRATED_REVID=113861117
* Print truncation-specific error message when a server gives a too-short responseGravatar Kristina Chodorow2016-02-04
| | | | | | | Fixes #834. -- MOS_MIGRATED_REVID=113851710
* Don't request --extra-packages when there are no dependencies.Gravatar Googler2016-02-04
| | | | | -- MOS_MIGRATED_REVID=113850545
* Allow switching on header processing (parse_headers or preprocess_headers)Gravatar Manuel Klimek2016-02-04
| | | | | | | | | | | for targets in the transitive closure of a target that is built. Rollback of commit e01291a1a3d65cd706190c9bf0c8cfc585f38eb7. Added an additional test to check that the configuration value is actually effectively used. -- MOS_MIGRATED_REVID=113836105
* --Gravatar Googler2016-02-04
| | | | MOS_MIGRATED_REVID=113835948
* Use protoc-mingw on Windows.Gravatar Dmitry Lomov2016-02-04
| | | | | | | | | | Native protoc-windows.exe fails to support paths longer that 1024 characters. Needed for #276. -- MOS_MIGRATED_REVID=113834005
* Change text of python package hyphen errorGravatar Googler2016-02-04
| | | | | | | | This message change is intended to make it clearer that hyphens are not allowed anywhere in the path that forms a Python package name, and there's no way around it, except for moving the Python rules to a different directory. -- MOS_MIGRATED_REVID=113833071
* [d] Update D rules to DMD 2.070.0.Gravatar David Chen2016-02-04
| | | | | | | | | Fixes #830 RELNOTES: [d] Update to DMD 2.070.0 -- MOS_MIGRATED_REVID=113830766
* Fileset: introduce support for workspace-relative strip_prefix values.Gravatar Laszlo Csomor2016-02-04
| | | | | -- MOS_MIGRATED_REVID=113830075
* Add additional inputs as compilation prerequisites. Tools that buildGravatar Manuel Klimek2016-02-04
| | | | | | | | | | with --compilation_prerequisites_only do rely on all prerequisites being available. RELNOTES: Make C++ modules compatible with tools using --compilation_prerequisites_only -- MOS_MIGRATED_REVID=113829249
* Add support for downloading .tar.xz files to http_archive rules.Gravatar David Chen2016-02-04
| | | | | | | | | Fixes #845 RELNOTES: Add support for .tar.xz archives to http_archive rules. -- MOS_MIGRATED_REVID=113829042
* Fix configuration error handling for the interleaved case.Gravatar Ulf Adams2016-02-04
| | | | | | | | In the interleaved case, loading errors can occur during configuration creation and we need to correctly report such errors in that case. -- MOS_MIGRATED_REVID=113826273
* Updates the bazel appengine tutorial docs to match the updates to the ↵Gravatar Alex Humesky2016-02-04
| | | | | | | workspace file in the repo. -- MOS_MIGRATED_REVID=113822978
* [rust] Update Rust rules to Rust 1.6Gravatar David Chen2016-02-04
| | | | | | | RELNOTES: [rust] Update to Rust 1.6 -- MOS_MIGRATED_REVID=113822518
* Minor correction to HTML for workspace() docs.Gravatar David Chen2016-02-04
| | | | | -- MOS_MIGRATED_REVID=113822158
* Turbine tree prunerGravatar Liam Miller-Cushon2016-02-04
| | | | | | | | | Prunes AST nodes that are not required for header compilation: method bodies, class and instance initializers, and definitely non-constant field initializers. -- MOS_MIGRATED_REVID=113807661
* Turbine options parserGravatar Liam Miller-Cushon2016-02-04
| | | | | -- MOS_MIGRATED_REVID=113806383
* Rollback of commit 6c6629ec707d23fbdb582bcede1dd9c967a9357e.Gravatar Michajlo Matijkiw2016-02-04
| | | | | | | *** Reason for rollback *** -- MOS_MIGRATED_REVID=113802087
* Have GlobFunction make use of the assumption that the glob's package exists ↵Gravatar Nathan Harmata2016-02-04
| | | | | | | | | by having it not declare a dep on the PackageLookupValue for the package. This optimization means that a BUILD file edit doesn't (necessarily) invalidate all the globs in the package; the PackageLookupValue node would get change-pruned but we still pay the very small cost of invalidating unnecessarily. Also slightly improve variable naming in GlobFunctionTest. -- MOS_MIGRATED_REVID=113799936
* Now that rules find their tools via runfiles, remove unneeded dependencies ↵Gravatar Dave MacLachlan2016-02-04
| | | | | | | | | in rules/tests and move them into the build files. Fix up environment_plist so it works like the other scripts. -- MOS_MIGRATED_REVID=113799298
* Add shell example to bazel. Includes sh_binary, sh_library and sh_test.Gravatar Dave MacLachlan2016-02-04
| | | | | -- MOS_MIGRATED_REVID=113789897
* Get rid of some g3doc warnings.Gravatar Dave MacLachlan2016-02-04
| | | | | -- MOS_MIGRATED_REVID=113782855
* Add protoc-mingw.exe and related .dllsGravatar Dmitry Lomov2016-02-04
| | | | | | | | | Native protoc-windows.exe fails to support paths longer that 1024 characters. Needed for #276. RELNOTES: None.
* Add xz 1.5 JAR to third_party.Gravatar David Z. Chen2016-02-04
|
* Propagate BAZEL_SH from launcher to subprocess on Windows.Gravatar Dmitry Lomov2016-02-03
| | | | | | | | | | | This is the only variable we need to propagate to bootstrap Bazel. We might need to have a more principled approach for this, e.g. for MakeVariables. Needed for #276. -- MOS_MIGRATED_REVID=113777759
* Trim sha1 in generate_workspace.Gravatar Rohit Saboo2016-02-03
| | | | | | | | | | | | | | | | | | Sometimes, sha1 values in the generated maven rules contains newlines as shown in the example below, which breaks the build. maven_jar( name = "com_google_code_findbugs_jsr305", artifact = "com.google.code.findbugs:jsr305:1.3.9", sha1 = "40719ea6961c0cb6afaeb6a921eaa1f6afd4cfdf ", ) This change fixes that. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/843 MOS_MIGRATED_REVID=113776575
* Make xctest extension for test bundles that have xctest=true defined. (It ↵Gravatar Dave MacLachlan2016-02-03
| | | | | | | used to be .app) -- MOS_MIGRATED_REVID=113775781