1cc_library_headers { 2 name: "libprocessgroup_headers", 3 vendor_available: true, 4 recovery_available: true, 5 host_supported: true, 6 native_bridge_supported: true, 7 export_include_dirs: ["include"], 8 target: { 9 linux_bionic: { 10 enabled: true, 11 }, 12 windows: { 13 enabled: true, 14 }, 15 }, 16 apex_available: [ 17 "//apex_available:platform", 18 "//apex_available:anyapex", 19 ], 20 min_sdk_version: "29", 21} 22 23cc_library { 24 srcs: [ 25 "cgroup_map.cpp", 26 "processgroup.cpp", 27 "sched_policy.cpp", 28 "task_profiles.cpp", 29 ], 30 name: "libprocessgroup", 31 host_supported: true, 32 native_bridge_supported: true, 33 recovery_available: true, 34 vendor_available: true, 35 vndk: { 36 enabled: true, 37 support_system_process: true, 38 }, 39 shared_libs: [ 40 "libbase", 41 "libcgrouprc", 42 ], 43 static_libs: [ 44 "libjsoncpp", 45 ], 46 // for cutils/android_filesystem_config.h 47 header_libs: [ 48 "libcutils_headers", 49 "libprocessgroup_headers", 50 ], 51 export_include_dirs: ["include"], 52 export_header_lib_headers: [ 53 "libprocessgroup_headers", 54 ], 55 cflags: [ 56 "-Wall", 57 "-Werror", 58 "-Wexit-time-destructors", 59 ], 60 apex_available: [ 61 "//apex_available:platform", 62 "//apex_available:anyapex", 63 ], 64 min_sdk_version: "29", 65} 66