110 lines
3.1 KiB
Plaintext
110 lines
3.1 KiB
Plaintext
// libcve
|
|
// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE
|
|
// CONSULT THE OWNERS AND [email protected] BEFORE
|
|
// DEPENDING ON IT IN YOUR PROJECT. ***
|
|
package {
|
|
default_applicable_licenses: [
|
|
"hardware_amlogic_cve_lib_v1_license",
|
|
],
|
|
}
|
|
|
|
// Added automatically by a large-scale-change that took the approach of
|
|
// 'apply every license found to every target'. While this makes sure we respect
|
|
// every license restriction, it may not be entirely correct.
|
|
//
|
|
// e.g. GPL in an MIT project might only apply to the contrib/ directory.
|
|
//
|
|
// Please consider splitting the single license below into multiple licenses,
|
|
// taking care not to lose any license_kind information, and overriding the
|
|
// default license using the 'licenses: [...]' property on targets as needed.
|
|
//
|
|
// For unused files, consider creating a 'fileGroup' with "//visibility:private"
|
|
// to attach the license to, and including a comment whether the files may be
|
|
// used in the current project.
|
|
// See: http://go/android-license-faq
|
|
license {
|
|
name: "hardware_amlogic_cve_lib_v1_license",
|
|
visibility: [":__subpackages__"],
|
|
license_kinds: [
|
|
"SPDX-license-identifier-MIT",
|
|
],
|
|
license_text: [
|
|
"LICENSE",
|
|
],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libcve",
|
|
proprietary: true,
|
|
|
|
srcs: [
|
|
"libcve/lib_cve.c",
|
|
"libcve/cve_check_params.c",
|
|
"libcve/cve_alloc.c",
|
|
"libcve/IONmem.c",
|
|
"libcve/dmabuf.c",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libion",
|
|
],
|
|
|
|
export_include_dirs: [
|
|
"include",
|
|
"libcve",
|
|
],
|
|
cflags: ["-Werror"],
|
|
}
|
|
|
|
// cve_feature_test
|
|
cc_binary {
|
|
name: "sample-cve",
|
|
proprietary: true,
|
|
|
|
srcs: [
|
|
"sample/sample_comm_cve.c",
|
|
"sample/sample_cve_dma.c",
|
|
"sample/sample_cve_lumaStat.c",
|
|
"sample/sample_cve_filter.c",
|
|
"sample/sample_cve_csc.c",
|
|
"sample/sample_cve_filter_and_csc.c",
|
|
"sample/sample_cve_sobel.c",
|
|
"sample/sample_cve_mag_and_ang.c",
|
|
"sample/sample_cve_matchbgmodel.c",
|
|
"sample/sample_cve_erode_and_dilate.c",
|
|
"sample/sample_cve_thresh.c",
|
|
"sample/sample_cve_alu.c",
|
|
"sample/sample_cve_integ.c",
|
|
"sample/sample_cve_hist.c",
|
|
"sample/sample_cve_thresh_s16.c",
|
|
"sample/sample_cve_thresh_u16.c",
|
|
"sample/sample_cve_16bit_to_8bit.c",
|
|
"sample/sample_cve_ord_stat_filter.c",
|
|
"sample/sample_cve_map.c",
|
|
"sample/sample_cve_equalize_hist.c",
|
|
"sample/sample_cve_ncc.c",
|
|
"sample/sample_cve_ccl.c",
|
|
"sample/sample_cve_gmm.c",
|
|
"sample/sample_cve_canny_hys_edge.c",
|
|
"sample/sample_cve_lbp.c",
|
|
"sample/sample_cve_norm_grad.c",
|
|
"sample/sample_cve_buildlkopticalflowpyr.c",
|
|
"sample/sample_cve_lkopticalflowpyr.c",
|
|
"sample/sample_cve_st.c",
|
|
"sample/sample_cve_sad.c",
|
|
"sample/sample_cve_updatebgmodel.c",
|
|
"sample/sample_cve_tof.c",
|
|
"sample/sample_cve_hist_eqhist.c",
|
|
"sample/sample_cve_main.c",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libion",
|
|
"libcve",
|
|
],
|
|
|
|
cflags: ["-g"],
|
|
cppflags: ["-g"],
|
|
}
|
|
|