Revert "Revert "ART: introduce PALette abstraction layer""

This reverts commit e6e01a0a00de80704ccb21c48d5d8bdee4470b77.

Bug:  122824298
Test: art/test/testrunner/run_build_test_target.py -j50 art-test-javac
Test: m out/target/common/obj/PACKAGING/hiddenapi-stub-flags.txt
Test: frameworks/rs/build_rs.py
Change-Id: If7b9ddca3daa80b75b3541abd283bf47d5b81118
32 files changed