Chinmay Garde fcc9e95f3c Add a dynamic services target with a variant for the embedder and dylib each
* The embedder depends on dynamic:embedder
* The dylib depends on dynamic:dylib
* The embedder calls OnLoad and OnUnload callbacks that setup and teardown the dylib environment
* The dylib contains a thin library that services OnLoad, OnUnload and OnInvoke so that vendors dont have to do it themselves (and potentially mess it up)
* The vendor only has to implement the `FlutterServicePerform` method that takes a fully scoped handle
* This patch is a WIP till we get a stable Flutter ABI. The stuff in mojo/public is *NOT* stable
2016-02-08 10:11:09 -08:00
..

Flutter Dynamic Services Loader

Third party service implementations are packaged as dylibs. Each dylib implementation needs to import just one file (dynamic_service_dylib.h) and implement FlutterServicePerform to provide the service implementation. In order to build the dylib, the build step needs the //sky/services/dynamic:dylib GN rule.