mirror of
https://github.com/openharmony/drivers_framework.git
synced 2026-07-19 16:24:45 -04:00
feat: change /system/lib to HDF_LIBRARY_PATH_DIR macro.
把UHDF中依赖/system/lib目录的统一到一个代码宏中,便于重构 Signed-off-by: handyohos <zhangxiaotian@huawei.com> Change-Id: I4305d730fb1c2e07fc9078b6ee790d4104213e07 #I4PWHS
This commit is contained in:
Regular → Executable
+12
@@ -88,6 +88,18 @@ typedef enum {
|
||||
*/
|
||||
#define HDF_KILO_UNIT 1000
|
||||
|
||||
#ifdef __LITEOS__
|
||||
#define HDF_LIBRARY_FULL_PATH(x) "/usr/lib/" x ".so"
|
||||
#define HDF_LIBRARY_DIR "/usr/lib"
|
||||
#define HDF_ETC_DIR "/etc"
|
||||
#define HDF_CONFIG_DIR "/etc"
|
||||
#else
|
||||
#define HDF_LIBRARY_FULL_PATH(x) "/system/lib/" x ".z.so"
|
||||
#define HDF_LIBRARY_DIR "/system/lib"
|
||||
#define HDF_ETC_DIR "/system/etc"
|
||||
#define HDF_CONFIG_DIR "/system/etc/hdfconfig"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
Reference in New Issue
Block a user