Add check_targets list to .gn.
Start trying to pass "gn check".
Change-Id: Iec694d8abf558f3e1ca477dd3934020088e43cb5
Reviewed-on: https://pdfium-review.googlesource.com/c/43895
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/.gn b/.gn
index 41187fd..59db446 100644
--- a/.gn
+++ b/.gn
@@ -15,3 +15,16 @@
# PDFium does not want to switch to C++14 yet.
use_cxx11 = true
}
+
+check_targets = [
+ "//samples/*",
+
+ # TODO(thestig): Work on these.
+ #"//core/*", # Need to split off.
+ #"//fpdfsdk/*", # Need to split off.
+ #"//fxbarcode/*", # Need to split off.
+ #"//fxjs/*", # Need to split off.
+ #"//testing/*",
+ #"//testing/fuzzers/*",
+ #"//xfa/*", # Need to split off.
+]