Chromium's build that involves libgav1 is failing. Here's the output from ninja:
In file included from ../../media/gpu/av1_decoder.h:18:../../third_party/libgav1/src/src/utils/constants.h:23:10: fatal error: 'src/utils/bit_mask_set.h' file not found#include "src/utils/bit_mask_set.h"When checked the third_party/libgav1/src/src folder it looks like all the header files have similar issues even in dsp/ , gav1/ , post_filter/ , tile/ , utils/. Including the respective headers with "src" prefix causing failure. When tried and hack it manually referencing all the header files with appropriate prefixes "../" or "../../" ; it worked fine but at the end it has failed stating that some object files were not found.
What's the ideal solution ?Thank you in advance.\rz
--
You received this message because you are subscribed to the Google Groups "gav1-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gav1-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gav1-devel/2e44625f-58fd-4417-b98a-b27c4de860b4n%40googlegroups.com.
Hi Johann,Thank you for the response.I'm trying to write a custom fuzz target for av1_decoder. Target: Linux (Ubuntu 20.04).Yes, I've observed BUILD.gn in libgav1 which include dirs - src/ and src/src. However, hitting the mentioned issue when tried to build it with ninjaIn file included from ../../media/gpu/av1_fuzztest.cc:13:In file included from ../../media/gpu/av1_decoder.h:18:../../third_party/libgav1/src/src/utils/constants.h:23:10: fatal error: 'src/utils/bit_mask_set.h' file not found#include "src/utils/bit_mask_set.h"
To view this discussion on the web visit https://groups.google.com/d/msgid/gav1-devel/bec9c2b2-59e8-492d-bae9-4a7ba424a373n%40googlegroups.com.
Hi,Yes, I've indeed done that (adding "//third_party/libgav1:libgav1" to deps ) in the very first step.In this case, ninja is throwing the ERROR Unresolved dependencies:ERROR Unresolved dependencies.//media/gpu:media_av1_fuzztest(//build/toolchain/linux:clang_x64)needs //third_party/libgav1:libgav1(//build/toolchain/linux:clang_x64)
To view this discussion on the web visit https://groups.google.com/d/msgid/gav1-devel/7cf124fd-96d5-42eb-89c2-0567a85e7cc5n%40googlegroups.com.
Well, thank you for the information and the words of experience !Yes, I've checked the mentioned changes [1] and applied its patch to my source code locally. It looks like dependency issues are resolved magically.However, there's an issue regarding owners file. ninja is throwing duplicate definition error.ERROR at //testing/libfuzzer/fuzzer_test.gni:164:7: Duplicate definition.action(owners_file_name) {^-------------------------The item//media/gpu:media_av1_fuzztest.ownerswas already defined.See //testing/libfuzzer/fuzzer_test.gni:164:7: Previous definition:action(owners_file_name) {^-------------------------
To view this discussion on the web visit https://groups.google.com/d/msgid/gav1-devel/3138b1f9-c837-41c2-9e08-5668f806f692n%40googlegroups.com.