aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
...
* 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
* Actually export the dashboard README to the public repoGravatar Kristina Chodorow2015-08-05
| | | | | -- MOS_MIGRATED_REVID=99867246
* 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
* Don't run plugins on compilations with errors.Gravatar Liam Miller-Cushon2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99775681
* 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
* Make some improvements to GraphConcurrencyTest -- versions are sensible, and ↵Gravatar Janak Ramakrishnan2015-08-04
| | | | | | | | | we should now fail the test if there's an exception thrown in a worker thread that would cause a deadlock due to countdown latches not being mutated as expected. I don't know why the Mac Bazel tests are internally failing to build. Any ideas? I was very cargo-culty with the testutil library because I have no idea what's going on there with the duplicate packages. -- MOS_MIGRATED_REVID=99733410
* 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
* Add test methods to check BuildConfiguration and ConfiguredTarget equality ↵Gravatar Greg Estren2015-08-04
| | | | | | | | | | | | | | | checking that are compatible with upcoming dynamic configurations (https://docs.google.com/document/d/1uoU8t7loTOu6uyzez-ilhcYgEXg4xjViJu0aqrf69TY/edit#heading=h.xsc8wmorka3u). With today's configuration machinery, configuration equality means reference equality. With dynamic configurations, that won't necessarily be the case. This is primarily for two reasons: 1) Fragment-limited configurations means that a target's configuration only includes fragments needed by the target and its transitive closure. So if a java_library depends on a cc_library with the same configuration, the cc_library's instance won't contain the JavaConfiguration fragment. 2) The (upcoming) first pass of dynamic configurations uses old-style configurations for top-level targets, and dynamic configs for everything underneath. This can impact test calls that request a configured target both directly and as a dependency of another target. This distinction will eventually go away, but not yet. Configurations that share the same options and fragments will continue to be reference-equal because of Skyframe caching. -- MOS_MIGRATED_REVID=99610132
* Remove more static configuration transitions from tests, as prep work for Gravatar Greg Estren2015-08-04
| | | | | | | []. -- MOS_MIGRATED_REVID=99592972
* 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
* Add "warm" starting to mobile-install.Gravatar Googler2015-08-04
| | | | | | | | | | | | | | | | | | This introduces a new way to stop applications when deploying incremental changes that saves the current app state for the next run. This allows things like the back stack, and View/Fragment/Activity saved state to be restored when the app next launches, making it easier to quickly iterate on code changes. It adds a "--start" flag to mobile-install that replaces "--start_app". --start accepts an argument describing the mode: no, cold, or warm. "no" is now the equivalent of "--nostart_app", "cold" is the equivalent of "--start_app", and "warm" is the new start mode. Note that this is only useful with incremental installs, as Android clears out any previously saved state when an APK is replaced. -- MOS_MIGRATED_REVID=99508790
* Rollback of commit 6c2303c461478c6082a29b969e49ad5adb0029aa.Gravatar Andrew Pellegrini2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99505283
* Log timing for some actions that are known to be expensive sometimes.Gravatar Miguel Alcon Pinto2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99500204
* Fix ClassCastException.Gravatar Nathan Harmata2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99487015
* Minor cosmetic changes.Gravatar Lukacs Berki2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99486593
* Make range and enumerate functions available in BUILD files.Gravatar Laurent Le Brun2015-08-04
| | | | | | | It was previously allowed only in bzl files. -- MOS_MIGRATED_REVID=99484302
* Make OutputFileConfiguredTarget create artifacts that are consistent with ↵Gravatar Lukacs Berki2015-07-30
| | | | | | | | | RuleContext#internalCreateOutputArtifact(). Fixes #351. -- MOS_MIGRATED_REVID=99478770
* Make three logging statements fine instead of info, so they don't show up in ↵Gravatar Googler2015-07-30
| | | | | | | normal builds. -- MOS_MIGRATED_REVID=99474480
* Skylark: In addition to using ctx.configuration.fragment(CONF), the build ↵Gravatar Florian Weikert2015-07-30
| | | | | | | configuration can now be accessed via ctx.configuration.CONF where CONF is in {cpp, jvm, java}. -- MOS_MIGRATED_REVID=99470271
* Rollback of commit 6c7ef224d700c25f14581f2a290fbc01d5232011.Gravatar Han-Wen Nienhuys2015-07-30
| | | | | | | | | *** Reason for rollback *** Various targets in nightly broken. -- MOS_MIGRATED_REVID=99466859
* Remove calls to AnalysisEnvironment.getDerivedArtifact() from Objective C rules.Gravatar Lukacs Berki2015-07-30
| | | | | -- MOS_MIGRATED_REVID=99453475
* Remove vestigial references to 32-bit/64-bit binaries.Gravatar Janak Ramakrishnan2015-07-30
| | | | | -- MOS_MIGRATED_REVID=99411524
* Log time spent on invalidation, and the number of nodes visited.Gravatar Eric Fellheimer2015-07-30
| | | | | -- MOS_MIGRATED_REVID=99411089
* FilesetEntryValue now overrides .equals and .hashCode.Gravatar Laszlo Csomor2015-07-30
| | | | | | | | | This means Skyframe's change pruning can work more efficiently. Without the overridden implementations we'd compare equal FEVs as inequal and unnecessarily re-evaluate SkyKeys that we could have verified clean. -- MOS_MIGRATED_REVID=99397188