The first cycle. Every app that's not Google's has their own team to develop apps for each platform. Google then only acts as the intermediary so that the user can access such app through Play Store. (This is EXACTLY why so many app devs have dropped support for BlackBerry phones or have come out and say outright they're not developing for Windows, like Instagram)