convert build flags to textproto, initial pass

Bug: 328495189
Test: manual
Ignore-AOSP-First: Will manually sync to many branches
Change-Id: I7d29789711f01b82eb996d0c6ac7b42b7d38cadf
279 files changed