mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 16:56:55 +08:00
Add Android.bp build file for Android master
Bug: libyuv:746 Test: mm from android repo Change-Id: I7c124acfacc87cc263b19483cea79a63084f3f96 Reviewed-on: https://chromium-review.googlesource.com/724237 Reviewed-by: Frank Barchard <fbarchard@google.com> Commit-Queue: Frank Barchard <fbarchard@google.com>
This commit is contained in:
parent
8fa02df3c0
commit
e4aa6aad48
73
Android.bp
Normal file
73
Android.bp
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
cc_library {
|
||||||
|
name: "libyuv",
|
||||||
|
vendor_available: true,
|
||||||
|
vndk: {
|
||||||
|
enabled: true,
|
||||||
|
},
|
||||||
|
|
||||||
|
srcs: [
|
||||||
|
"source/compare.cc",
|
||||||
|
"source/compare_common.cc",
|
||||||
|
"source/compare_gcc.cc",
|
||||||
|
"source/compare_neon.cc",
|
||||||
|
"source/compare_neon64.cc",
|
||||||
|
"source/compare_msa.cc",
|
||||||
|
"source/convert.cc",
|
||||||
|
"source/convert_argb.cc",
|
||||||
|
"source/convert_from.cc",
|
||||||
|
"source/convert_from_argb.cc",
|
||||||
|
"source/convert_to_argb.cc",
|
||||||
|
"source/convert_to_i420.cc",
|
||||||
|
"source/cpu_id.cc",
|
||||||
|
"source/planar_functions.cc",
|
||||||
|
"source/rotate.cc",
|
||||||
|
"source/rotate_any.cc",
|
||||||
|
"source/rotate_argb.cc",
|
||||||
|
"source/rotate_common.cc",
|
||||||
|
"source/rotate_dspr2.cc",
|
||||||
|
"source/rotate_gcc.cc",
|
||||||
|
"source/rotate_msa.cc",
|
||||||
|
"source/rotate_neon.cc",
|
||||||
|
"source/rotate_neon64.cc",
|
||||||
|
"source/row_any.cc",
|
||||||
|
"source/row_common.cc",
|
||||||
|
"source/row_dspr2.cc",
|
||||||
|
"source/row_gcc.cc",
|
||||||
|
"source/row_msa.cc",
|
||||||
|
"source/row_neon.cc",
|
||||||
|
"source/row_neon64.cc",
|
||||||
|
"source/scale.cc",
|
||||||
|
"source/scale_any.cc",
|
||||||
|
"source/scale_argb.cc",
|
||||||
|
"source/scale_common.cc",
|
||||||
|
"source/scale_dspr2.cc",
|
||||||
|
"source/scale_gcc.cc",
|
||||||
|
"source/scale_msa.cc",
|
||||||
|
"source/scale_neon.cc",
|
||||||
|
"source/scale_neon64.cc",
|
||||||
|
"source/video_common.cc",
|
||||||
|
|
||||||
|
"source/convert_jpeg.cc",
|
||||||
|
"source/mjpeg_decoder.cc",
|
||||||
|
"source/mjpeg_validate.cc",
|
||||||
|
],
|
||||||
|
|
||||||
|
cflags: [
|
||||||
|
"-Wall",
|
||||||
|
"-Werror",
|
||||||
|
"-Wno-unused-parameter",
|
||||||
|
"-fexceptions",
|
||||||
|
"-DHAVE_JPEG",
|
||||||
|
],
|
||||||
|
|
||||||
|
shared_libs: ["libjpeg"],
|
||||||
|
|
||||||
|
export_include_dirs: ["include"],
|
||||||
|
}
|
||||||
|
|
||||||
|
// compatibilty static library until all uses of libyuv_static are replaced
|
||||||
|
// with libyuv (b/37646797)
|
||||||
|
cc_library_static {
|
||||||
|
name: "libyuv_static",
|
||||||
|
whole_static_libs: ["libyuv"],
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user