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', |
19 'webrtc/base', | 21 'webrtc/base', |
20 'webrtc/examples/objc', | 22 'webrtc/examples/objc', |
21 'webrtc/media', | 23 'webrtc/media', |
22 'webrtc/modules/audio_coding', | 24 'webrtc/modules/audio_coding', |
23 'webrtc/modules/audio_conference_mixer', | 25 'webrtc/modules/audio_conference_mixer', |
24 'webrtc/modules/audio_device', | 26 'webrtc/modules/audio_device', |
25 'webrtc/modules/audio_processing', | 27 'webrtc/modules/audio_processing', |
26 'webrtc/modules/desktop_capture', | 28 'webrtc/modules/desktop_capture', |
27 'webrtc/modules/include/module_common_types.h', | 29 'webrtc/modules/include/module_common_types.h', |
28 'webrtc/modules/media_file', | 30 'webrtc/modules/media_file', |
29 'webrtc/modules/utility', | 31 'webrtc/modules/utility', |
30 'webrtc/modules/video_capture', | 32 'webrtc/modules/video_capture', |
31 'webrtc/p2p', | 33 'webrtc/p2p', |
32 'webrtc/pc', | 34 'webrtc/pc', |
33 'webrtc/sdk/android/src/jni', | 35 'webrtc/sdk/android/src/jni', |
34 'webrtc/sdk/objc', | 36 'webrtc/sdk/objc', |
35 'webrtc/system_wrappers', | 37 'webrtc/system_wrappers', |
36 'webrtc/test', | 38 'webrtc/test', |
37 'webrtc/voice_engine', | 39 'webrtc/voice_engine', |
38 'webrtc/call.h', | 40 'webrtc/call.h', |
39 'webrtc/common_types.h', | 41 'webrtc/common_types.h', |
40 'webrtc/common_types.cc', | 42 '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 |