Platform-specific build variants?

I am building a simple mobile game and I ran into a problem: Google play games services on ios is being deprecated so I am thinking if could I make the project in a way that when building for ios it would ignore the google play stuff and use game center and when building for android unity would build the app with google play games?

OK so nevermind: the plugin is just ignored when not being used on the current build platform so all you have to do is just use simple #if UNITY_ANDROID and #if UNITY_IOS and everything works as expected.