Android.bp 1.1 KB

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