Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-libsensors: Commit

hardware/libsensors


Commit MetaInfo

Révision5f44ebc76f60c2b5167fa5db7c5631d618ae73a7 (tree)
l'heure2018-04-11 17:11:31
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

Move libraries to /vendor

As part of Treble project in Android O, all the device specific files
have to be located in the vendor partition.

Change Summary

Modification

--- a/Android.mk
+++ b/Android.mk
@@ -12,6 +12,7 @@ LOCAL_MODULE_TAGS := optional
1212 LOCAL_MODULE_RELATIVE_PATH := hw
1313 LOCAL_SRC_FILES := hdaps.c
1414 LOCAL_CFLAGS := -Wno-unused-parameter
15+LOCAL_VENDOR_MODULE := true
1516 include $(BUILD_SHARED_LIBRARY)
1617
1718 include $(CLEAR_VARS)
@@ -20,6 +21,7 @@ LOCAL_MODULE := sensors.iio-old
2021 LOCAL_MODULE_TAGS := optional
2122 LOCAL_MODULE_RELATIVE_PATH := hw
2223 LOCAL_SRC_FILES := iio-sensors.cpp
24+LOCAL_VENDOR_MODULE := true
2325 include $(BUILD_SHARED_LIBRARY)
2426
2527 include $(CLEAR_VARS)
@@ -29,6 +31,7 @@ LOCAL_MODULE := sensors.kbd
2931 LOCAL_MODULE_TAGS := optional
3032 LOCAL_MODULE_RELATIVE_PATH := hw
3133 LOCAL_SRC_FILES := kbdsensor.cpp
34+LOCAL_VENDOR_MODULE := true
3235 include $(BUILD_SHARED_LIBRARY)
3336
3437 include $(CLEAR_VARS)
@@ -39,6 +42,7 @@ LOCAL_MODULE_TAGS := optional
3942 LOCAL_MODULE_RELATIVE_PATH := hw
4043 LOCAL_SRC_FILES := s103t_sensor.c
4144 LOCAL_CFLAGS := -Wno-unused-parameter
45+LOCAL_VENDOR_MODULE := true
4246 include $(BUILD_SHARED_LIBRARY)
4347
4448 include $(CLEAR_VARS)
@@ -49,4 +53,5 @@ LOCAL_MODULE_TAGS := optional
4953 LOCAL_MODULE_RELATIVE_PATH := hw
5054 LOCAL_SRC_FILES := w500_sensor.c
5155 LOCAL_CFLAGS := -Wno-unused-parameter
56+LOCAL_VENDOR_MODULE := true
5257 include $(BUILD_SHARED_LIBRARY)
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -1 +1,2 @@
11 $(call add-clean-step, rm -f $(TARGET_OUT)/lib*/hw/sensors.*)
2+$(call add-clean-step, rm -f $(TARGET_OUT)/lib*/hw/sensors.*)
Afficher sur ancien navigateur de dépôt.