Only GN check //skia if checkout_skia=True
Drops dependency on //skia for GN checks unless the checkout_skia
gclient var is True. This fixes the build for gclient configurations
such as checkout_configuration=minimal.
Fixed: pdfium:1938
Change-Id: I280b5165925bc5f1a48a102236729fed467f4268
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/101151
Auto-Submit: K. Moon <kmoon@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: K. Moon <kmoon@chromium.org>
diff --git a/DEPS b/DEPS
index 91900eb..6f14ac7 100644
--- a/DEPS
+++ b/DEPS
@@ -1,7 +1,9 @@
use_relative_paths = True
gclient_gn_args_file = 'build/config/gclient_args.gni'
-gclient_gn_args = []
+gclient_gn_args = [
+ 'checkout_skia',
+]
vars = {
# By default, we should check out everything needed to run on the main