From 26ef461208d2f5c77ab754d868b70d3fe733aac3 Mon Sep 17 00:00:00 2001 From: Eric Seidel Date: Wed, 12 Nov 2014 11:36:37 -0800 Subject: [PATCH] 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 --- engine/src/flutter/tools/missing_from_gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/tools/missing_from_gn b/engine/src/flutter/tools/missing_from_gn index fdc64d07e9..88ecee6894 100755 --- a/engine/src/flutter/tools/missing_from_gn +++ b/engine/src/flutter/tools/missing_from_gn @@ -45,7 +45,8 @@ def used_files(target): def find_on_disk(path): # 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(): @@ -72,7 +73,6 @@ def main(): '.gypi', '.gn', '.gni', - '.h', # Ignore headers for the moment. ] for ext in IGNORED_EXTENSIONS: missing_from_gn = filter(lambda p: not p.endswith(ext), missing_from_gn)