Chalid
Black Dragon
It lays all open in the SDK ... 
Here is the list. There are many Units slipped in in between.
If a building does not fit into one of those BUILDINGFOCUSESSES it is considerd at the very end of the line. Thats why some custom buildings are built very seldom by the AI.
<condition>: <BuildingType>, <maxNumberofTurns>
No culture: BUILDINGFOCUS_CULTURE, 30
Danger: BUILDINGFOCUS_DEFENSE, 20
Production>=4: BUILDINGFOCUS_PRODUCTION, 30
No War:
Maintenance>8: BUILDINGFOCUS_MAINTENANCE, 40
Angry People: BUILDINGFOCUS_HAPPY, 40
Unhealthiness: BUILDINGFOCUS_HEALTHY, 40
Surplus Food<2: BUILDINGFOCUS_FOOD, 60
Maintenance>6: BUILDINGFOCUS_MAINTENANCE, 60
OwnCultur <50%: BUILDINGFOCUS_CULTURE, 60
CanNotAssignSpecialits: BUILDINGFOCUS_SPECIALIST, 60
NoGold and Gold>12: BUILDINGFOCUS_GOLD, 40
Research>12: BUILDINGFOCUS_RESEARCH, 40
BaiscProduction>4: BUILDINGFOCUS_PRODUCTION, 80
GoodProductionCity: BUILDINGFOCUS_EXPERIENCE, 40
Any Building

Here is the list. There are many Units slipped in in between.
If a building does not fit into one of those BUILDINGFOCUSESSES it is considerd at the very end of the line. Thats why some custom buildings are built very seldom by the AI.
<condition>: <BuildingType>, <maxNumberofTurns>
No culture: BUILDINGFOCUS_CULTURE, 30
Danger: BUILDINGFOCUS_DEFENSE, 20
Production>=4: BUILDINGFOCUS_PRODUCTION, 30
No War:
Maintenance>8: BUILDINGFOCUS_MAINTENANCE, 40
Angry People: BUILDINGFOCUS_HAPPY, 40
Unhealthiness: BUILDINGFOCUS_HEALTHY, 40
Surplus Food<2: BUILDINGFOCUS_FOOD, 60
Maintenance>6: BUILDINGFOCUS_MAINTENANCE, 60
OwnCultur <50%: BUILDINGFOCUS_CULTURE, 60
CanNotAssignSpecialits: BUILDINGFOCUS_SPECIALIST, 60
NoGold and Gold>12: BUILDINGFOCUS_GOLD, 40
Research>12: BUILDINGFOCUS_RESEARCH, 40
BaiscProduction>4: BUILDINGFOCUS_PRODUCTION, 80
GoodProductionCity: BUILDINGFOCUS_EXPERIENCE, 40
Any Building