summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjeyanthinath <jeyanthinath10@gmail.com>2017-07-26 13:57:18 +0530
committerTimothy Gu <timothygu99@gmail.com>2017-08-07 10:16:30 +0800
commite88908d8684d4108a3079a6b6af0e5f4ce1b09b9 (patch)
tree88922a1406194d2833517bc85cc1ab0d3485ddbc /Makefile
parent5fd2f03b16bfd6730fe82dc3217f1d05131b9615 (diff)
downloadandroid-node-v8-e88908d8684d4108a3079a6b6af0e5f4ce1b09b9.tar.gz
android-node-v8-e88908d8684d4108a3079a6b6af0e5f4ce1b09b9.tar.bz2
android-node-v8-e88908d8684d4108a3079a6b6af0e5f4ce1b09b9.zip
build: enable C++ linting for src/*/*
Fixes: https://github.com/nodejs/node/issues/14490 PR-URL: https://github.com/nodejs/node/pull/14497 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6c79867794..652c591e2b 100644
--- a/Makefile
+++ b/Makefile
@@ -891,11 +891,16 @@ CPPLINT_EXCLUDE += src/queue.h
CPPLINT_EXCLUDE += src/tree.h
CPPLINT_EXCLUDE += $(wildcard test/addons/??_*/*.cc test/addons/??_*/*.h)
CPPLINT_EXCLUDE += $(wildcard test/addons-napi/??_*/*.cc test/addons-napi/??_*/*.h)
+# These files were copied more or less verbatim from V8.
+CPPLINT_EXCLUDE += src/tracing/trace_event.h src/tracing/trace_event_common.h
CPPLINT_FILES = $(filter-out $(CPPLINT_EXCLUDE), $(wildcard \
src/*.c \
src/*.cc \
src/*.h \
+ src/*/*.c \
+ src/*/*.cc \
+ src/*/*.h \
test/addons/*/*.cc \
test/addons/*/*.h \
test/cctest/*.cc \