parameters: (cl, change, output_api)
return_statement: return output_api.EnsureCQIncludeTrybotsAreAdded(
      cl,
      [
        'master.tryserver.chromium.linux:linux_chromium_rel_ng'
      ],
      'Automatically added layout test trybots to run tests on CQ.')
docstring: git cl upload will call this hook after the issue is created/modified.
  
    This hook adds extra try bots to the CL description in order to run layout
    tests in addition to CQ try bots.
docstring_summary: git cl upload will call this hook after the issue is created/modified.
docstring_tokens: git cl upload will call this hook after the issue is created / modified .
function: def PostUploadHook(cl, change, output_api):
    """git cl upload will call this hook after the issue is created/modified.
  
    This hook adds extra try bots to the CL description in order to run layout
    tests in addition to CQ try bots.
    """
    def is_api_cc(f):
      return 'api.cc' == os.path.split(f.LocalPath())[1]
    if not change.AffectedFiles(file_filter=is_api_cc):
      return []
    return output_api.EnsureCQIncludeTrybotsAreAdded(
      cl,
      [
        'master.tryserver.chromium.linux:linux_chromium_rel_ng'
      ],
      'Automatically added layout test trybots to run tests on CQ.')
function_tokens: def PostUploadHook ( cl , change , output_api ) : def is_api_cc ( f ) : return 'api.cc' == os . path . split ( f . LocalPath ( ) ) [ 1 ] if not change . AffectedFiles ( file_filter = is_api_cc ) : return [ ] return output_api . EnsureCQIncludeTrybotsAreAdded ( cl , [ 'master.tryserver.chromium.linux:linux_chromium_rel_ng' ] , 'Automatically added layout test trybots to run tests on CQ.' )