Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index ae9c4611c3638d913fb7b7315c487ee114675a75..f6bcea24b4d87f0abe43f367b203f1a3b616492f 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -2528,6 +2528,11 @@ |
['OS=="android"', { |
'variables': { |
'target_arch%': 'arm', # target_arch in android terms. |
+ # The location where debug symbols are archived. This is written to the |
+ # device log on crashes just prior to dropping a tombstone so that |
+ # tools can locate the symbols from the crash log. This is added to the |
+ # Gyp defines by the buildbots that actually archive symbols. |
Lei Zhang
2012/09/06 19:13:36
s/Gyp defines/GYP_DEFINES/ ?
cjhopman
2012/09/07 18:09:20
Done.
|
+ 'chrome_symbols_location%': '', |
'conditions': [ |
# Android uses x86 instead of ia32 for their target_arch designation. |
['target_arch=="ia32"', { |
@@ -2612,6 +2617,7 @@ |
'__GNU_SOURCE=1', # Necessary for clone() |
'USE_STLPORT=1', |
'_STLP_USE_PTR_SPECIALIZATIONS=1', |
+ 'CHROME_SYMBOLS_LOCATION="<(chrome_symbols_location)"', |
], |
'ldflags!': [ |
'-pthread', # Not supported by Android toolchain. |