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

Side by Side Diff: PRESUBMIT.py

Issue 1691463002: Move talk/session/media -> webrtc/pc (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Last rebase Created 4 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 | all.gyp » ('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
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 201
202 return result 202 return result
203 203
204 def _CheckNoRtcBaseDeps(input_api, gyp_files, output_api): 204 def _CheckNoRtcBaseDeps(input_api, gyp_files, output_api):
205 pattern = input_api.re.compile(r"base.gyp:rtc_base\s*'") 205 pattern = input_api.re.compile(r"base.gyp:rtc_base\s*'")
206 violating_files = [] 206 violating_files = []
207 for f in gyp_files: 207 for f in gyp_files:
208 gyp_exceptions = ( 208 gyp_exceptions = (
209 'base_tests.gyp', 209 'base_tests.gyp',
210 'desktop_capture.gypi', 210 'desktop_capture.gypi',
211 'libjingle.gyp',
212 'libjingle_tests.gyp',
213 'p2p.gyp', 211 'p2p.gyp',
214 'sound.gyp', 212 'sound.gyp',
215 'webrtc_test_common.gyp', 213 'webrtc_test_common.gyp',
216 'webrtc_tests.gypi', 214 'webrtc_tests.gypi',
217 ) 215 )
218 if f.LocalPath().endswith(gyp_exceptions): 216 if f.LocalPath().endswith(gyp_exceptions):
219 continue 217 continue
220 contents = input_api.ReadFile(f) 218 contents = input_api.ReadFile(f)
221 if pattern.search(contents): 219 if pattern.search(contents):
222 violating_files.append(f) 220 violating_files.append(f)
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 for builder in masters[master]: 495 for builder in masters[master]:
498 if 'presubmit' in builder: 496 if 'presubmit' in builder:
499 # Do not trigger presubmit builders, since they're likely to fail 497 # Do not trigger presubmit builders, since they're likely to fail
500 # (e.g. OWNERS checks before finished code review), and we're running 498 # (e.g. OWNERS checks before finished code review), and we're running
501 # local presubmit anyway. 499 # local presubmit anyway.
502 pass 500 pass
503 else: 501 else:
504 try_config[master][builder] = ['defaulttests'] 502 try_config[master][builder] = ['defaulttests']
505 503
506 return try_config 504 return try_config
OLDNEW
« no previous file with comments | « no previous file | all.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698