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