Adding compat calls for building with UB

Bug: 143965596
Test: Build and verify on ub branch that pip animation still works
Change-Id: I1da328e74403c3d834b41bc12f4c2fcf1f1c3afb
2 files changed