| 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/modules/video_processing', |
| 21 ] | 22 ] |
| 22 | 23 |
| 23 # List of directories of "supported" native APIs. That means changes to headers | 24 # List of directories of "supported" native APIs. That means changes to headers |
| 24 # will be done in a compatible way following this scheme: | 25 # will be done in a compatible way following this scheme: |
| 25 # 1. Non-breaking changes are made. | 26 # 1. Non-breaking changes are made. |
| 26 # 2. The old APIs as marked as deprecated (with comments). | 27 # 2. The old APIs as marked as deprecated (with comments). |
| 27 # 3. Deprecation is announced to discuss-webrtc@googlegroups.com and | 28 # 3. Deprecation is announced to discuss-webrtc@googlegroups.com and |
| 28 # webrtc-users@google.com (internal list). | 29 # webrtc-users@google.com (internal list). |
| 29 # 4. (later) The deprecated APIs are removed. | 30 # 4. (later) The deprecated APIs are removed. |
| 30 # Directories marked as DEPRECATED should not be used. They're only present in | 31 # Directories marked as DEPRECATED should not be used. They're only present in |
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 for builder in masters[master]: | 457 for builder in masters[master]: |
| 457 if 'presubmit' in builder: | 458 if 'presubmit' in builder: |
| 458 # Do not trigger presubmit builders, since they're likely to fail | 459 # Do not trigger presubmit builders, since they're likely to fail |
| 459 # (e.g. OWNERS checks before finished code review), and we're running | 460 # (e.g. OWNERS checks before finished code review), and we're running |
| 460 # local presubmit anyway. | 461 # local presubmit anyway. |
| 461 pass | 462 pass |
| 462 else: | 463 else: |
| 463 try_config[master][builder] = ['defaulttests'] | 464 try_config[master][builder] = ['defaulttests'] |
| 464 | 465 |
| 465 return try_config | 466 return try_config |
| OLD | NEW |