From 0d50a04cc918e5122d1b22201cc949c2cfd337a5 Mon Sep 17 00:00:00 2001 From: Hirokazu Honda Date: Fri, 12 Nov 2021 15:29:48 +0900 Subject: lc-compliance: Build with gtest in subprojects libgtest-dev is provided as a static library at least by Debian 10. The compiler and linker to create the static library might be different from ones used for libcamera. This causes a problem upon linking. This puts gtest code to subprojects, builds the code and link it for lc-compliance. However, libgtest is locally built as a library on ChromeOS and thus the used compiler and linker are the same as one used for libcamera. We don't do these on ChromeOS build environment. Signed-off-by: Hirokazu Honda Tested-by: Jacopo Mondi Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart Reviewed-by: Umang Jain Signed-off-by: Kieran Bingham --- subprojects/.gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'subprojects/.gitignore') diff --git a/subprojects/.gitignore b/subprojects/.gitignore index 410b8bd6..391fde2c 100644 --- a/subprojects/.gitignore +++ b/subprojects/.gitignore @@ -1 +1,3 @@ -/libyuv \ No newline at end of file +/googletest-release* +/libyuv +/packagecache \ No newline at end of file -- cgit v1.2.1