From a5fb6157e5908c1db9a1e55785dec20dde3eaf69 Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Wed, 26 Oct 2016 14:17:04 -0400 Subject: Split SkSL and utils apart again into .gni files. Also extend GN format presubmit check to .gni files. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3976 Change-Id: I292f3136437101e3e2c3271e260536ab7a24b192 Reviewed-on: https://skia-review.googlesource.com/3976 Reviewed-by: Ben Wagner Commit-Queue: Mike Klein --- PRESUBMIT.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'PRESUBMIT.py') diff --git a/PRESUBMIT.py b/PRESUBMIT.py index a6d1d16490..281ca5a6cf 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -187,7 +187,8 @@ def _CheckGNFormatted(input_api, output_api): """Make sure any .gn files we're changing have been formatted.""" results = [] for f in input_api.AffectedFiles(): - if not f.LocalPath().endswith('.gn'): + if (not f.LocalPath().endswith('.gn') and + not f.LocalPath().endswith('.gni')): continue gn = 'gn.bat' if 'win32' in sys.platform else 'gn' -- cgit v1.2.3