Generate the Chrome policy schema at compile time.

The schema describes the expected types of the known Chrome policies, so that
they can be properly loaded at runtime from the platform policy services.

The Chrome schema is represented by static structures that are generated at
compile time, so that no parsing is required at runtime. This is important
because the schema is always created to load the initial policy during startup.

Also updated the policy::internal:: schema structures to avoid unnecessary
relocations at load time.

BUG=270667
R=dconnelly@chromium.org, pastarmovj@chromium.org

Review URL: https://codereview.chromium.org/31273002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233595 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: a3eca3c61331c18c25c3c92c920f04e082f2d01e
4 files changed
tree: b9b7cbe885b1bcda1da7107a9a8d6f838cbad66c
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. ipc/
  6. mojo/
  7. testing/
  8. third_party/
  9. ui/