Add headers to gn/gni files for all of sky/engine

Also sorted the sources.

This stops sky/tools/missing_from_gn from complaining
about our headers being missing.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/715163002
This commit is contained in:
Eric Seidel 2014-11-12 11:36:37 -08:00
parent 41448b9de9
commit 26ef461208

View File

@ -45,7 +45,8 @@ def used_files(target):
def find_on_disk(path): def find_on_disk(path):
# FIXME: Use os.walk and do fancier ignoring. # FIXME: Use os.walk and do fancier ignoring.
return stripped_lines_from_command(['find', path, '-type', 'f']) find_cmd = ['find', path, '-type', 'f']
return stripped_lines_from_command(find_cmd, cwd=ROOT_DIR)
def main(): def main():
@ -72,7 +73,6 @@ def main():
'.gypi', '.gypi',
'.gn', '.gn',
'.gni', '.gni',
'.h', # Ignore headers for the moment.
] ]
for ext in IGNORED_EXTENSIONS: for ext in IGNORED_EXTENSIONS:
missing_from_gn = filter(lambda p: not p.endswith(ext), missing_from_gn) missing_from_gn = filter(lambda p: not p.endswith(ext), missing_from_gn)