mirror of
				https://github.com/oplus-giulia-dev/android_hardware_oplus
				synced 2025-11-04 13:55:35 +08:00 
			
		
		
		
	This is required for devices that have "set custom flag to sensor" in stock android.hardware.sensors@2.0-service.multihal strings. Change-Id: I11b2c044be6baddf3772cfea5a2343494a21c6da
		
			
				
	
	
		
			42 lines
		
	
	
		
			913 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			913 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
//
 | 
						|
// Copyright (C) 2022-2024 The LineageOS Project
 | 
						|
//
 | 
						|
// SPDX-License-Identifier: Apache-2.0
 | 
						|
//
 | 
						|
 | 
						|
cc_library_shared {
 | 
						|
    name: "sensors.oplus",
 | 
						|
    defaults: ["hidl_defaults"],
 | 
						|
    srcs: [
 | 
						|
        "Sensor.cpp",
 | 
						|
        "SensorsSubHal.cpp",
 | 
						|
    ],
 | 
						|
    shared_libs: [
 | 
						|
        "android.hardware.sensors@1.0",
 | 
						|
        "android.hardware.sensors@2.0",
 | 
						|
        "android.hardware.sensors@2.0-ScopedWakelock",
 | 
						|
        "android.hardware.sensors@2.1",
 | 
						|
        "libcutils",
 | 
						|
        "libfmq",
 | 
						|
        "libhardware",
 | 
						|
        "libhidlbase",
 | 
						|
        "liblog",
 | 
						|
        "libpower",
 | 
						|
        "libutils",
 | 
						|
    ],
 | 
						|
    static_libs: [
 | 
						|
        "android.hardware.sensors@1.0-convert",
 | 
						|
        "android.hardware.sensors@2.X-multihal",
 | 
						|
    ],
 | 
						|
    cflags: [
 | 
						|
        "-DLOG_TAG=\"sensors.oplus\"",
 | 
						|
    ],
 | 
						|
    vendor: true,
 | 
						|
}
 | 
						|
 | 
						|
cc_library_shared {
 | 
						|
    name: "sensors.ssc_custom_flag",
 | 
						|
    srcs: ["SensorsSscCustomFlag.cpp"],
 | 
						|
    vendor: true,
 | 
						|
}
 |