mirror of https://github.com/google/pebble
				
				
				
			
		
			
				
	
	
		
			19 lines
		
	
	
		
			594 B
		
	
	
	
		
			Python
		
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			594 B
		
	
	
	
		
			Python
		
	
	
	
| # Verify that _size define is generated for messages that have
 | |
| # includes from another directory.
 | |
| 
 | |
| Import('env')
 | |
| 
 | |
| incpath = env.Clone()
 | |
| incpath.Append(PROTOCPATH="#regression/issue_172/submessage")
 | |
| incpath.Append(CPPPATH="$BUILD/regression/issue_172/submessage")
 | |
| incpath.Append(CPPPATH="$BUILD/regression/issue_172/")
 | |
| incpath.NanopbProto('test')
 | |
| incpath.NanopbProto(['submessage/submessage', 'submessage/submessage.options'])
 | |
| 
 | |
| p = incpath.Program(["msg_size.c",
 | |
|                      "test.pb.c",
 | |
|                      "submessage/submessage.pb.c",
 | |
|                      '$COMMON/pb_common.o'])
 | |
| 
 | |
| 
 |