aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Add rust_docs ruleGravatar David Chen2015-09-24
| | | | | | | | | | | | Additional updates to Rust rules: * Consolidate BUILD files for Rust distribution. * Prevent rust_binary from depending directly on cc_library. * Update Rust version to 1.3.0 RELNOTES: [rust] Add rust_docs rule for generating rustdoc. -- MOS_MIGRATED_REVID=103827592
* Add a main_dex_proguard_specs attribute to android_binary that lets users ↵Gravatar Lukacs Berki2015-09-24
| | | | | | | | | | | specify which classes should go into the main dex. This mode uses Proguard to determine the dependencies of these classes, which means that no error-prone manual listing required like in multidex="manual" mode. RELNOTES: android_binary now has a main_dex_proguard_specs attribute to specify which classes should be in the main dex. -- MOS_MIGRATED_REVID=103824119
* Move mock workspace configuration to AnalysisMock.Gravatar Dmitry Lomov2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103823555
* Make intra-package wildcards work for remote repositories and clean up ↵Gravatar Lukacs Berki2015-09-24
| | | | | | | | | target pattern parsing just a tiny little bit. This wounds #389 dealing 4d6 fire damage (recursive wildcards, e.g. /... and friends still don't work) -- MOS_MIGRATED_REVID=103822319
* Rollback of commit 53330510c6ea5cd6257b9981b44e52d15a9e01aa.Gravatar Googler2015-09-24
| | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks tests. *** Original change description *** Remove gen jar implicit output. This allows us to only create a jar for libraries that use annotation processing. It also increases our flexibility by reducing the visibility of these gen jars to an undocumented output group. -- MOS_MIGRATED_REVID=103800137
* Make TargetFormatter available for tests.Gravatar Janak Ramakrishnan2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103798663
* Improve performance of Sky query.Gravatar Miguel Alcon Pinto2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103793399
* Propagates cc_library linkopts attribute to dependent objc_libraries.Gravatar Googler2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103792157
* Remove gen jar implicit output.Gravatar Googler2015-09-24
| | | | | | | | | This allows us to only create a jar for libraries that use annotation processing. It also increases our flexibility by reducing the visibility of these gen jars to an undocumented output group. -- MOS_MIGRATED_REVID=103789186
* Fix attribute capitalizationGravatar Kristina Chodorow2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103785076
* Merge BazelIosTest and ExperimentalIosTest, deleting the former.Gravatar Chris Parsons2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103781890
* Remove both of equals/hashCode from classes in lib/packages where either ↵Gravatar Nathan Harmata2015-09-24
| | | | | | | | | only one of them was implemented (potentially incorrectly) or the class really intends to have reference equality. RELNOTES: -- MOS_MIGRATED_REVID=103778746
* Better syncing of Google vs. external constraint enforcement.Gravatar Greg Estren2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103768073
* Turns bitcode off for the time being to make the Xcode project output match ↵Gravatar Dave MacLachlan2015-09-24
| | | | | | | what is being produced by bazel build. -- MOS_MIGRATED_REVID=103763760
* Allow Skylark import lookup values to be computed inline in order to avoid ↵Gravatar Janak Ramakrishnan2015-09-24
| | | | | | | reifying them in the Skyframe graph. -- MOS_MIGRATED_REVID=103758591
* Remove LoadedPackageProvider.getLoadedPackage, which is unused.Gravatar Ulf Adams2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103755120
* Use a super-interface of PackageProvider where applicable.Gravatar Ulf Adams2015-09-24
| | | | | | | Also change some calls to getLoadedTarget to getTarget instead. -- MOS_MIGRATED_REVID=103755023
* Avoid LoadedPackageProvider in the PackageProviderForConfigs type hierarchy.Gravatar Ulf Adams2015-09-24
| | | | | | | | | | | | | | The PackageProviderForConfigurations is not a provider of loaded packages; it loads packages unconditionally, and is executed only within SkyFunction evaluation domains. I.e., the old type hierarchy made no sense. Also updated the documentation and renamed getLoadedTarget to getTarget. Note that getLoadedPackage was never called, so I removed it. This is in preparation for removing LoadedPackageProvider. -- MOS_MIGRATED_REVID=103754939
* Simplify LoadingPhaseRunner; avoid an unnecessary Set copy.Gravatar Ulf Adams2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103754837
* Remove gen jar info from JavaRuleOutputJarsProvider.Gravatar Googler2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103754313
* Pass the SkyframePackageManager to the cycle reporters, not LoadedPackageP.Gravatar Ulf Adams2015-09-24
| | | | | | | This is in preparation for removing LoadedPackageProvider. -- MOS_MIGRATED_REVID=103752960
* Rewrite TargetProviderEnvironment to use a PackageProvider.Gravatar Ulf Adams2015-09-24
| | | | | | | This is one step towards eliminating LoadedPackageProvider. -- MOS_MIGRATED_REVID=103752861
* Disable --treat_srcjars_as_srcs_for_strict_deps flagGravatar Liam Miller-Cushon2015-09-24
| | | | | | | | The default behaviour is now to count srcjars as sources. The flag will be removed after the next release. -- MOS_MIGRATED_REVID=103747858
* Move callUninterruptibly to a helper class in lib.concurrent.Gravatar Ulf Adams2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103747062
* Remove an unused method from LoadedPackageProvider.Gravatar Ulf Adams2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103746974
* Fix ApplicationManifest#generatedManifest bug that would set the package as ↵Gravatar Andrew Pellegrini2015-09-24
| | | | | | | 'null' if the rule was not under either the java or javatests trees. Uses AndroidCommon#getJavaPackage to ensure consistent behavior. -- MOS_MIGRATED_REVID=103746264
* [Docker] Prevent duplicate entries in a layerGravatar Damien Martin-Guillerez2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103745334
* Make gen jars output group transitive.Gravatar Googler2015-09-24
| | | | | | | Also add gen jar provider, which we'll need for ide support. -- MOS_MIGRATED_REVID=103744649
* Simplify a method signature that isn't used elsewhere anymore.Gravatar Ulf Adams2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103744520
* [Docker] Make all files added via the files attribute executable and read-onlyGravatar Damien Martin-Guillerez2015-09-24
| | | | | | | | | | | | Also adds a `mode` attribute to docker_build so you can specify the mode you prefer. RELNOTES: [docker] docker_build now set the permission to 0555 to files added to the layer, use `mode = "0644"` to use the legacy behavior. -- MOS_MIGRATED_REVID=103743458
* [Docker] Don't replace current uid/gid by root ids for tar filesGravatar Damien Martin-Guillerez2015-09-24
| | | | | | | | | | This was not making any sense since the uid/gid in tar files should be correct not like when importing a file from the exec root. Due to that behavior, the tests were broken when using sandboxing in Bazel. -- MOS_MIGRATED_REVID=103741843
* Doc: Clarify when to use output_to_genfiles.Gravatar Laurent Le Brun2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103741408
* Update doc for [new_]http_archive to mention tarballs.Gravatar Han-Wen Nienhuys2015-09-24
| | | | | | | -- Change-Id: Ib1270d1bbd549de96e7b82f8e674f6d67df8f450 Reviewed-on: https://bazel-review.googlesource.com/#/c/2020 MOS_MIGRATED_REVID=103740143
* Initial checkin of sass_binary support for bazelGravatar Derek Perez2015-09-24
| | | | | | | | | RELNOTES[NEW]: Support for build with libsass. -- Change-Id: I2a24212d9466e2e2a8b653027f1cc9579b4d4221 Reviewed-on: https://bazel-review.googlesource.com/#/c/1990/ MOS_MIGRATED_REVID=103740130
* Remove unused EventCollectionApparatus#customMask.Gravatar Han-Wen Nienhuys2015-09-24
| | | | | | | -- Change-Id: I84c08e8146bbfb2c8be069a650e9b3e5806f342d Reviewed-on: https://bazel-review.googlesource.com/#/c/2021 MOS_MIGRATED_REVID=103740102
* Make setup-intellij.sh work again.Gravatar Lukacs Berki2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103736505
* Update d_docs rule to take a dependency on a d_binary, a d_library or ↵Gravatar David Chen2015-09-24
| | | | | | | | | d_source_library. RELNOTES: [d] d_docs rules now depend on a d_binary, a d_library or d_source_library. -- MOS_MIGRATED_REVID=103736167
* [Docker] Take the package of the input as the data pathGravatar Damien Martin-Guillerez2015-09-24
| | | | | | | | | | | | By default all input files path are taken relatively to their declared package and no more relatively to the docker_build package. The old behavior can be restored by specifying `data_path = "."` as an attribute of the docker_build target. -- MOS_MIGRATED_REVID=103731161
* Do not fail when the test argument do not match any testGravatar Damien Martin-Guillerez2015-09-23
| | | | | | | | | Bazel test environment set -eu and when giving an argument to the test suite, the for loop matching for test to run was returning an error, resulting in the whole test to fails. -- MOS_MIGRATED_REVID=103727268
* Move ownership of SkyframeBuildView to SkyframeExecutor.Gravatar Ulf Adams2015-09-23
| | | | | | | | Also move ownership of ArtifactFactory to SkyframeBuildView; simplify the code. -- MOS_MIGRATED_REVID=103722228
* Allow custom Package serialization logic to be injected. Also fix incorrect ↵Gravatar Nathan Harmata2015-09-23
| | | | | | | comment in PackageSerializer. -- MOS_MIGRATED_REVID=103693274
* Don't shell escape parameters to a non-shell action (environment plist).Gravatar Peter Schmitt2015-09-23
| | | | | -- MOS_MIGRATED_REVID=103680953
* Make aspect resolver and dependencyFilter transient, as they are not ↵Gravatar Miguel Alcon Pinto2015-09-23
| | | | | | | serializable. -- MOS_MIGRATED_REVID=103678330
* Add Apache codec library as a dependencyGravatar Kristina Chodorow2015-09-23
| | | | | | | Fixes #474. -- MOS_MIGRATED_REVID=103668177
* Don't remove reverse deps until node is known to be changed. This helps ↵Gravatar Janak Ramakrishnan2015-09-23
| | | | | | | avoid mutating the deps of nodes that are still going to be deps after evaluation is finished. -- MOS_MIGRATED_REVID=103659429
* Add jar containing Base64 classGravatar Kristina Chodorow2015-09-22
| | | | Change-Id: I514b1352514e9e194232988722fb0a97253657c3
* Open source some skylark tests.Gravatar Han-Wen Nienhuys2015-09-22
| | | | | -- MOS_MIGRATED_REVID=103652672
* Refactor AndroidStudioInfoAspect.Gravatar Dmitry Lomov2015-09-22
| | | | | -- MOS_MIGRATED_REVID=103652138
* Disallow precompiled jars in sourcesGravatar Liam Miller-Cushon2015-09-22
| | | | | | | | Adds an option (--allow_precompiled_jars_in_srcs) to control whether precompiled jars can be used as sources of java and android rules. -- MOS_MIGRATED_REVID=103651409
* Stop AndroidResourceProcessingAction from creating a "_resources" folder in ↵Gravatar Andrew Pellegrini2015-09-22
| | | | | | | the source tree when invoked from ApplicationManifest and AndroidLibrary. -- MOS_MIGRATED_REVID=103648946