Bug: 73965132

Clone this repo:
  1. 982e10c Add vendor_available and apex_available to libfruit. by A. Cody Schuffelen · 7 weeks ago master
  2. 541e47f Mark ab/7061308 as merged in stage. by Xin Li · 3 months ago
  3. 148eaca [LSC] Add LOCAL_LICENSE_KINDS to external/google-fruit am: d2effc70f0 by Bob Badour · 3 months ago
  4. d2effc7 [LSC] Add LOCAL_LICENSE_KINDS to external/google-fruit by Bob Badour · 3 months ago android-s-preview-1
  5. 58176bd Upgrade google-fruit to 70f7c06e305ad7c9e4e99b87672aaa1061d914d6 am: e6d1a91e25 am: e4f9003db0 by Haibo Huang · 5 months ago

Build Status Build status Coverity Scan Status CII Best Practices

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.