commit | 53a2ac8e722fda18eb3d7c467f6889486d498dae | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Fri Oct 09 03:27:37 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Oct 09 03:27:37 2020 +0000 |
tree | 196bf451ec7a656bcbaaeffce735fe19e5c7b66f | |
parent | c93bd61c66abb28f4242763556a6540ae020d955 [diff] | |
parent | 67fa9745e4a2525a79494acdfdd89754f6a47572 [diff] |
[automerger skipped] Skip ab/6749736 in stage. am: c235dc3daf -s ours am: 67fa9745e4 -s ours am skip reason: Change-Id I9fc11cc60636a062e089fdb8fc4817adac45cff5 with SHA-1 ee005fa5e8 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/google-fruit/+/12797063 Change-Id: Iced2e8283917873db6cc38caddc3a5b51ce1b6ba
Fruit is a dependency injection framework for C++, loosely inspired by the Guice framework for Java. It uses C++ metaprogramming together with some C++11 features to detect most injection problems at compile-time. It allows to split the implementation code in "components" (aka modules) that can be assembled to form other components. From a component with no requirements it's then possible to create an injector, that provides an instance of the interfaces exposed by the component.
See the wiki for more information, including installation instructions, tutorials and reference documentation.