parameters: ()
docstring: Compare the flags with the checked in list.
docstring_summary: Compare the flags with the checked in list.
docstring_tokens: Compare the flags with the checked in list .
function: def main():
    """Compare the flags with the checked in list."""
    parser = argparse.ArgumentParser()
    diff_utils.AddCommandLineFlags(parser)
    parser.add_argument('--current-flags',
                        help='Path to flags to check against expectations.')
    options = parser.parse_args()
  
    flags = ParseFlags(options.current_flags)
    flags = MergeFlags(flags)
  
    msg = """
  This expectation file is meant to inform the build team about changes to
  flags used when building native libraries in chrome (most importantly any
  that relate to security). This is to ensure the flags are replicated when
  building native libraries outside of the repo. Please update the .expected
  files and a WATCHLIST entry will alert the build team to your change."""
    diff_utils.CheckExpectations('\n'.join(sorted(flags)),
                                 options,
                                 custom_msg=msg)
function_tokens: def main ( ) : parser = argparse . ArgumentParser ( ) diff_utils . AddCommandLineFlags ( parser ) parser . add_argument ( '--current-flags' , help = 'Path to flags to check against expectations.' ) options = parser . parse_args ( ) flags = ParseFlags ( options . current_flags ) flags = MergeFlags ( flags ) msg = """
  This expectation file is meant to inform the build team about changes to
  flags used when building native libraries in chrome (most importantly any
  that relate to security). This is to ensure the flags are replicated when
  building native libraries outside of the repo. Please update the .expected
  files and a WATCHLIST entry will alert the build team to your change.""" diff_utils . CheckExpectations ( '\n' . join ( sorted ( flags ) ) , options , custom_msg = msg )