libyuv.gn 824 B

12345678910111213141516171819202122232425262728293031323334353637
  1. import("//build/config/linux/pkg_config.gni")
  2. import("//build/shim_headers.gni")
  3. pkg_config("system_yuv") {
  4. packages = [ "libyuv" ]
  5. }
  6. shim_headers("libyuv_shim") {
  7. root_path = "include"
  8. headers = [
  9. "libyuv.h",
  10. "libyuv/basic_types.h",
  11. "libyuv/compare.h",
  12. "libyuv/convert.h",
  13. "libyuv/convert_argb.h",
  14. "libyuv/convert_from.h",
  15. "libyuv/convert_from_argb.h",
  16. "libyuv/cpu_id.h",
  17. "libyuv/mjpeg_decoder.h",
  18. "libyuv/planar_functions.h",
  19. "libyuv/rotate.h",
  20. "libyuv/rotate_argb.h",
  21. "libyuv/rotate_row.h",
  22. "libyuv/row.h",
  23. "libyuv/scale.h",
  24. "libyuv/scale_argb.h",
  25. "libyuv/scale_row.h",
  26. "libyuv/scale_uv.h",
  27. "libyuv/version.h",
  28. "libyuv/video_common.h",
  29. ]
  30. }
  31. source_set("libyuv") {
  32. deps = [ ":libyuv_shim" ]
  33. public_configs = [ ":system_yuv" ]
  34. }