0

[PA] Opt-in for GN include check.

I am going to expand MiraclePtr protection toward several third party
dependencies: Dawn, Angle, SwiftShader, ...

To make sure the library stand alone sufficiently well, I would like
ensure GN is able to check includes.

It seems we can apply this patch without causing any errors, so let's
do it.

Bug: 1467773
Change-Id: Ib7a1a1522a2612898685549e42130383cd15b9e9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4721328
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1176523}
This commit is contained in:
Arthur Sonzogni
2023-07-28 09:51:51 +00:00
committed by Chromium LUCI CQ
parent a92d072c9d
commit e33f80e700

6
.gn

@ -75,12 +75,6 @@ no_check_targets = [
"//v8:cppgc_base", # 1 error
"//v8:v8_internal_headers", # 11 errors
"//v8:v8_libplatform", # 2 errors
# After making partition_alloc a standalone library, remove partition_alloc
# target from the skip list, because partition_aloc will depend on its own
# base.
# partition alloc standalone library bug is https://crbug.com/1151236.
"//base/allocator/partition_allocator:partition_alloc", # 292 errors
]
# These are the list of GN files that run exec_script. This whitelist exists