How do you know what game what libraries needs or maybe they are required on demand of they are not selected ?
Mostly experience and "Imports" written in logs. However, it may be hard to determine library set and things may change in newer versions.