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.
		
		
		
		
			
				
					16 lines
				
				658 B
			
		
		
			
		
	
	
					16 lines
				
				658 B
			| 
											6 years ago
										 | Import('env', 'arch', 'common', 'messaging', 'gpucommon', 'visionipc', 'cereal')
 | ||
|  | 
 | ||
|  | src = ['ui.cc', 'paint.cc', '#phonelibs/nanovg/nanovg.c']
 | ||
|  | libs = [common, 'zmq', 'czmq', 'capnp', 'capnp_c', 'm', cereal, 'json', messaging, 'OpenCL', gpucommon, visionipc]
 | ||
|  | 
 | ||
|  | if arch == "aarch64":
 | ||
|  |   src += ['sound.cc', 'slplay.c']
 | ||
|  |   libs += ['EGL', 'GLESv3', 'gnustl_shared', 'log', 'utils', 'gui', 'hardware', 'ui', 'CB', 'gsl', 'adreno_utils', 'OpenSLES', 'cutils', 'uuid']
 | ||
|  | else:
 | ||
|  |   src += ['linux.cc']
 | ||
|  |   libs += ['EGL', 'pthread', 'X11-xcb', 'xcb', 'X11', 'glfw']
 | ||
|  |   
 | ||
|  | env.Program('_ui', src,
 | ||
|  |   LINKFLAGS=['-Wl,-rpath=/system/lib64,-rpath=/system/comma/usr/lib'],
 | ||
|  |   LIBS=libs)
 |