Use depot_tools to provide ninja binary and cpplint.
This commit is contained in:
parent
3cd910abc6
commit
950c09f2e7
5 changed files with 15 additions and 3996 deletions
3
script/cpplint.py
vendored
3
script/cpplint.py
vendored
|
@ -6,6 +6,7 @@ import subprocess
|
|||
import sys
|
||||
|
||||
OBJC_HEADERS = [
|
||||
'app/win/resource.h',
|
||||
'browser/atom_event_processing_window.h',
|
||||
'browser/atom_application_mac.h',
|
||||
'browser/atom_application_delegate_mac.h',
|
||||
|
@ -36,7 +37,7 @@ def list_files(directories, filters):
|
|||
|
||||
|
||||
def call_cpplint(files):
|
||||
cpplint = os.path.join(SOURCE_ROOT, 'vendor', 'cpplint.py')
|
||||
cpplint = os.path.join(SOURCE_ROOT, 'vendor', 'depot_tools', 'cpplint.py')
|
||||
rules = '--filter=-build/header_guard,-build/include_what_you_use'
|
||||
subprocess.call([sys.executable, cpplint, rules] + files)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue