mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-03 19:47:15 +00:00 
			
		
		
		
	benchmarks/Android.mk, tools/Android.mk: Fix android build error
Recently added tools / benckmarks have the same module name as existing tests. Android does not allow duplicate modules. This patch appends _benchmark and _tool to the module names used when building benckmarks and tools to prevent clashes with tests of the same name. Signed-off-by: Derek Morton <derek.j.morton@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
		
							parent
							
								
									995f2738ad
								
							
						
					
					
						commit
						1ae1d290bf
					
				@ -17,7 +17,7 @@ define add_benchmark
 | 
			
		||||
    # Excessive complaining for established cases. Rely on the Linux version warnings.
 | 
			
		||||
    LOCAL_CFLAGS += -Wno-sign-compare
 | 
			
		||||
 | 
			
		||||
    LOCAL_MODULE := $1
 | 
			
		||||
    LOCAL_MODULE := $1_benchmark
 | 
			
		||||
    LOCAL_MODULE_TAGS := optional
 | 
			
		||||
 | 
			
		||||
    LOCAL_STATIC_LIBRARIES := libintel_gpu_tools
 | 
			
		||||
 | 
			
		||||
@ -25,7 +25,7 @@ define add_tool
 | 
			
		||||
    LOCAL_C_INCLUDES = $(LOCAL_PATH)/../lib
 | 
			
		||||
    LOCAL_C_INCLUDES += ${ANDROID_BUILD_TOP}/external/PRIVATE/drm/include/drm
 | 
			
		||||
 | 
			
		||||
    LOCAL_MODULE := $1
 | 
			
		||||
    LOCAL_MODULE := $1_tool
 | 
			
		||||
    LOCAL_MODULE_TAGS := optional
 | 
			
		||||
 | 
			
		||||
    LOCAL_STATIC_LIBRARIES := libintel_gpu_tools
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user