Use Profiling flag at build time

This change uses the flag to toggle the Profiling module in the platform
bootclasspath.

Bug: 293957254
Bug: 325523640
Test: Built locally on trunk_food (where flag is disabled) and
trunk_staging (where flag is enabled.)

Change-Id: Id386b2d57e78362e12bd6e4cb1f0bdb2dabe3ce6
1 file changed