OLD | NEW |
1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import json | 9 import json |
10 import os | 10 import os |
11 import re | 11 import re |
12 import subprocess | 12 import subprocess |
13 import sys | 13 import sys |
14 | 14 |
15 | 15 |
16 # Files and directories that are *skipped* by cpplint in the presubmit script. | 16 # Files and directories that are *skipped* by cpplint in the presubmit script. |
17 CPPLINT_BLACKLIST = [ | 17 CPPLINT_BLACKLIST = [ |
18 'tools-webrtc', | 18 'tools-webrtc', |
19 'webrtc/api/video_codecs/video_decoder.h', | |
20 'webrtc/api/video_codecs/video_encoder.h', | |
21 'webrtc/base', | 19 'webrtc/base', |
22 'webrtc/examples/objc', | 20 'webrtc/examples/objc', |
23 'webrtc/media', | 21 'webrtc/media', |
24 'webrtc/modules/audio_coding', | 22 'webrtc/modules/audio_coding', |
25 'webrtc/modules/audio_conference_mixer', | 23 'webrtc/modules/audio_conference_mixer', |
26 'webrtc/modules/audio_device', | 24 'webrtc/modules/audio_device', |
27 'webrtc/modules/audio_processing', | 25 'webrtc/modules/audio_processing', |
28 'webrtc/modules/desktop_capture', | 26 'webrtc/modules/desktop_capture', |
29 'webrtc/modules/include/module_common_types.h', | 27 'webrtc/modules/include/module_common_types.h', |
30 'webrtc/modules/media_file', | 28 'webrtc/modules/media_file', |
31 'webrtc/modules/utility', | 29 'webrtc/modules/utility', |
32 'webrtc/modules/video_capture', | 30 'webrtc/modules/video_capture', |
33 'webrtc/p2p', | 31 'webrtc/p2p', |
34 'webrtc/pc', | 32 'webrtc/pc', |
35 'webrtc/sdk/android/src/jni', | 33 'webrtc/sdk/android/src/jni', |
36 'webrtc/sdk/objc', | 34 'webrtc/sdk/objc', |
37 'webrtc/system_wrappers', | 35 'webrtc/system_wrappers', |
38 'webrtc/test', | 36 'webrtc/test', |
39 'webrtc/voice_engine', | 37 'webrtc/voice_engine', |
40 'webrtc/call.h', | 38 'webrtc/call.h', |
41 'webrtc/common_types.h', | 39 'webrtc/common_types.h', |
42 'webrtc/common_types.cc', | 40 'webrtc/common_types.cc', |
| 41 'webrtc/video_decoder.h', |
| 42 'webrtc/video_encoder.h', |
43 'webrtc/video_send_stream.h', | 43 'webrtc/video_send_stream.h', |
44 ] | 44 ] |
45 | 45 |
46 # These filters will always be removed, even if the caller specifies a filter | 46 # These filters will always be removed, even if the caller specifies a filter |
47 # set, as they are problematic or broken in some way. | 47 # set, as they are problematic or broken in some way. |
48 # | 48 # |
49 # Justifications for each filter: | 49 # Justifications for each filter: |
50 # - build/c++11 : Rvalue ref checks are unreliable (false positives), | 50 # - build/c++11 : Rvalue ref checks are unreliable (false positives), |
51 # include file and feature blacklists are | 51 # include file and feature blacklists are |
52 # google3-specific. | 52 # google3-specific. |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 input_api, output_api)) | 575 input_api, output_api)) |
576 results.extend(input_api.canned_checks.CheckChangeHasDescription( | 576 results.extend(input_api.canned_checks.CheckChangeHasDescription( |
577 input_api, output_api)) | 577 input_api, output_api)) |
578 results.extend(_CheckChangeHasBugField(input_api, output_api)) | 578 results.extend(_CheckChangeHasBugField(input_api, output_api)) |
579 results.extend(input_api.canned_checks.CheckChangeHasTestField( | 579 results.extend(input_api.canned_checks.CheckChangeHasTestField( |
580 input_api, output_api)) | 580 input_api, output_api)) |
581 results.extend(input_api.canned_checks.CheckTreeIsOpen( | 581 results.extend(input_api.canned_checks.CheckTreeIsOpen( |
582 input_api, output_api, | 582 input_api, output_api, |
583 json_url='http://webrtc-status.appspot.com/current?format=json')) | 583 json_url='http://webrtc-status.appspot.com/current?format=json')) |
584 return results | 584 return results |
OLD | NEW |