mirror of https://github.com/google/pebble
				
				
				
			
		
			
				
	
	
		
			26 lines
		
	
	
		
			912 B
		
	
	
	
		
			Python
		
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			912 B
		
	
	
	
		
			Python
		
	
	
	
from waftools.pebble_test import clar
 | 
						|
 | 
						|
def build(ctx):
 | 
						|
    clar(ctx,
 | 
						|
         sources_ant_glob = "src/fw/mfg/mfg_serials.c tests/fakes/fake_otp.c",
 | 
						|
         test_sources_ant_glob = "test_mfg_serials.c",
 | 
						|
         override_includes=['dummy_board', 'silk'])
 | 
						|
 | 
						|
    clar(ctx,
 | 
						|
         sources_ant_glob="src/fw/mfg/snowy/mfg_info.c",
 | 
						|
         test_sources_ant_glob="test_snowy_mfg_info.c",
 | 
						|
         override_includes=['dummy_board', 'snowy_mfg_board'],
 | 
						|
         platforms=['snowy'])
 | 
						|
 | 
						|
    clar(ctx,
 | 
						|
         sources_ant_glob="src/fw/mfg/spalding/mfg_info.c "
 | 
						|
                          "src/fw/mfg/spalding/boot_fpga.c "
 | 
						|
                          "src/fw/util/legacy_checksum.c "
 | 
						|
                          "src/fw/drivers/flash/flash_crc.c",
 | 
						|
         test_sources_ant_glob="test_spalding_mfg_info.c",
 | 
						|
         override_includes=['dummy_board', 'snowy_mfg_board'],
 | 
						|
         platforms=['spalding'])
 | 
						|
 | 
						|
# vim:filetype=python
 | 
						|
 |