From a46e55ebd85d45665c987258dbe9e0e9f842c849 Mon Sep 17 00:00:00 2001 From: Zeno Albisser Date: Thu, 20 Nov 2014 13:03:05 +0100 Subject: Whitelist/Blacklist several files for the snapshot based on Chromium 40.0.2214.5. Include files related to: - components_strings - chrome_version.rc.version - error_page - *.grdp files within components Exclude files related to: - junit - polymer - google_input_tools - cython Change-Id: I2388ec7694890d573cbea843de23471c6a5395a6 Reviewed-by: Andras Becsi --- tools/scripts/take_snapshot.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/scripts/take_snapshot.py b/tools/scripts/take_snapshot.py index 3696b9a7a..8c5d16044 100755 --- a/tools/scripts/take_snapshot.py +++ b/tools/scripts/take_snapshot.py @@ -108,13 +108,17 @@ def isInChromiumBlacklist(file_path): not file_path.endswith('version.py') and not file_path.endswith('.grd') and not file_path.endswith('.grdp') and - not file_path.endswith('.json')) + not file_path.endswith('.json') and + not file_path.endswith('chrome_version.rc.version')) or file_path.startswith('chrome_frame') or file_path.startswith('chromeos') or file_path.startswith('cloud_print') or (file_path.startswith('components') and not file_path.startswith('components/tracing') and - not file_path.startswith('components/visitedlink')) + not file_path.startswith('components/visitedlink') and + not file_path.startswith('components/error_page') and + not file_path.endswith('.grdp') and + not 'components_strings' in file_path) or file_path.startswith('content/public/android/java') or file_path.startswith('content/shell') or file_path.startswith('courgette') @@ -157,9 +161,11 @@ def isInChromiumBlacklist(file_path): or file_path.startswith('third_party/cros_dbus_cplusplus') or file_path.startswith('third_party/cros_system_api') or file_path.startswith('third_party/cygwin') + or file_path.startswith('third_party/cython') or file_path.startswith('third_party/elfutils') or file_path.startswith('third_party/eyesfree') or file_path.startswith('third_party/findbugs') + or file_path.startswith('third_party/google_input_tools') or file_path.startswith('third_party/gperf') or file_path.startswith('third_party/gnu_binutils') or file_path.startswith('third_party/gtk+') @@ -173,6 +179,7 @@ def isInChromiumBlacklist(file_path): or file_path.startswith('third_party/instrumented_libraries') or file_path.startswith('third_party/jarjar') or file_path.startswith('third_party/jsr-305/src') + or file_path.startswith('third_party/junit') or file_path.startswith('third_party/libphonenumber') or file_path.startswith('third_party/libaddressinput') or file_path.startswith('third_party/libc++') @@ -182,6 +189,7 @@ def isInChromiumBlacklist(file_path): or file_path.startswith('third_party/markdown') or file_path.startswith('third_party/mingw-w64') or file_path.startswith('third_party/nacl_sdk_binaries') + or file_path.startswith('third_party/polymer') or file_path.startswith('third_party/pdfsqueeze') or file_path.startswith('third_party/pefile') or file_path.startswith('third_party/perl') -- cgit v1.2.3