Index: tools/find_runtime_symbols/util.py |
diff --git a/tools/find_runtime_symbols/util.py b/tools/find_runtime_symbols/util.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..87daf434946fbad67a91725f686301e19269f257 |
--- /dev/null |
+++ b/tools/find_runtime_symbols/util.py |
@@ -0,0 +1,10 @@ |
+# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import re |
+ |
+def executable_condition(entry): |
+ return (entry.executable == 'x' and re.match( |
+ '\S+(\.(so|dll|dylib|bundle)|chrome)((\.\d+)+\w*(\.\d+){0,3})?', |
+ entry.name)) |