a936f3019e
This CL embeds the sdk_nnbd/lib/_internal/allowed_experiments.json into the CFE and uses this to allow experiments enabled on a per library basis. The file is embedded through generated code to avoid reliance on access to the file itself. A presubmit check is also added to ensure that the json file and the generated code are in sync. This work is in preparation for https://github.com/dart-lang/sdk/issues/41538 Change-Id: Ic03c0fc69684d124c685f2fe6e80423a7e751530 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/149064 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Jens Johansen <jensj@google.com>