aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build
Commit message (Collapse)AuthorAge
* Annotate every single rule with required configuration fragments.Gravatar Ulf Adams2015-08-10
| | | | | | | It's not locked down yet as Skylark rules can't declare required fragments. -- MOS_MIGRATED_REVID=100113647
* Add missing compile-time dep.Gravatar David Chen2015-08-07
| | | | | -- MOS_MIGRATED_REVID=100106965
* Stop checking package roots for incompatible changes after loading phase.Gravatar Marian Lobur2015-08-07
| | | | | | | Instead we can just recreate artifact in ArtifactFactory if source root has changed. Additional optimization is to save with Artifact's some unique id of build when they have been created. If the build is the same we should not check source root changes. -- MOS_MIGRATED_REVID=100104312
* Rephrase the ActionGraph in terms of the WalkableGraph. This should be more ↵Gravatar Eric Fellheimer2015-08-06
| | | | | | | efficient if we need to do many ActionGraph looups. -- MOS_MIGRATED_REVID=100060090
* Add custom repositories to the WORKSPACE fileGravatar Kristina Chodorow2015-08-06
| | | | | | | | If a non-Maven-Central repository was used to access an artifact, record that in the generated WORKSPACE file. -- MOS_MIGRATED_REVID=100058489
* Show build options on dashboardGravatar Kristina Chodorow2015-08-06
| | | | | | | getEffectiveOptions wasn't returning any of the options. -- MOS_MIGRATED_REVID=100041131
* Factor out import finding code.Gravatar Han-Wen Nienhuys2015-08-06
| | | | | -- MOS_MIGRATED_REVID=100038493
* Add output_dir option and improve repository handlingGravatar Kristina Chodorow2015-08-06
| | | | | | | | | | | I finally worked out how to get a simple test maven repository working, so added back integration testing. This removes the dependency on Aether and just uses the maven model lib to resolve dependencies, which seems to work better in the face of custom repositories. -- MOS_MIGRATED_REVID=100031414
* Feature configuration: add a field required_variables on flag_sets.Gravatar Manuel Klimek2015-08-06
| | | | | | | | | | | | | This allows to prevent expansion of flag sets based on whether build variables are available. If required_variables is not set, and a variable that is referenced in the flag_set's flags is not available, the build will fail. We need the new behavior when some input files (for example profile data in FDO enabled builds) are only available for a subset of the translation units of a given target. -- MOS_MIGRATED_REVID=100028996
* Remove dead codeGravatar Kristina Chodorow2015-08-06
| | | | | -- MOS_MIGRATED_REVID=100027280
* Allow the feature configuration to support structured build variables of nestedGravatar Manuel Klimek2015-08-06
| | | | | | | list type. -- MOS_MIGRATED_REVID=100024899
* Fixed a bug where the methods of Skylark dictionaries were not properly ↵Gravatar Florian Weikert2015-08-06
| | | | | | | recognized by hasattr() and dir() -- MOS_MIGRATED_REVID=100022797
* Refactor the missing fragment handling code to use a policy enum.Gravatar Ulf Adams2015-08-06
| | | | | | | | Flip the handling such that analysis failure is the default, rather than execution failure (fail action creation). -- MOS_MIGRATED_REVID=100020812
* Skylark: In addition to using ctx.configuration.fragment(CONF), the build ↵Gravatar Florian Weikert2015-08-06
| | | | | | | configuration can now be accessed via ctx.fragments.CONF where CONF is in {cpp, jvm, java}. -- MOS_MIGRATED_REVID=100016978
* Make DependencyResolver more explicit about the factGravatar Greg Estren2015-08-06
| | | | | | | that package groups' deps use the null configuration. -- MOS_MIGRATED_REVID=99965080
* Add threadpool injectability to invalidatorGravatar Mark Schaller2015-08-06
| | | | | -- MOS_MIGRATED_REVID=99961435
* Change return type of InMemoryNodeEntry#getReverseDeps to Collection<SkyKey>.Gravatar Janak Ramakrishnan2015-08-05
| | | | | -- MOS_MIGRATED_REVID=99943491
* Remove the Skylark data configuration accessor and the only repositoryGravatar Greg Estren2015-08-05
| | | | | | | | | | | use of that accessor. Data configuration access here complicates the first phase of dynamic configuration support. And the current use doesn't specifically need this configuration. We can always add support back in if there's demand. -- MOS_MIGRATED_REVID=99938987
* Removed BuildConfiguration.Fragment#getName() and #isSkylarkVisible().Gravatar Florian Weikert2015-08-05
| | | | | | | Instead, the SkylarkModule annotation is being used to identify fragments that are visible in Skylark. -- MOS_MIGRATED_REVID=99930512
* Hard disable C++ include scanning in Bazel (which wasn't supported anyway, ↵Gravatar Philipp Wollermann2015-08-05
| | | | | | | but due to the flag default value being true, some code behaved as if it was). -- MOS_MIGRATED_REVID=99913146
* Annotate AspectDefinition.attributeAspect @SafeVarargs to suppress warnings.Gravatar Ulf Adams2015-08-05
| | | | | -- MOS_MIGRATED_REVID=99904596
* Use pic mode for cc_fake_binary if pic actions are used for binaries.Gravatar Manuel Klimek2015-08-05
| | | | | | | | | | | | | | | | | | | | | To allow the commands in the cc_fake_binary to work with modules (which is a precondition to writing nocompile tests for modules), we need to create header modules in the same pic/nopic mode as the rest of the commandline indicates. There are two ways to resolve this problem: a) Make cc_fake_binary use the same pic mode as other binaries. b) Make sure fake compile actions get all their inputs in non-pic mode. This patch proposes solution a), as that makes sure cc_fake_binary is as close to the actual compilation going on as possible; for example, if we decide to always use pic in the future, this will simply work; additionally, we will currently get more test coverage through different compilation modes. RELNOTES: 'cc_fake_binary' uses the same pic/nopic mode as other binaries. -- MOS_MIGRATED_REVID=99902738
* Add '--experimental_allow_fastbuild_debug' which when set, adds ↵Gravatar Googler2015-08-05
| | | | | | | | | flag'-DDEBUG=1' to 'fastbuild' for objc. RELNOTES: Make '-DDEBUG=1' available for objc fastbuild via --experimental_allow_fastbuild_debug -- MOS_MIGRATED_REVID=99896083
* Log instead of crash report on failure in BlazeCommandEventHandlerGravatar Michajlo Matijkiw2015-08-05
| | | | | | | This isn't really a crash, so don't report a crash, just log locally and remotely. -- MOS_MIGRATED_REVID=99857034
* Implemented Python's dict() in SkylarkGravatar Florian Weikert2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99852261
* Create a parameter to GlobFunction to determine whether it should deal with ↵Gravatar Eric Fellheimer2015-08-04
| | | | | | | | | non-pattern sub-expressions via file stat or directory listing. There is an inherent incrementality tradeoff here: A directory listing should be independent of any file edits in the directory, but may be overly conservative if an unrelated file is added or removed. The file stat is overly conservative when the file is modified, since glob() cares only about existence vs. non-existence. -- MOS_MIGRATED_REVID=99838654
* Changes related to the order of Skylark dictionaries:Gravatar Florian Weikert2015-08-04
| | | | | | | | | - Objects of different types can now be compared. - Printer now prints dictionaries in a deterministic order, even when the keys have different types. - testEval() in EvaluationTestCases evaluates both expressions instead of comparing expression strings. Consequently, if a statement describes a collection, its order does no longer matter when doing the comparison. -- MOS_MIGRATED_REVID=99829458
* Description redacted.Gravatar Andrew Pellegrini2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99828091
* Add dylib as a C++ file typeGravatar Kristina Chodorow2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99823918
* Follow redirects in HTTP-based remote repositories.Gravatar Damien Martin-Guillerez2015-08-04
| | | | | | | | The content is checked for determinism using SHA-256 sum. Following redirection allows for using mirror based service. -- MOS_MIGRATED_REVID=99819904
* Add more configuration fragment annotations, and a runtime check.Gravatar Ulf Adams2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99819719
* Skylark, improve doc for Label.relativeGravatar Laurent Le Brun2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99813196
* Description redacted.Gravatar Laszlo Csomor2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99804135
* Crash in tests if anybody tries to log remotely. Remote logging usually ↵Gravatar Janak Ramakrishnan2015-08-04
| | | | | | | indicates an error, and tests shouldn't normally have such errors. -- MOS_MIGRATED_REVID=99789434
* Fixed bug where blaze run with the --color=no flag was still printing out in ↵Gravatar Shreya Bhattarai2015-08-04
| | | | | | | | | color when the build fails. Includes fix for problems causing the original slowdown to blaze query -- MOS_MIGRATED_REVID=99755414
* Modify BuildingState to allow for alternative implementations.Gravatar Janak Ramakrishnan2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99747336
* Rollback of commit da3cb806351e929becef19652c65d39efa61b9d9.Gravatar Googler2015-08-04
| | | | | | | | | | | | | *** Reason for rollback *** Breaking builds. [] *** Original change description *** RELNOTES: actoolzip, momczip and swiftstdlibtoolzip have all been made into bash scripts and have been renamed to actoolwrapper, momcwrapper and swiftstdlibtoolwrapper respectively. The old versions will be deleted in a later change. -- MOS_MIGRATED_REVID=99742398
* Add configuration fragment annotations to some cc_* rules.Gravatar Ulf Adams2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99720083
* Lazy evaluation of C & C++ sources in CcCommon.Gravatar Ulf Adams2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99718820
* Refactor CcBinary / CcCommon a bit.Gravatar Ulf Adams2015-08-04
| | | | | | | | | | Don't compute the linkopts in CcCommon unconditionally, only on demand. In order to only do this once, I had to pull out all calls to getLinkopts and move them up in the call hierarchy. This in turn resulted in some simplification and dead code removal in CcBinary. -- MOS_MIGRATED_REVID=99716999
* Implemented Python's str.title() in Skylark.Gravatar Florian Weikert2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99716226
* Split CcCommon handling of srcs filtering into a new class.Gravatar Ulf Adams2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99715964
* Fix the documentation for how skylark rule outputs substitution works.Gravatar Brian Silverman2015-08-04
| | | | | | | -- Change-Id: I46ad9d609af088e473ec478729a0b1c79cdf72f3 Reviewed-on: https://bazel-review.googlesource.com/#/c/1761 MOS_MIGRATED_REVID=99707451
* TemplateExpansionAction now consistently uses UTF-8 instead of mixing UTF-8 ↵Gravatar Florian Weikert2015-08-04
| | | | | | | with Latin-1 -- MOS_MIGRATED_REVID=99651466
* Remove stale comment.Gravatar Nathan Harmata2015-08-04
| | | | | | | RELNOTES: -- MOS_MIGRATED_REVID=99589366
* Send bug report on IOException in BlazeCommandEventHandler instead of ignoringGravatar Michajlo Matijkiw2015-08-04
| | | | | | | | Don't log the actual message in interest of not spamming logs, for now. We can use how common this is to determine if crashing is appropriate. -- MOS_MIGRATED_REVID=99587448
* Rollback of commit 2e7a5b47979b2679208a97a65df265be953eb595.Gravatar Han-Wen Nienhuys2015-08-04
| | | | | | | | | *** Reason for rollback *** Query performance regression. -- MOS_MIGRATED_REVID=99560234
* Remove all calls to AnalysisEnvironment.getDerivedArtifact() from the C++ ↵Gravatar Lukacs Berki2015-08-04
| | | | | | | | | | | | rules that can be removed. What is left: - The outputs of ExtractInclusionsAction. I think this action is shared between multiple rules that have the same generated file in srcs, so this call site is legitimate. - Creating the solib symlinks. This is not a shared action, but these need to be in the same directory so that the RPATH is not too long, so we must live with this for the time being. - FDO, which is beyond salvation. The artifacts under the FDO root don't really conform to the usual "only under the package directory" convention. -- MOS_MIGRATED_REVID=99551394
* Build a symlink tree for Android native library symlinks so that libraries ↵Gravatar Lukacs Berki2015-08-04
| | | | | | | | | from previous builds with a different CPU do not end up in the APK. Fixes #344. -- MOS_MIGRATED_REVID=99550457
* RELNOTES: actoolzip, momczip and swiftstdlibtoolzip have all been made into ↵Gravatar Googler2015-08-04
| | | | | | | bash scripts and have been renamed to actoolwrapper, momcwrapper and swiftstdlibtoolwrapper respectively. The old versions will be deleted in a later change. -- MOS_MIGRATED_REVID=99521906