1{ 2 "name": "@ohos/c_utils", 3 "version": "3.1.0", 4 "description": "c_utils", 5 "publishAs": "code-segment", 6 "segment": { 7 "destPath": "commonlibrary/c_utils" 8 }, 9 "scripts": { 10 "install": "DEST_PATH=${DEP_BUNDLE_BASE}/commonlibrary/c_utils/base && mkdir -p $DEST_PATH && cp -r ./* $DEST_PATH" 11 }, 12 "author": {}, 13 "repository": "", 14 "license": "Apache License 2.0", 15 "component": { 16 "name": "c_utils", 17 "subsystem": "commonlibrary", 18 "adapted_system_type": [ "standard" ], 19 "features":[ 20 "c_utils_feature_coverage", 21 "c_utils_debug_refbase", 22 "c_utils_track_all", 23 "c_utils_print_track_at_once", 24 "c_utils_debug_log_enabled", 25 "c_utils_feature_intsan", 26 "c_utils_parcel_object_check" 27 ], 28 "deps": { 29 "components": [ 30 "hilog", 31 "googletest", 32 "benchmark" 33 ], 34 "third_party": [ 35 "bounds_checking_function" 36 ] 37 }, 38 "build": { 39 "sub_component": [ 40 "//commonlibrary/c_utils/base:utils", 41 "//commonlibrary/c_utils/base:utilsbase", 42 "//commonlibrary/c_utils/base:utils_rust" 43 ], 44 "inner_kits": [ 45 { 46 "name": "//commonlibrary/c_utils/base:utils", 47 "header": { 48 "header_files": [ 49 "ashmem.h", 50 "common_errors.h", 51 "common_timer_errors.h", 52 "datetime_ex.h", 53 "directory_ex.h", 54 "errors.h", 55 "file_ex.h", 56 "flat_obj.h", 57 "nocopyable.h", 58 "observer.h", 59 "parcel.h", 60 "pubdef.h", 61 "refbase.h", 62 "rwlock.h", 63 "safe_block_queue.h", 64 "safe_map.h", 65 "safe_queue.h", 66 "semaphore_ex.h", 67 "singleton.h", 68 "sorted_vector.h", 69 "string_ex.h", 70 "thread_ex.h", 71 "thread_pool.h", 72 "timer.h", 73 "unique_fd.h" 74 ], 75 "header_base": "//commonlibrary/c_utils/base/include" 76 } 77 }, 78 { 79 "name": "//commonlibrary/c_utils/base:utilsbase", 80 "header": { 81 "header_files": [ 82 "ashmem.h", 83 "common_errors.h", 84 "common_timer_errors.h", 85 "datetime_ex.h", 86 "directory_ex.h", 87 "errors.h", 88 "file_ex.h", 89 "flat_obj.h", 90 "nocopyable.h", 91 "observer.h", 92 "parcel.h", 93 "pubdef.h", 94 "refbase.h", 95 "rwlock.h", 96 "safe_block_queue.h", 97 "safe_map.h", 98 "safe_queue.h", 99 "semaphore_ex.h", 100 "singleton.h", 101 "sorted_vector.h", 102 "string_ex.h", 103 "thread_ex.h", 104 "thread_pool.h", 105 "timer.h", 106 "unique_fd.h" 107 ], 108 "header_base": "//commonlibrary/c_utils/base/include" 109 } 110 }, 111 { 112 "name": "//commonlibrary/c_utils/base:utils_rust", 113 "header": { 114 "header_files": [], 115 "header_base": [] 116 } 117 } 118 ], 119 "test": [ 120 "//commonlibrary/c_utils/base/test:unittest", 121 "//commonlibrary/c_utils/base/test/benchmarktest:benchmarktest", 122 "//commonlibrary/c_utils/base/test/fuzztest:fuzztest" 123 ] 124 } 125 } 126} 127