Index: build/sanitizers/sanitizers.gyp |
diff --git a/build/sanitizers/sanitizers.gyp b/build/sanitizers/sanitizers.gyp |
index d971d6d1c35b1e905b6f11f9fc23d57b755f26a9..c6ce6c2f7888c6cfe66d125593d646bc7e3e181c 100644 |
--- a/build/sanitizers/sanitizers.gyp |
+++ b/build/sanitizers/sanitizers.gyp |
@@ -56,6 +56,28 @@ |
], |
}, |
}, |
+ { |
+ # Copy llvm-symbolizer to the product dir so that LKGR bots can package it. |
+ 'target_name': 'llvm-symbolizer', |
+ 'type': 'none', |
+ 'variables': { |
+ # Path is relative to this GYP file. |
+ 'llvm_symbolizer_path': |
+ '../../third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer', |
+ }, |
+ 'conditions': [ |
+ ['clang==1', { |
+ 'copies': [ |
+ { |
+ 'destination': '<(PRODUCT_DIR)', |
+ 'files': [ |
+ '<(llvm_symbolizer_path)', |
+ ], |
+ }, |
+ ], |
+ }], |
+ ], |
+ }, |
], |
} |