From a622bde9e62aec58793f08d804783515cb5e735e Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 1 Aug 2013 12:33:33 +0200 Subject: [PATCH] cpplint: exclude src/node_win32_perfctr_provider.cc It's forced to violate the build/include_order rule because it includes a header file generated with ctrpp.exe that doesn't include perflib.h itself. --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1d01544b236c68..32ebc785a2d92f 100644 --- a/Makefile +++ b/Makefile @@ -390,11 +390,13 @@ jslint: PYTHONPATH=tools/closure_linter/ $(PYTHON) tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js CPPLINT_EXCLUDE ?= -CPPLINT_EXCLUDE += src/tree.h +CPPLINT_EXCLUDE += src/node_dtrace.cc +CPPLINT_EXCLUDE += src/node_dtrace.cc +CPPLINT_EXCLUDE += src/node_root_certs.h +CPPLINT_EXCLUDE += src/node_win32_perfctr_provider.cc CPPLINT_EXCLUDE += src/queue.h +CPPLINT_EXCLUDE += src/tree.h CPPLINT_EXCLUDE += src/v8abbr.h -CPPLINT_EXCLUDE += src/node_root_certs.h -CPPLINT_EXCLUDE += src/node_dtrace.cc CPPLINT_FILES = $(filter-out $(CPPLINT_EXCLUDE), $(wildcard src/*.cc src/*.h src/*.c))