diff options
author | jeyanthinath <jeyanthinath10@gmail.com> | 2017-07-26 13:57:18 +0530 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2017-08-07 10:16:30 +0800 |
commit | e88908d8684d4108a3079a6b6af0e5f4ce1b09b9 (patch) | |
tree | 88922a1406194d2833517bc85cc1ab0d3485ddbc /Makefile | |
parent | 5fd2f03b16bfd6730fe82dc3217f1d05131b9615 (diff) | |
download | android-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-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 \ |