commit | 05997b664546a08b2f16600af82822a96579f2c8 | [log] [tgz] |
---|---|---|
author | A. Cody Schuffelen <schuffelen@google.com> | Sat May 15 07:26:58 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat May 15 07:26:58 2021 +0000 |
tree | 61d841dc12f982b1afaf7956176f05df58a9d98c | |
parent | e54f44cd7a2d75818c5d04d64b819fe15e4273e9 [diff] | |
parent | 1be1c12621aaaf795b3f9bf0f25baea889d5a3c9 [diff] |
Add vendor_available and apex_available to libfruit. am: 982e10c7fe am: f7bd8d3051 am: f77b79b5d6 am: 66f2ce2257 am: be2bc9d2e6 am: 1be1c12621 Original change: https://android-review.googlesource.com/c/platform/external/google-fruit/+/1651695 Change-Id: If9185ba4c4be8fae61e1070a558ae8204cb654ad
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.