Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: PRESUBMIT.py

Issue 2683033004: Enable cpplint and fix cpplint errors in webrtc/*audio (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/audio/audio_transport_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # Directories that will be scanned by cpplint by the presubmit script. 16 # Directories that will be scanned by cpplint by the presubmit script.
17 CPPLINT_DIRS = [ 17 CPPLINT_DIRS = [
18 'webrtc/api', 18 'webrtc/api',
19 'webrtc/audio', 19 'webrtc/audio',
20 'webrtc/call', 20 'webrtc/call',
21 'webrtc/common_audio',
21 'webrtc/common_video', 22 'webrtc/common_video',
22 'webrtc/examples', 23 'webrtc/examples',
23 'webrtc/modules/audio_mixer', 24 'webrtc/modules/audio_mixer',
24 'webrtc/modules/bitrate_controller', 25 'webrtc/modules/bitrate_controller',
25 'webrtc/modules/congestion_controller', 26 'webrtc/modules/congestion_controller',
26 'webrtc/modules/pacing', 27 'webrtc/modules/pacing',
27 'webrtc/modules/remote_bitrate_estimator', 28 'webrtc/modules/remote_bitrate_estimator',
28 'webrtc/modules/rtp_rtcp', 29 'webrtc/modules/rtp_rtcp',
29 'webrtc/modules/video_coding', 30 'webrtc/modules/video_coding',
30 'webrtc/modules/video_processing', 31 'webrtc/modules/video_processing',
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 input_api, output_api)) 561 input_api, output_api))
561 results.extend(input_api.canned_checks.CheckChangeHasDescription( 562 results.extend(input_api.canned_checks.CheckChangeHasDescription(
562 input_api, output_api)) 563 input_api, output_api))
563 results.extend(_CheckChangeHasBugField(input_api, output_api)) 564 results.extend(_CheckChangeHasBugField(input_api, output_api))
564 results.extend(input_api.canned_checks.CheckChangeHasTestField( 565 results.extend(input_api.canned_checks.CheckChangeHasTestField(
565 input_api, output_api)) 566 input_api, output_api))
566 results.extend(input_api.canned_checks.CheckTreeIsOpen( 567 results.extend(input_api.canned_checks.CheckTreeIsOpen(
567 input_api, output_api, 568 input_api, output_api,
568 json_url='http://webrtc-status.appspot.com/current?format=json')) 569 json_url='http://webrtc-status.appspot.com/current?format=json'))
569 return results 570 return results
OLDNEW
« no previous file with comments | « no previous file | webrtc/audio/audio_transport_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698