 33584f942c
			
		
	
	33584f942c
	
	
	
		
			
			The comma this allows is a very common variant of the license header (3:1 preferred over the no-comma variant in talk/). Also pacify pylint a bit, and correct a flagrantly incorrect header I happened to come across. BUG=2098,2133 R=henrike@webrtc.org, niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1866004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4396 4adac7df-926f-26a2-2b94-8c16560cd09d
		
			
				
	
	
		
			21 lines
		
	
	
		
			458 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			458 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Copyright 2010 Google Inc.
 | |
| # All Rights Reserved.
 | |
| # Author: thaloun@google.com (Tim Haloun)
 | |
| 
 | |
| """Noop tool that defines builder functions for non-default platforms to
 | |
|    avoid errors when scanning sconsscripts."""
 | |
| 
 | |
| import SCons.Builder
 | |
| 
 | |
| 
 | |
| def generate(env):
 | |
|   """SCons method."""
 | |
|   if not env.Bit('windows'):
 | |
|     builder = SCons.Builder.Builder(
 | |
|       action=''
 | |
|     )
 | |
|     env.Append(BUILDERS={'RES': builder, 'Grit': builder})
 | |
| 
 | |
| def exists(dummy):
 | |
|   return 1
 |