commit | dc953bece52b53bac740d46d32c74be1a4cf1b7c | [log] [tgz] |
---|---|---|
author | A. Cody Schuffelen <schuffelen@google.com> | Fri Apr 30 04:23:24 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Apr 30 04:23:24 2021 +0000 |
tree | 61d841dc12f982b1afaf7956176f05df58a9d98c | |
parent | 06c8134d164a979096b7bb2479d41c0bd16048d1 [diff] | |
parent | 66f2ce22577b5a8f8dc1e9163aa2acc9d0280f49 [diff] |
Add vendor_available and apex_available to libfruit. am: 982e10c7fe am: f7bd8d3051 am: f77b79b5d6 am: 66f2ce2257 Original change: https://android-review.googlesource.com/c/platform/external/google-fruit/+/1651695 Change-Id: Ida509e6602bdd3012e0373d0c2b3faab84ad2c44
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.