diff options
author | simonb@chromium.org <simonb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-28 16:50:41 +0000 |
---|---|---|
committer | simonb@chromium.org <simonb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-28 16:50:41 +0000 |
commit | 9e093ef9c743d3039f1be5e72d89d5d0a585a281 (patch) | |
tree | 4e0620036b13dce77deb470400fc9217faa1b18a /base/android | |
parent | 6c4b79604e140b0e40c28a8c8b29d67197325ead (diff) | |
download | chromium_src-9e093ef9c743d3039f1be5e72d89d5d0a585a281.zip chromium_src-9e093ef9c743d3039f1be5e72d89d5d0a585a281.tar.gz chromium_src-9e093ef9c743d3039f1be5e72d89d5d0a585a281.tar.bz2 |
Unconditionally log chromium android linker errors.
Always print crazy linker error messages to logcat, instead of only when
debug tracing is enabled.
Before:
E/chromium_android_linker(11242): Unable to load library: libchrome.2016.0.so
After:
E/chromium_android_linker(11641): LoadLibrary: Could not open libchrome.2016.0.so: Could not find symbol 'isnanf'
E/chromium_android_linker(11641): Unable to load library: libchrome.2016.0.so
BUG=376828
Review URL: https://codereview.chromium.org/298323002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273269 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/android')
-rw-r--r-- | base/android/linker/linker_jni.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/base/android/linker/linker_jni.cc b/base/android/linker/linker_jni.cc index 46aa45d..bd03e02 100644 --- a/base/android/linker/linker_jni.cc +++ b/base/android/linker/linker_jni.cc @@ -28,11 +28,10 @@ #if DEBUG #define LOG_INFO(...) __android_log_print(ANDROID_LOG_INFO, TAG, __VA_ARGS__) -#define LOG_ERROR(...) __android_log_print(ANDROID_LOG_ERROR, TAG, __VA_ARGS__) #else #define LOG_INFO(...) ((void)0) -#define LOG_ERROR(...) ((void)0) #endif +#define LOG_ERROR(...) __android_log_print(ANDROID_LOG_ERROR, TAG, __VA_ARGS__) #define UNUSED __attribute__((unused)) |