Skip to content

Instantly share code, notes, and snippets.

@azbesthu
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azbesthu/9248379 to your computer and use it in GitHub Desktop.
Save azbesthu/9248379 to your computer and use it in GitHub Desktop.
diff --git a/tools/scripts/git_submodule.py b/tools/scripts/git_submodule.py
index 6d2fbd1..1332184 100644
--- a/tools/scripts/git_submodule.py
+++ b/tools/scripts/git_submodule.py
@@ -45,7 +45,7 @@ import subprocess
import sys
import version_resolver as resolver
-extra_os = ['android', 'mac']
+extra_os = ['android', 'mac', 'win']
def subprocessCall(args):
print args
diff --git a/tools/scripts/take_snapshot.py b/tools/scripts/take_snapshot.py
index 49da11f..a99a078 100755
--- a/tools/scripts/take_snapshot.py
+++ b/tools/scripts/take_snapshot.py
@@ -80,17 +80,21 @@ def isInChromiumBlacklist(file_path):
not file_path.endswith('isolate') and
not '/webrtc/test/testsupport/' in file_path and
not file_path.startswith('net/test/') and
- not file_path.endswith('mock_chrome_application_mac.h'))
+ not file_path.endswith('mock_chrome_application_mac.h') and
+ not file_path.endswith('perftimer.h'))
or file_path.endswith('.java')
or file_path.startswith('android_webview')
or file_path.startswith('apps/')
- or file_path.startswith('ash/')
or file_path.startswith('base/android/java')
or file_path.startswith('breakpad')
or file_path.startswith('build/android/')
or (file_path.startswith('chrome/') and
not 'repack_locales' in file_path and
- not file_path.endswith('version.py'))
+ not file_path.endswith('version.py') and
+ not 'resources' in file_path and
+ not 'theme' in file_path and
+ not '.grd' in file_path and
+ not '.json' in file_path)
or file_path.startswith('chrome_frame')
or file_path.startswith('chromeos')
or file_path.startswith('cloud_print')
@@ -119,7 +123,6 @@ def isInChromiumBlacklist(file_path):
or file_path.startswith('third_party/aosp')
or file_path.startswith('third_party/apache-mime4j')
or file_path.startswith('third_party/apple_sample_code')
- or file_path.startswith('third_party/cacheinvalidation')
or file_path.startswith('third_party/chromite')
or file_path.startswith('third_party/cld_2')
or file_path.startswith('third_party/codesighs')
@@ -127,6 +130,7 @@ def isInChromiumBlacklist(file_path):
or file_path.startswith('third_party/cros_system_api')
or file_path.startswith('third_party/eyesfree')
or file_path.startswith('third_party/findbugs')
+ or file_path.startswith('third_party/gnu_binutils')
or file_path.startswith('third_party/gtk+')
or file_path.startswith('third_party/guava/src')
or file_path.startswith('third_party/httpcomponents-client')
@@ -137,8 +141,14 @@ def isInChromiumBlacklist(file_path):
or file_path.startswith('third_party/jsr-305/src')
or file_path.startswith('third_party/libphonenumber')
or file_path.startswith('third_party/lighttpd')
+ or file_path.startswith('third_party/mingw-w64')
+ or file_path.startswith('third_party/nacl_sdk_binaries')
or file_path.startswith('third_party/pdfsqueeze')
+ or file_path.startswith('third_party/pefile')
+ or file_path.startswith('third_party/psyco_win32')
+ or file_path.startswith('third_party/python_26')
or file_path.startswith('third_party/scons-2.0.1')
+ or file_path.startswith('third_party/syzygy')
or file_path.startswith('third_party/swig')
or (file_path.startswith('third_party/trace-viewer') and
not file_path.endswith('.template') and
@@ -148,6 +158,7 @@ def isInChromiumBlacklist(file_path):
not file_path.endswith('.png') and
not '/build/' in file_path)
or file_path.startswith('third_party/webgl_conformance')
+ or file_path.startswith('third_party/xulrunner-sdk')
or file_path.startswith('tools/android')
or file_path.startswith('tools/deep_memory_profiler')
or file_path.startswith('tools/gn')
@@ -155,9 +166,10 @@ def isInChromiumBlacklist(file_path):
or file_path.startswith('tools/perf')
or file_path.startswith('tools/swarm_client')
or file_path.startswith('tools/telemetry')
- or file_path.startswith('tools/win')
+ or (file_path.startswith('tools/win') and
+ not 'toolchain' in file_path)
or file_path.startswith('ui/android/java')
- or file_path.startswith('win8')
+
):
return True
return False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment