aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main
Commit message (Collapse)AuthorAge
* 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
* 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
* Switch objc rules to standard coverage propagation using ↵Gravatar Peter Schmitt2015-09-22
| | | | | | | InstrumentedFilesCollector. -- MOS_MIGRATED_REVID=103642172
* Implement support for android_library and android_binary in ↵Gravatar Dmitry Lomov2015-09-22
| | | | | | | AndroidStudioInfoAspect. -- MOS_MIGRATED_REVID=103635637
* Heavily refactor ProfileCommand to separate output and statistics generation ↵Gravatar Klaas Boesche2015-09-22
| | | | | | | and enable their reuse -- MOS_MIGRATED_REVID=103634406
* Fixes ProGuard not working in a sandbox.Gravatar Philipp Wollermann2015-09-22
| | | | | -- MOS_MIGRATED_REVID=103632337
* Make TargetPatternResolver#{isPackage, getTargetsInPackage} take a ↵Gravatar Lukacs Berki2015-09-22
| | | | | | | | | PackageIdentifier instead of a String. This remarkably fiddly CL is a step towards making wildcards pattern work with remote repositories. I originally wanted to refactor findTargetsBeneathDirectory(), too, but it turns out that it's a much more complicated affair. -- MOS_MIGRATED_REVID=103622420
* Thread the repository name all the way from TargetPatternResolver to ↵Gravatar Lukacs Berki2015-09-22
| | | | | | | | | RecursivePkgFunction. This introduces some redundancy with RootedPath, but only in the case of remote repositories. There doesn't seem to be a good way of removing this redundancy. -- MOS_MIGRATED_REVID=103621610
* Batch SkylarkImportLookupValue calls instead of doing them serially. Also ↵Gravatar Janak Ramakrishnan2015-09-22
| | | | | | | throw errors more eagerly in SkylarkImportLookupFunction -- don't try to request deps if the ast is in error. -- MOS_MIGRATED_REVID=103607939
* Roll back using labels rather than PathFragments for skylark loads.Gravatar Michajlo Matijkiw2015-09-22
| | | | | | | RELNOTES: -- MOS_MIGRATED_REVID=103606693
* Changes dylibs from being part of the xcodeproject file references to being ↵Gravatar Dave MacLachlan2015-09-22
| | | | | | | | | | | arguments to OTHER_LDFLAGS. Command lines now use -l"name" to link libraries. This solves the problem that libraries in Xcode 7 now have .tbd files instead of dylibs in device builds and maintains backwards compatibility with Xcode 6. Also modifies Bazel Objclink action to pass in libraries as -l"name" arguments. RELNOTES:Adds support for dylibs on devices for Xcode 7. -- MOS_MIGRATED_REVID=103589448
* Add support for Maven username & password authenticationGravatar Kristina Chodorow2015-09-22
| | | | | | | | | | Progress on issue #264. RELNOTES: Maven servers that require username & password authentication are now supported (see maven_server documentation). -- MOS_MIGRATED_REVID=103583838
* Use Labels, rather than PathFragments, to represent Skylark loads ↵Gravatar John Field2015-09-22
| | | | | | | | | | | | | | | | | | | internally. This should be a semantics-preserving change for users. In a subsequent CL, I'll change the Skylark syntax to allow load statements to use labels as well as paths, with the goal of eventually deprecating the latter. Also: - Removed the hack for handling relative loads in the prelude file. - Refactored some redundant functionality in PackageFunction and SkylarkImportLookupFunction for handling loads. - Removed the ability to put the BUILD file for the package containing a Skylark file under a different package root than the Skylark file itself. This functionality isn't currently used and is inconsistent with Blaze's handling of the package path elsewhere. - Added BUILD files to a number of tests that load Skylark files; this is consistent with the requirement that all Skylark files need to be part of some package. - Changed the constants used to set the location of the prelude file from paths to labels. -- MOS_MIGRATED_REVID=103567562
* Clarify that the timeout values are configurable on the command-line.Gravatar Googler2015-09-22
| | | | | -- MOS_MIGRATED_REVID=103556315
* Add an option to remove a directory prefix when extracting an archiveGravatar Kristina Chodorow2015-09-22
| | | | | | | | | Fixes #221. RELNOTES: new_http_archive can specify a root directory. -- MOS_MIGRATED_REVID=103556111
* Hush Environment#toString()Gravatar Francois-Rene Rideau2015-09-22
| | | | | | | Don't print the contents of an Environment, it only confuses users. -- MOS_MIGRATED_REVID=103554964
* Use OS X compatible gcov with experimental_ios_test.Gravatar Peter Schmitt2015-09-21
| | | | | -- MOS_MIGRATED_REVID=103549584
* Serialize workspaceName.Gravatar Han-Wen Nienhuys2015-09-21
| | | | | -- MOS_MIGRATED_REVID=103547846
* Pass the BuildConfigurationCollection into the BuildView testing methods.Gravatar Ulf Adams2015-09-21
| | | | | -- MOS_MIGRATED_REVID=103544466
* workers: Put all tests in bazel_worker_test.sh. Add a testbed that makes it ↵Gravatar Philipp Wollermann2015-09-21
| | | | | | | easy to test details of how the worker strategy behaves in corner cases. -- MOS_MIGRATED_REVID=103541927
* workers: Make sure to wait for worker processes to exit so that they don't ↵Gravatar Philipp Wollermann2015-09-21
| | | | | | | become zombies. -- MOS_MIGRATED_REVID=103541217
* workers: Remove unneeded constructor.Gravatar Philipp Wollermann2015-09-21
| | | | | -- MOS_MIGRATED_REVID=103541148
* workers: Some tweaks to the WorkerPool config.Gravatar Philipp Wollermann2015-09-21
| | | | | -- MOS_MIGRATED_REVID=103541116
* Unify AndroidLibrary code paths.Gravatar Googler2015-09-21
| | | | | | | | | | There were 2-3 code paths taken depending on whether resources are defined or not. These contained a lot of duplication. This CL factors out the similarities. -- MOS_MIGRATED_REVID=103538550
* Enforce UTF-8 encoding in bootstrappingGravatar Damien Martin-Guillerez2015-09-21
| | | | | | | This is breaking our CI system. Also removed the UTF-8 quotes. -- MOS_MIGRATED_REVID=103534994
* Small cleanup: execPath is available locally.Gravatar Ulf Adams2015-09-21
| | | | | | | -- Change-Id: If84b34393b88bad345ddf76aab0b033e77016f94 Reviewed-on: https://github.com/bazelbuild/bazel/pull/466 MOS_MIGRATED_REVID=103530511
* Extract MountMap to a top-level class.Gravatar Ulf Adams2015-09-21
| | | | | | | -- Change-Id: I26cf10accaa6f62014c65f41637a36fbeab42b0a Reviewed-on: https://github.com/bazelbuild/bazel/pull/465 MOS_MIGRATED_REVID=103529462
* Remove html title handling from Chart, ChartCreators, and HtmlChartVisitor, ↵Gravatar Klaas Boesche2015-09-21
| | | | | | | handle in HtmlCreator -- MOS_MIGRATED_REVID=103528221
* Move Label from the lib.syntax to the lib.cmdline package so that:Gravatar Lukacs Berki2015-09-21
| | | | | | | | | | - Label parsing can be simplified - lib.syntax is only contains the code for Skylark and is reasonably independent from the problem domain of building things This change is mostly only changes to imports declarations. The rest is reversing the dependency between :cmdline and :syntax and moving a tiny amount of code between Printer and FilesetEntry and the addition of SkylarkPrintableValue that I couldn't be bothered to separate out into its own change. -- MOS_MIGRATED_REVID=103527877
* Add a "Google Play Services" target to android_sdk_repository that can be ↵Gravatar Lukacs Berki2015-09-21
| | | | | | | | | references as "//external:android/google_play_services". Note that android_sdk_repository itself works okay even if this package is not downloaded from the Android SDK package manager (of course, rules that depend on the missing code will fail to build) -- MOS_MIGRATED_REVID=103525330
* Make sure disabled FDO features are filtered out.Gravatar Googler2015-09-21
| | | | | | | Without this, the FDO features enabled under --fdo* blaze options are not removed when BUILD files contain "features = ['-fdo_instrument', '-fdo_optimize']". -- MOS_MIGRATED_REVID=103431508
* Mark root causes as transient. Serializing nested sets is annoying, and ↵Gravatar Janak Ramakrishnan2015-09-21
| | | | | | | since ErrorInfo doesn't override equality, there's no issue with preserving equality for now. -- MOS_MIGRATED_REVID=103414237
* Do not store a separate map for external package data. This ensures that ↵Gravatar Han-Wen Nienhuys2015-09-21
| | | | | | | | | serialization works correctly. Removes ExternalPackage as Package specialization. -- MOS_MIGRATED_REVID=103395682
* Enable j2objc_library proto aspect for Bazel. Note that the remote j2objc ↵Gravatar Michael Thvedt2015-09-21
| | | | | | | | | workspace hasn't been set up yet. RELNOTES: j2objc_library on Bazel now transpiles transitive proto_library dependencies. (Note that java_* rules in Bazel do not yet support protos; currently they ignore proto dependencies.) -- MOS_MIGRATED_REVID=103392720
* Remove unused copts attribute from j2objc_library.Gravatar Rumou Duan2015-09-21
| | | | | | | RELNOTES[INC]: Attribute "copts" is removed from j2objc_library. -- MOS_MIGRATED_REVID=103390200
* Tiny typo fixGravatar Mark Schaller2015-09-21
| | | | | -- MOS_MIGRATED_REVID=103387106
* Also change C++ to use the new split attribute lists.Gravatar Ulf Adams2015-09-21
| | | | | -- MOS_MIGRATED_REVID=103384782
* Add additional sources of test host to xctest targetsGravatar Chris Parsons2015-09-21
| | | | | | | Also improve test coverage for inclusion of dummy source file in xcode project targets -- MOS_MIGRATED_REVID=103384049
* Split the list of instrumentation attributes into two lists.Gravatar Ulf Adams2015-09-21
| | | | | | | | Rules that use the new style get sources collected also from rules that claim that they support coverage, even if they don't (like filegroup). -- MOS_MIGRATED_REVID=103381221
* Remove the last call to BuildView.getConfigurationCollection() and the method.Gravatar Ulf Adams2015-09-21
| | | | | -- MOS_MIGRATED_REVID=103380547
* Tighten up the requirements on workspace namesGravatar Kristina Chodorow2015-09-21
| | | | | | | | | | Fixes #462. RELNOTES: Workspace names are now restricted to being in their base directory (that is, the names cannot contain up-level references or /./). -- MOS_MIGRATED_REVID=103379893
* Partially revert change to collect baseline coverage from individual libraries.Gravatar Ulf Adams2015-09-21
| | | | | | | | | | | | | We still want to do that, but not like this. Our infrastructure supports per-target coverage, and so we also need to support per-target baseline coverage. I'm working on better documentation (not hard to be better than no docs), which will cover this. I left a couple of TODOs to explain how we want to do it in the future. -- MOS_MIGRATED_REVID=103379710