aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Introduce unfiltered_compile_flags build variable, rename copts variable to ↵Gravatar hlopko2017-09-11
| | | | | | | | | | | | | 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. This is encore of https://github.com/bazelbuild/bazel/commit/268c0bcbf79f9f3f72d95fa51af0f1b18c5ce29e that was rolled back because it regressed memory. RELNOTES: None. PiperOrigin-RevId: 167989075
* Fix style in CppModel.javaGravatar hlopko2017-09-11
| | | | | RELNOTES: None. PiperOrigin-RevId: 167986260
* Drop README.mdGravatar Damien Martin-Guillerez2017-09-11
| | | | | | | | This file was out of date and is not required The only requirements is too have LICENSE file next to each third_party dependency. Change-Id: I78081b6bfc6d0aa19603e9d3346c97d0bc494de7
* CI slow-tests: fix parameters for non dockerGravatar dmarting2017-09-08
| | | | | | | | | We were having 2 level of parameters, so we had a unused parameters called "parameters". Fixes #3704. PiperOrigin-RevId: 167982900
* CI slow-tests: Add '+' to enforce the tag presenceGravatar dmarting2017-09-08
| | | | | | | | So we do not execute more tests that needed. Issue #3704. PiperOrigin-RevId: 167976313
* CI: Add missing comma to the docker-slow-test configGravatar dmarting2017-09-08
| | | | | | Fixes #3703. PiperOrigin-RevId: 167973195
* Add a new toolchain type for c++. In order to do this, ↵Gravatar cpeyser2017-09-08
| | | | | | | | PlatformConfiguration is made a legal configuration fragment for every rule class. Add a default "dummy" c++ toolchain to prevent resolution errors when legacy toolchain selection logic is used. Add toolchain mocks to java and shell tests. PiperOrigin-RevId: 167901210
* We no longer assert preservation of order in a rule's required toolchains.Gravatar cpeyser2017-09-08
| | | | PiperOrigin-RevId: 167896210
* --incompatible_comprehension_variables_do_not_leak defaults to trueGravatar laurentlb2017-09-08
| | | | | | | | RELNOTES[INC]: --incompatible_comprehension_variables_do_not_leak defaults to "true." Iteration variable becomes inaccessible after a list/dict comprehension. PiperOrigin-RevId: 167876119
* Rule classes cannot request duplicate toolchains.Gravatar cpeyser2017-09-08
| | | | PiperOrigin-RevId: 167861778
* Fix debian-stretch testGravatar Damien Martin-Guillerez2017-09-08
| | | | | | | | | | It works locally, so let see if the problems where only some docker caching. Issue #2412 Change-Id: I8f0e00504d17ad1b66b188ba1413ad0df3d3d53d PiperOrigin-RevId: 167860071
* Make --experimental_android_use_nocompress_extensions_on_apk a no-op.Gravatar ajmichael2017-09-08
| | | | | | RELNOTES: android_binary.nocompress_extensions now applies to all files in the APK, not just resources and assets. PiperOrigin-RevId: 167859686
* Fix some links to query and user manualGravatar dmarting2017-09-08
| | | | PiperOrigin-RevId: 167859496
* Have intellij ignore docker tests.Gravatar John Cater2017-09-08
| | | | | Change-Id: Iabc89286a10dd4d3314f3480f87ac74b34aee969 PiperOrigin-RevId: 167855167
* Move bazel_determinism_test to bazel-slow-test jobGravatar Damien Martin-Guillerez2017-09-08
| | | | | | | | | Now every test labelled slow will be moved to that job. Issue bazelbuild/continuous-integration#98. Change-Id: I37baa0f4233201557493a8fac643e571026fcd93 PiperOrigin-RevId: 167854935
* Update gRPC dependency to 1.6.1Gravatar buchgr2017-09-08
| | | | | | https://github.com/bazelbuild/bazel/commit/8c8633610a948846244494e2e3dad91eb0536a58 PiperOrigin-RevId: 167853283
* Skylint: add main linter class and clean up BUILD filesGravatar fzaiser2017-09-08
| | | | | RELNOTES: none PiperOrigin-RevId: 167846717
* Move Subprocess.Factory to a top-level classGravatar ulfjack2017-09-08
| | | | | | | | | | | Also move the implementation of FutureCommandResult to a top-level class. This is in preparation for significantly simplifying the shell library. The plan is to remove the Subprocess abstraction, and have lower-level implementations implement the much simpler FutureCommandResult interface instead. PiperOrigin-RevId: 167844736
* AbstractAction: Use ActionInputFileCache instead of MetadataHandlerGravatar ulfjack2017-09-08
| | | | | | This is a prerequisite for merging the two interfaces. PiperOrigin-RevId: 167843789
* Add an option to disable --{host_,}javabase=<absolute path>.Gravatar lberki2017-09-08
| | | | | | | | | | | | | | | This is to help with the deprecation of said command line option; the alternative is java_runtime_suite(name="javabase", default=[":runtime"]) java_runtime(name="runtime", java_home=$(ABSOLUTE_JAVABASE)") then running Blaze with the command line options --javabase=<java_runtime_suite rule> --define=ABSOLUTE_JAVABASE=<path> RELNOTES: None. PiperOrigin-RevId: 167840565
* Create an empty filegroup if Bazel doesn't support xcode_config_alias yet.Gravatar lberki2017-09-08
| | | | | | | This is useful so that Skylark code that depends on this rule can decide if it's there or not (as opposed to failing due to a missing dependency) RELNOTES: None. PiperOrigin-RevId: 167839197
* third_party: Update grpc-java, netty and netty-tcnativeGravatar Jakob Buchgraber2017-09-07
| | | | | | | | | | | gRPC Java to 1.6.1 Netty to 4.1.14.Final Netty TCNative to 2.0.5.Final Introduce new dependency OpenCensus at version 0.5.1, which is a runtime dependency of gRPC. Change-Id: Ifc3eca855584ffa9db6b809b40f4bb3541a29449
* Automated rollback of commit 8328dc9e3b0d473756ec94508744afefe4d8eaf2.Gravatar pcloudy2017-09-07
| | | | | | | | | *** Reason for rollback *** Rollback since this change is based on https://github.com/bazelbuild/bazel/commit/268c0bcbf79f9f3f72d95fa51af0f1b18c5ce29e, which is rollbacked due to a performance reason RELNOTES: None. PiperOrigin-RevId: 167836715
* Fix parentheses in //src/test/docker:BUILDGravatar dmarting2017-09-07
| | | | | | This was resulting in all the test having no tag or having the manual tag so no test was executed on ci.bazel.io. PiperOrigin-RevId: 167831686
* Update ContainingPackageLookupFunction to properly handle cases where aGravatar John Cater2017-09-07
| | | | | | | | | | path crosses into a local repository and correctly report the repository-relative package. Fixes #3553. Change-Id: Ib912e69d546fb740ef8fe4c426dba30fa7776bda PiperOrigin-RevId: 167760229
* Shard further docker-tests and use tags for shardingGravatar Damien Martin-Guillerez2017-09-07
| | | | | | | | | | | | | | To select which test to run on bazel-docker-tests, use the docker and shard- tag intead of hard to read queries and shard based on the compilation mode. Also copy the file to bazel-slow-tests in prevision from renaming the job on CI. Issue bazelbuild/continuous-integration#98. Change-Id: Ie8e9a21c5a1ce93c9ecaa74cbb2734c150c7f592 PiperOrigin-RevId: 167752261
* Internal changeGravatar kush2017-09-07
| | | | PiperOrigin-RevId: 167751263
* Forbid duplicate keys in dictionary literalsGravatar laurentlb2017-09-07
| | | | | | | RELNOTES: When using the dictionary literal syntax, it is now an error to have duplicated keys (e.g. {'ab': 3, 'ab': 5}). PiperOrigin-RevId: 167750614
* Replace ad hoc wrapper classes with Equivalence.WrapperGravatar brandjon2017-09-07
| | | | | | | | | The tradeoff is that it eliminates a class but makes type signatures slightly more complicated. I think it's a net win because we avoid implementing equals/hashCode. I figured helper methods for wrapping/unwrapping were better than relying on the caller to know what Equivalence to use ("identity"). RELNOTES: None PiperOrigin-RevId: 167750079
* Support labels referencing external targets (with '@') in load with ↵Gravatar Kevin Gessner2017-09-07
| | | | | | | | --incompatible_load_argument_is_label enabled (fixes #3560) Closes #3562. PiperOrigin-RevId: 167745885
* incompatible_disallow_keyword_only_args now defaults to trueGravatar laurentlb2017-09-07
| | | | | | | | RELNOTES[INC]: Keyword-only syntax in a function definition is now forbidden e.g. `def foo(a, *, b)` or `def foo(a, *b, c)` PiperOrigin-RevId: 167741296
* Make proguard_apply_dictionary also add it to Proguard's ↵Gravatar Googler2017-09-07
| | | | | | | -classobfuscationdisctionry and -packageobfuscationdictionary arguments RELNOTES: Make proguard_apply_dictionary also apply to class and package obfuscation, not just class members. PiperOrigin-RevId: 167735831
* RuleContext instances obtained through BuildViewTestCase#getRuleContext have aGravatar cpeyser2017-09-07
| | | | | | ToolchainContext. PiperOrigin-RevId: 167729868
* Update PackageLookupFunction to report the corrected label when aGravatar John Cater2017-09-07
| | | | | | | | | package crosses into a local repository. Part of #3553. Change-Id: Ib21de0a1843e72055c53ef34922d69290aee72ed PiperOrigin-RevId: 167726591
* Remove the product name from ConfiguredRuleClassProvider.Gravatar jmmv2017-09-07
| | | | | | | | | | | | | The RuleClassProvider includes a copy of the product name, parameterized for both Blaze and Bazel. Apparently, this is exclusively there so that the standalone docgen binary can "magically" guess the product name. This is strange and adds additional complexity to the Bazel core codebase for no strong reason. Instead, just add a new flag to docgen that takes the product name and pass it in explicitly. RELNOTES: None. PiperOrigin-RevId: 167724033
* Update bazel-toolchains repo to use Bazel 0.5.4 toolchain configs.Gravatar xingao2017-09-07
| | | | PiperOrigin-RevId: 167720760
* 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