Explicitly register all core library methods.

For now, this code follows the same copy-pasted macro style of
the earlier code. This will need to be cleaned up across the
codebase in a follow on change.

bug: 26108002

(cherry picked from commit 09d3f41f4a3098ba355ee1e25a937d49e38b8fa8)

Change-Id: Ibe140017894908a39b0dcaf7858f62056ca4f0a3
7 files changed