You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							23 lines
						
					
					
						
							661 B
						
					
					
				
			
		
		
	
	
							23 lines
						
					
					
						
							661 B
						
					
					
				| Import('env', 'arch', 'cereal', 'messaging', 'common', 'gpucommon', 'visionipc', 'USE_WEBCAM')
 | |
| 
 | |
| libs = ['m', 'pthread', common, 'jpeg', 'OpenCL', 'yuv', cereal, messaging, 'zmq', 'capnp', 'kj', visionipc, gpucommon]
 | |
| 
 | |
| cameras = []
 | |
| if arch == "larch64":
 | |
|   libs += ['atomic']
 | |
|   cameras = ['cameras/camera_qcom2.cc']
 | |
| 
 | |
|   env.Program('camerad', [
 | |
|       'main.cc',
 | |
|       'cameras/camera_common.cc',
 | |
|       'transforms/rgb_to_yuv.cc',
 | |
|       'imgproc/utils.cc',
 | |
|       cameras,
 | |
|     ], LIBS=libs)
 | |
| 
 | |
| if GetOption("test"):
 | |
|   env.Program('test/ae_gray_test', [
 | |
|       'test/ae_gray_test.cc',
 | |
|       'cameras/camera_common.cc',
 | |
|       'transforms/rgb_to_yuv.cc',
 | |
|     ], LIBS=libs)
 | |
| 
 |