webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions | Variables
PRESUBMIT Namespace Reference

Functions

def CheckChangeOnUpload (input_api, output_api)
 
def CheckChangeOnCommit (input_api, output_api)
 
def GetDefaultTryConfigs (bots=None)
 
def GetPreferredTryMasters (project, change)
 
def CheckChange (input_api, output_api)
 
def GetPreferredTrySlaves ()
 
def CheckPatchFormatted (input_api, output_api)
 

Variables

list CPPLINT_DIRS
 
list BLACKLIST_LINT_FILTERS
 
tuple NATIVE_API_DIRS
 
tuple LEGACY_API_DIRS
 
tuple API_DIRS = NATIVE_API_DIRS[:] + LEGACY_API_DIRS[:]
 
string api_change_msg
 

Function Documentation

◆ CheckChange()

def PRESUBMIT.CheckChange (   input_api,
  output_api 
)
Checks the memcheck suppressions files for bad data.
Checks the TSan suppressions files for bad suppressions.

◆ CheckChangeOnCommit()

def PRESUBMIT.CheckChangeOnCommit (   input_api,
  output_api 
)

◆ CheckChangeOnUpload()

def PRESUBMIT.CheckChangeOnUpload (   input_api,
  output_api 
)

◆ CheckPatchFormatted()

def PRESUBMIT.CheckPatchFormatted (   input_api,
  output_api 
)

◆ GetDefaultTryConfigs()

def PRESUBMIT.GetDefaultTryConfigs (   bots = None)
Returns a list of ('bot', set(['tests']), optionally filtered by [bots].

For WebRTC purposes, we always return an empty list of tests, since we want
to run all tests by default on all our trybots.

◆ GetPreferredTryMasters()

def PRESUBMIT.GetPreferredTryMasters (   project,
  change 
)

◆ GetPreferredTrySlaves()

def PRESUBMIT.GetPreferredTrySlaves ( )

Variable Documentation

◆ api_change_msg

string PRESUBMIT.api_change_msg
Initial value:
1 = """
2 You seem to be changing native API header files. Please make sure that you:
3  1. Make compatible changes that don't break existing clients. Usually
4  this is done by keeping the existing method signatures unchanged.
5  2. Mark the old stuff as deprecated (see RTC_DEPRECATED macro).
6  3. Create a timeline and plan for when the deprecated stuff will be
7  removed. (The amount of time we give users to change their code
8  should be informed by how much work it is for them. If they just
9  need to replace one name with another or something equally
10  simple, 1-2 weeks might be good; if they need to do serious work,
11  up to 3 months may be called for.)
12  4. Update/inform existing downstream code owners to stop using the
13  deprecated stuff. (Send announcements to
14  discuss-webrtc@googlegroups.com and webrtc-users@google.com.)
15  5. Remove the deprecated stuff, once the agreed-upon amount of time
16  has passed.
17 Related files:
18 """

◆ API_DIRS

tuple PRESUBMIT.API_DIRS = NATIVE_API_DIRS[:] + LEGACY_API_DIRS[:]

◆ BLACKLIST_LINT_FILTERS

list PRESUBMIT.BLACKLIST_LINT_FILTERS
Initial value:
1 = [
2  '-build/c++11',
3  '-whitespace/operators',
4 ]

◆ CPPLINT_DIRS

list PRESUBMIT.CPPLINT_DIRS
Initial value:
1 = [
2  'webrtc/api',
3  'webrtc/audio',
4  'webrtc/call',
5  'webrtc/common_video',
6  'webrtc/examples',
7  'webrtc/modules/audio_mixer',
8  'webrtc/modules/bitrate_controller',
9  'webrtc/modules/congestion_controller',
10  'webrtc/modules/pacing',
11  'webrtc/modules/remote_bitrate_estimator',
12  'webrtc/modules/rtp_rtcp',
13  'webrtc/modules/video_coding',
14  'webrtc/modules/video_processing',
15  'webrtc/tools',
16  'webrtc/video',
17 ]

◆ LEGACY_API_DIRS

tuple PRESUBMIT.LEGACY_API_DIRS
Initial value:
1 = (
2  'webrtc/base',
3  'webrtc/common_audio/include',
4  'webrtc/modules/audio_coding/include',
5  'webrtc/modules/audio_conference_mixer/include',
6  'webrtc/modules/audio_processing/include',
7  'webrtc/modules/bitrate_controller/include',
8  'webrtc/modules/congestion_controller/include',
9  'webrtc/modules/include',
10  'webrtc/modules/remote_bitrate_estimator/include',
11  'webrtc/modules/rtp_rtcp/include',
12  'webrtc/modules/rtp_rtcp/source',
13  'webrtc/modules/utility/include',
14  'webrtc/modules/video_coding/codecs/h264/include',
15  'webrtc/modules/video_coding/codecs/i420/include',
16  'webrtc/modules/video_coding/codecs/vp8/include',
17  'webrtc/modules/video_coding/codecs/vp9/include',
18  'webrtc/modules/video_coding/include',
19  'webrtc/system_wrappers/include',
20  'webrtc/voice_engine/include',
21 )

◆ NATIVE_API_DIRS

tuple PRESUBMIT.NATIVE_API_DIRS
Initial value:
1 = (
2  'webrtc',
3  'webrtc/api',
4  'webrtc/media',
5  'webrtc/modules/audio_device/include',
6  'webrtc/pc',
7 )