commit | 1b13f367e02e2e90a59a7e6597bf47f64a1cf105 | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Wed Jul 15 02:45:00 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Jul 15 02:45:00 2020 +0000 |
tree | bf376c934810305368dd7865d16ae64b7a840fb2 | |
parent | c9fc02a5e1b7109a5b2e8fde197df3734d612276 [diff] | |
parent | 9682d513d66613bcd2efdb3d91efb64b3de53ecc [diff] |
Upgrade google-fruit to faa69229324e7b0393e2196b9fb919e5056dc675 am: 59888e7910 am: 9682d513d6 Original change: https://android-review.googlesource.com/c/platform/external/google-fruit/+/1360892 Change-Id: I02c5a1f2251359ad5acf65db32349aab6bf680f9
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.