meson.build 869 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Convenience library for the duplicated logging functionality
  2. common_sources = [
  3. 'common-logging.c',
  4. 'common-governors.c',
  5. 'common-profile.c',
  6. 'common-external.c',
  7. 'common-helpers.c',
  8. 'common-gpu.c',
  9. 'common-cpu.c',
  10. 'common-pidfds.c',
  11. 'common-power.c',
  12. ]
  13. daemon_common = static_library(
  14. 'daemon-common',
  15. sources: common_sources,
  16. install: false,
  17. include_directories: [config_h_dir]
  18. )
  19. link_daemon_common = declare_dependency(
  20. link_with: daemon_common,
  21. include_directories: [include_directories('.')]
  22. )
  23. lib_common = static_library(
  24. 'lib-common',
  25. sources: [
  26. 'common-helpers.c',
  27. 'common-pidfds.c'
  28. ],
  29. install: false,
  30. include_directories: [config_h_dir]
  31. )
  32. link_lib_common = declare_dependency(
  33. link_with: lib_common,
  34. include_directories: [include_directories('.')]
  35. )