Also, we have a gatekeeper called Google Play Services. In other words, even if you have a custom ROM, you need that all-encompassing framework to have nice things.
Clients may differ, but the cloud platform and the connector which enables all these "Android" things is closed source, and controlled by Google.