How does android studio decide which assets to include in an apk?

I’m working on a project where I have two build variants, a chat app for LDS singles and a chat app for Christian singles. They’re the same app, just skinned with different colors and a different name. I want to make sure that the LDS apk doesn’t include assets from the christian apk and vice versa. My question is, is android studio smart enough to do this automatically or do I need to do something special to make it happen?

Source: Android Questions