mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
Note this builds on #3772 (I was partly cleaning up because I was looking at this again). This stops printing "Ignore missing" for ignored includes because it was feeling noisy. This has been bugging me for a bit, and now I'm here. To get an idea of what I mean, here it is masking a fix: ``` Querying bazel for Carbon targets... Querying bazel for external targets... Building header map... Building generated file list... Parsing headers from source files... Ignored missing '#include "testing/fuzzing/carbon.pb.h"' in 'explorer/fuzzing/ast_to_proto_main.cpp' Ignored missing '#include "testing/fuzzing/carbon.pb.h"' in 'explorer/fuzzing/ast_to_proto.h' Ignored missing '#include "testing/fuzzing/carbon.pb.h"' in 'explorer/fuzzing/fuzzer_util.h' Fixing include format in 'testing/file_test/file_test_base.h': '#include "gtest/gtest.h"' to '#include <gtest/gtest.h>' Ignored missing '#include "testing/fuzzing/carbon.pb.h"' in 'testing/fuzzing/proto_to_carbon.cpp' Ignored missing '#include "testing/fuzzing/carbon.pb.h"' in 'testing/fuzzing/proto_to_carbon.h' Ignored missing '#include "testing/fuzzing/carbon.pb.h"' in 'testing/fuzzing/proto_to_carbon_test.cpp' Done! ``` To help make this work, I'm also adjusting the gtest handling to use the same EXTERNAL_REPO logic as the rest. I don't recall if there'd been some other reason for the special casing, but AFAICT it works fine (auto-adds a missing gtest dependency) this way.