Does the whole building get bonus depreciation?
No, the structure does not qualify, only eligible shorter-life parts such as 5-year and 15-year property.
Learn more: Read: Bonus depreciation · Watch: what is cost segregation? · Read: what is cost segregation?
Source: 26 U.S.C. 168
General information, not tax advice. Tax law changes, and the right answer for your return depends on your facts.