commit | bf07d7b8f5c0679d6b712e365df96c617e53c04f | [log] [tgz] |
---|---|---|
author | A. Cody Schuffelen <schuffelen@google.com> | Mon May 17 07:39:20 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon May 17 07:39:20 2021 +0000 |
tree | 61d841dc12f982b1afaf7956176f05df58a9d98c | |
parent | 05997b664546a08b2f16600af82822a96579f2c8 [diff] | |
parent | c8be4b29e2bb3bea73aa1ecbf0f3796f08090f0d [diff] |
Add vendor_available and apex_available to libfruit. am: 982e10c7fe am: f7bd8d3051 am: f77b79b5d6 am: 66f2ce2257 am: 7ef78c8ae2 am: c8be4b29e2 Original change: https://android-review.googlesource.com/c/platform/external/google-fruit/+/1651695 Change-Id: I47fa0c0978625cc2534ff76e4781e02483ebe0d0
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.