aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Add flag to turn off the resources attributeGravatar Googler2017-09-07
| | | | | | | | | The resources attribute is being deprecated. Add a flag to disable it so we can test impact locally and turn it off globally without waiting for a Bazel release. RELNOTES: none PiperOrigin-RevId: 167717822
* Simplify bazel-{,docker-}tests.jsonGravatar Damien Martin-Guillerez2017-09-07
| | | | | | | Remove optional variation and simplify node specifications. Change-Id: Ie0a137768312152d9c036a94e5214b419b3c12ce PiperOrigin-RevId: 167717139
* bootstrap.json: removed obsoleted TODOGravatar Damien Martin-Guillerez2017-09-07
| | | | | Change-Id: If2bf41a96cde21bb97017d4fa35f8f61111635a1 PiperOrigin-RevId: 167714075
* Add an xcode_config_alias rule instance under //tools/osx: .Gravatar lberki2017-09-07
| | | | | | | | Care is taken so that this is only present when building with Bazel at HEAD such that Bazel can still be built with its released version. RELNOTES: None. PiperOrigin-RevId: 167713922
* added buildozer command to strict deps fix messageGravatar Ittai Zeidman2017-09-07
| | | | | | | | | fixes #3285 kept the existing message in case someone is parsing this text Closes #3677. PiperOrigin-RevId: 167707934
* Returns repository does not exists when referring to a bind rule...Gravatar Damien Martin-Guillerez2017-09-07
| | | | | | | | | | | | | ...or any other non repository rule. Using a bind rule as the name of the repository was returning a strange error "could not find handler for bind rule" which was not useful, so was replaced by a crash. Fixes #3664 Change-Id: Id0711470e6a1ab9267e05eb273900b18d0a27d6b PiperOrigin-RevId: 167706825
* Fix windows crosstools after ↵Gravatar hlopko2017-09-06
| | | | | | | | | https://github.com/bazelbuild/bazel/commit/268c0bcbf79f9f3f72d95fa51af0f1b18c5ce29e Fixes #3693 RELNOTES: None. PiperOrigin-RevId: 167704700
* More BUILD file refactorings.Gravatar philwo2017-09-06
| | | | | | | | | Split collect, concurrent, vfs, windows into package-level BUILD files. Move clock classes out of "util", into their own Java package. Move CompactHashSet into its own Java package to break a dependency cycle. Give nestedset and inmemoryfs their own package-level BUILD files. PiperOrigin-RevId: 167702127
* Add java_common.build_ijar.Gravatar elenairina2017-09-06
| | | | PiperOrigin-RevId: 167699728
* Support warn/default strict deps in java_common.compile.Gravatar elenairina2017-09-06
| | | | | | Fixes #3626. PiperOrigin-RevId: 167687039
* Remove some left over bits of Java 7 supportGravatar Liam Miller-Cushon2017-09-06
| | | | Change-Id: Id63d774cf9f5ce0a33ffc926f4160831e78aeba2
* Update Bazel android tutorial to reflect more possible usages of ↵Gravatar dannark2017-09-06
| | | | | | | android_sdk_repository and android_ndk_repository without api_level. RELNOTES: None PiperOrigin-RevId: 167655738
* Remove debug outputGravatar Googler2017-09-06
| | | | | | | This was displayed to the user during the build, which could result in a lot of extra log data. RELNOTES: None. PiperOrigin-RevId: 167641446
* Move mobile-install intermediate artifacts from _dx to _mobile_install to betterGravatar ahumesky2017-09-06
| | | | | | | organize the output tree of android_binary. RELNOTES: None. PiperOrigin-RevId: 167630660
* fix for legacy jacoco instrumentation in interfaces behind flagGravatar kmb2017-09-06
| | | | | | RELNOTES: n/a PiperOrigin-RevId: 167619442
* Change xcode_config rule semantics to fit current usageGravatar cparsons2017-09-06
| | | | | | | | | | - require_defined_versions is deprecated and a no-op. A version must match existing defined versions if any exist - default label must be present in versions labels if any are defined - default label may not exist if no versions are defined - when --xcode_version is specified on the command line, it must match a defined version if any are defined. If none are defined, this flag is a no-op RELNOTES: None. PiperOrigin-RevId: 167616628
* Remove general list typeGravatar michajlo2017-09-06
| | | | | | AFAICT this is unused, remove before it becomes used. PiperOrigin-RevId: 167616353
* Fix crash when calling int(s, 0) where s doesn't specify the radixGravatar brandjon2017-09-06
| | | | | | | Also distinguish between unspecified base arg and base 10, so "int(True, 10)" is now an error. This is an incompatible change, albeit a small one. RELNOTES: None PiperOrigin-RevId: 167616143
* Skylint: add lint for uninitialized variablesGravatar fzaiser2017-09-06
| | | | | RELNOTES: none PiperOrigin-RevId: 167614625
* make local worker mode configurable for dexbuilderGravatar kmb2017-09-06
| | | | | | RELNOTES: none PiperOrigin-RevId: 167608048
* Update LocalRepositoryLookupFunction to also return the path of theGravatar John Cater2017-09-06
| | | | | | | | | repository. Part of #3553. Change-Id: Id8b4958844b2ad7b5ce4b2ea00a91b6b22acc025 PiperOrigin-RevId: 167589110
* Introduce unfiltered_compile_flags build variable, rename copts variable to ↵Gravatar hlopko2017-09-06
| | | | | | | | | | user_compile_flags Also add magic to a feature named 'unfiltered_compile_flags' so the flags expanded from it are not subject to nocopt filtering. RELNOTES: None. PiperOrigin-RevId: 167587189
* Make android_sdk_repository resilient to prerelease and malformed system imagesGravatar ajmichael2017-09-06
| | | | | | | Fixes https://github.com/bazelbuild/bazel/issues/3672 RELNOTES: None PiperOrigin-RevId: 167581302
* Expansion flags need some restraints.Gravatar ccalvarin2017-09-06
| | | | | | | | How expanding flags interact with other possible flag qualities is not defined. Should repeated values have effects multiple times and accumulate? This doesn't really make sense, expansion flags don't have values that would accumulate. For this reason, don't allow expansion options to have allowMultiple set to true. Likewise for other behaviors. PiperOrigin-RevId: 167580641
* Update the url for creating spec filesGravatar Tyler Rockwood2017-09-06
| | | | | | Closes #3640. PiperOrigin-RevId: 167578762
* Fix assorted ErrorProne warnings.Gravatar lberki2017-09-06
| | | | | RELNOTES: None. PiperOrigin-RevId: 167574104
* Change check for Android SDK in shell integration tests.Gravatar ajmichael2017-09-06
| | | | | | | | | | tools/android is no longer part of the SDK, they've switched to tools/bin/sdkmanager. Furthermore, on Windows it is tools/bin/sdkmanager.bat. Instead, just check if the sdk directory exists. RELNOTES: None PiperOrigin-RevId: 167573133
* IDE docs: Add more info and links to supported IDEs and editorsGravatar Steren2017-09-06
| | | | | | | | #3257 Closes #3627. PiperOrigin-RevId: 167571696
* Switch to new builtin cc proto rules for protobuf.Gravatar Andreas Bergmeier2017-09-06
| | | | | | | | | We no longer need to use the custom rules. Closes #3598. Change-Id: Ib746cb06836fc9de9b66e7600644bb02291d0891 PiperOrigin-RevId: 167568605
* Drop lower limit for RuleConfiguredTarget in object-counting test to account ↵Gravatar pcloudy2017-09-05
| | | | | | | | for Linux platforms. Fix discard_graph_edges_test.sh PiperOrigin-RevId: 167568133
* PolishingGravatar Jonathan Bluett-Duncan2017-09-05
| | | | | | | | This is a follow-on to https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/bazel-dev/Q2owiR-e86s/ugrVUhn7AwAJ to introduce more usages of Java 8 idioms and other "cleanups", with the intention of making the code base easier to maintain. Closes #3623. PiperOrigin-RevId: 167566256
* Fix whitespace issue in ProtoSourcesProvider documentationGravatar Eric Dobson2017-09-05
| | | | | | Closes #3673. PiperOrigin-RevId: 167558706
* Add closing paren to documentation on workspace rules.Gravatar Eric Dobson2017-09-05
| | | | | | | | | Also moves parenthetical remark to a completely different sentence, as it seemed off where it was. Closes #3657. PiperOrigin-RevId: 167558504
* Update documentation and fix typoGravatar fzaiser2017-09-05
| | | | | RELNOTES: PiperOrigin-RevId: 167554617
* Remove direct argument adding methods from SpawnAction.Builder.Gravatar tomlu2017-09-05
| | | | | | These are now unused. Users are expected to add command lines directly, using (say) CustomCommandLine. PiperOrigin-RevId: 167554157
* Now really rename all logger instances to "logger".Gravatar lberki2017-09-05
| | | | | | | Turns out, my previous search expression didn't find the ones that were not "final LOG" or "final log" and a surprising number of places were missing the "final" tag. RELNOTES: None. PiperOrigin-RevId: 167547507
* Update visibilities of targets in def_parserGravatar Yun Peng2017-09-05
| | | | Change-Id: Ie8b7dfe207f05f69fdd4499c38cb8baefa3d997f
* Def Parser: make it work with long path betterGravatar Yun Peng2017-09-05
| | | | | | | Previously, only arguments in parameter file are converted to long path. Now, we convert every path we use to long path. Change-Id: Iafff8b7a0f69f82cc9f8f9399b35528814eb7715
* Android,Windows: support long paths in toolingGravatar Laszlo Csomor2017-09-05
| | | | | | | | | | | | | | | | | | | aar_resources_extractor now supports long paths on Windows. If the script needs to extract a file from the AAR where the destination path is too long, the script will: 1. create a temporary junction under a short path, pointing to the destination directory (which has a long path) 2. extract the file under the junction 3. delete the junction and the temp directory See https://github.com/bazelbuild/bazel/issues/3659 Change-Id: Ie85665b360a6514afaac546aaec8869224fe9d06 PiperOrigin-RevId: 167545085
* Support direct classpaths in javac-turbineGravatar cushon2017-09-05
| | | | PiperOrigin-RevId: 167520688
* Rewrite all code to use the new Java 8 java.time classes.Gravatar Philipp Wollermann2017-09-05
| | | | | | | This removes our dependency on third_party/joda_time, which can be removed in the next commit. Change-Id: Ibda131d34d0abdc2d675db4bfbd2e99480c055ee PiperOrigin-RevId: 167515260
* Rename all logger instances to "logger" (instead "LOG" or "log").Gravatar lberki2017-09-05
| | | | | RELNOTES: None. PiperOrigin-RevId: 167505493
* Skylint: check the documentation of parameters in function docstringsGravatar fzaiser2017-09-04
| | | | | RELNOTES: none PiperOrigin-RevId: 167502103
* Make Make variables from genrule.toolchains override the usual synthetic ↵Gravatar lberki2017-09-04
| | | | | | | | | host JAVA/JAVABASE attributes. Also fix a few lint warnings and move a class so that it's closer to where it's actually used. RELNOTES: None. PiperOrigin-RevId: 167501208
* Skylint: add lint to check for unreachable statementsGravatar fzaiser2017-09-04
| | | | | RELNOTES: none PiperOrigin-RevId: 167501207
* skylark/syntax: Move flow statement check to the validation pass.Gravatar laurentlb2017-09-04
| | | | | | | Mutiple other cleanups in the parser, update code documentation. RELNOTES: None. PiperOrigin-RevId: 167501136
* Extract authandtls, buildeventservice, buildeventstream into package-level ↵Gravatar philwo2017-09-04
| | | | | | | | BUILD files. Replace all ":relative" labels with "//absolute:path" labels for easier search & replace. PiperOrigin-RevId: 167500985
* remote: fix remote_execution_test#timeout test for FreeBSD. Fixes #3680Gravatar Jakob Buchgraber2017-09-04
| | | | | Change-Id: I3bd594f538d81c7321e7a3c61175beb76cf326b2 PiperOrigin-RevId: 167499849
* Throws an ISE when a handler is not definedGravatar dmarting2017-09-04
| | | | | | | | | The only case this exception is thrown is when there is a bug in Bazel and we should surface the whole stacktrace. See #3664 PiperOrigin-RevId: 167492638
* Enable by default the flag incompatible_checked_arithmetic.Gravatar laurentlb2017-09-04
| | | | | | | RELNOTES[INC]: Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is an error. PiperOrigin-RevId: 167486707