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

Side by Side Diff: PRESUBMIT.py

Issue 2663063003: Enable cpplint and fix cpplint errors in webrtc/api (Closed)
Patch Set: Enable cpplint and fix cpplint errors in webrtc/api Created 3 years, 10 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/api/datachannelinterface.h » ('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/audio', 19 'webrtc/audio',
19 'webrtc/call', 20 'webrtc/call',
20 'webrtc/common_video', 21 'webrtc/common_video',
21 'webrtc/examples', 22 'webrtc/examples',
22 'webrtc/modules/audio_mixer', 23 'webrtc/modules/audio_mixer',
23 'webrtc/modules/bitrate_controller', 24 'webrtc/modules/bitrate_controller',
24 'webrtc/modules/congestion_controller', 25 'webrtc/modules/congestion_controller',
25 'webrtc/modules/pacing', 26 'webrtc/modules/pacing',
26 'webrtc/modules/remote_bitrate_estimator', 27 'webrtc/modules/remote_bitrate_estimator',
27 'webrtc/modules/rtp_rtcp', 28 'webrtc/modules/rtp_rtcp',
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 input_api, output_api)) 538 input_api, output_api))
538 results.extend(input_api.canned_checks.CheckChangeHasDescription( 539 results.extend(input_api.canned_checks.CheckChangeHasDescription(
539 input_api, output_api)) 540 input_api, output_api))
540 results.extend(_CheckChangeHasBugField(input_api, output_api)) 541 results.extend(_CheckChangeHasBugField(input_api, output_api))
541 results.extend(input_api.canned_checks.CheckChangeHasTestField( 542 results.extend(input_api.canned_checks.CheckChangeHasTestField(
542 input_api, output_api)) 543 input_api, output_api))
543 results.extend(input_api.canned_checks.CheckTreeIsOpen( 544 results.extend(input_api.canned_checks.CheckTreeIsOpen(
544 input_api, output_api, 545 input_api, output_api,
545 json_url='http://webrtc-status.appspot.com/current?format=json')) 546 json_url='http://webrtc-status.appspot.com/current?format=json'))
546 return results 547 return results
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/datachannelinterface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698