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 platform | 11 import platform |
12 import re | 12 import re |
13 import subprocess | 13 import subprocess |
14 import sys | 14 import sys |
15 | 15 |
16 | 16 |
17 # Directories that will be scanned by cpplint by the presubmit script. | 17 # Directories that will be scanned by cpplint by the presubmit script. |
18 CPPLINT_DIRS = [ | 18 CPPLINT_DIRS = [ |
19 'webrtc/audio', | 19 'webrtc/audio', |
20 'webrtc/call', | 20 'webrtc/call', |
21 'webrtc/common_video', | 21 'webrtc/common_video', |
22 'webrtc/examples', | 22 'webrtc/examples', |
23 'webrtc/modules/bitrate_controller', | 23 'webrtc/modules/bitrate_controller', |
| 24 'webrtc/modules/congestion_controller', |
24 'webrtc/modules/pacing', | 25 'webrtc/modules/pacing', |
25 'webrtc/modules/remote_bitrate_estimator', | 26 'webrtc/modules/remote_bitrate_estimator', |
26 'webrtc/modules/rtp_rtcp', | 27 'webrtc/modules/rtp_rtcp', |
27 'webrtc/modules/video_coding', | 28 'webrtc/modules/video_coding', |
28 'webrtc/modules/video_processing', | 29 'webrtc/modules/video_processing', |
29 'webrtc/sound', | 30 'webrtc/sound', |
30 'webrtc/tools', | 31 'webrtc/tools', |
31 'webrtc/video', | 32 'webrtc/video', |
32 ] | 33 ] |
33 | 34 |
34 # List of directories of "supported" native APIs. That means changes to headers | 35 # List of directories of "supported" native APIs. That means changes to headers |
35 # will be done in a compatible way following this scheme: | 36 # will be done in a compatible way following this scheme: |
36 # 1. Non-breaking changes are made. | 37 # 1. Non-breaking changes are made. |
37 # 2. The old APIs as marked as deprecated (with comments). | 38 # 2. The old APIs as marked as deprecated (with comments). |
38 # 3. Deprecation is announced to discuss-webrtc@googlegroups.com and | 39 # 3. Deprecation is announced to discuss-webrtc@googlegroups.com and |
39 # webrtc-users@google.com (internal list). | 40 # webrtc-users@google.com (internal list). |
40 # 4. (later) The deprecated APIs are removed. | 41 # 4. (later) The deprecated APIs are removed. |
41 # Directories marked as DEPRECATED should not be used. They're only present in | 42 # Directories marked as DEPRECATED should not be used. They're only present in |
42 # the list to support legacy downstream code. | 43 # the list to support legacy downstream code. |
43 NATIVE_API_DIRS = ( | 44 NATIVE_API_DIRS = ( |
44 'talk/app/webrtc', | 45 'talk/app/webrtc', |
45 'webrtc', | 46 'webrtc', |
46 'webrtc/base', # DEPRECATED. | 47 'webrtc/base', # DEPRECATED. |
47 'webrtc/common_audio/include', # DEPRECATED. | 48 'webrtc/common_audio/include', # DEPRECATED. |
48 'webrtc/modules/audio_coding/include', | 49 'webrtc/modules/audio_coding/include', |
49 'webrtc/modules/audio_conference_mixer/include', # DEPRECATED. | 50 'webrtc/modules/audio_conference_mixer/include', # DEPRECATED. |
50 'webrtc/modules/audio_device/include', | 51 'webrtc/modules/audio_device/include', |
51 'webrtc/modules/audio_processing/include', | 52 'webrtc/modules/audio_processing/include', |
52 'webrtc/modules/bitrate_controller/include', | 53 'webrtc/modules/bitrate_controller/include', |
| 54 'webrtc/modules/congestion_controller/include', |
53 'webrtc/modules/include', | 55 'webrtc/modules/include', |
54 'webrtc/modules/remote_bitrate_estimator/include', | 56 'webrtc/modules/remote_bitrate_estimator/include', |
55 'webrtc/modules/rtp_rtcp/include', | 57 'webrtc/modules/rtp_rtcp/include', |
56 'webrtc/modules/rtp_rtcp/source', # DEPRECATED. | 58 'webrtc/modules/rtp_rtcp/source', # DEPRECATED. |
57 'webrtc/modules/utility/include', | 59 'webrtc/modules/utility/include', |
58 'webrtc/modules/video_coding/codecs/h264/include', | 60 'webrtc/modules/video_coding/codecs/h264/include', |
59 'webrtc/modules/video_coding/codecs/i420/include', | 61 'webrtc/modules/video_coding/codecs/i420/include', |
60 'webrtc/modules/video_coding/codecs/vp8/include', | 62 'webrtc/modules/video_coding/codecs/vp8/include', |
61 'webrtc/modules/video_coding/codecs/vp9/include', | 63 'webrtc/modules/video_coding/codecs/vp9/include', |
62 'webrtc/modules/video_coding/include', | 64 'webrtc/modules/video_coding/include', |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 for builder in masters[master]: | 497 for builder in masters[master]: |
496 if 'presubmit' in builder: | 498 if 'presubmit' in builder: |
497 # Do not trigger presubmit builders, since they're likely to fail | 499 # Do not trigger presubmit builders, since they're likely to fail |
498 # (e.g. OWNERS checks before finished code review), and we're running | 500 # (e.g. OWNERS checks before finished code review), and we're running |
499 # local presubmit anyway. | 501 # local presubmit anyway. |
500 pass | 502 pass |
501 else: | 503 else: |
502 try_config[master][builder] = ['defaulttests'] | 504 try_config[master][builder] = ['defaulttests'] |
503 | 505 |
504 return try_config | 506 return try_config |
OLD | NEW |