Add UMA for testing whether the Chromium library was page aligned in the APK file.
commit2a112d50b0a28f82a519e194230b7de91ee21023
authorpetrcermak <petrcermak@chromium.org>
Wed, 29 Oct 2014 11:06:56 +0000 (29 04:06 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 29 Oct 2014 11:07:11 +0000 (29 11:07 +0000)
treeafde719e7d447a973c10b5027cde26e2ba14c9eb
parent9b26716f12e1c458e9b5cc10ea53c560220e3311
Add UMA for testing whether the Chromium library was page aligned in the APK file.

The following histogram is added:

  ChromiumAndroidLinker.LibraryAlignedInApk
    Whether the Chromium library is page aligned in the APK file. The
    functionality is checked and reported during every Chromium browser process
    start up if direct library loading from the APK file is enabled.

BUG=

Review URL: https://codereview.chromium.org/684453003

Cr-Commit-Position: refs/heads/master@{#301813}
12 files changed:
base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java
base/android/java/src/org/chromium/base/library_loader/Linker.java
base/android/library_loader/library_load_from_apk_status_codes.h
base/android/linker/linker_jni.cc
third_party/android_crazy_linker/src/include/crazy_linker.h
third_party/android_crazy_linker/src/src/crazy_linker_api.cpp
third_party/android_crazy_linker/src/src/crazy_linker_library_list.cpp
third_party/android_crazy_linker/src/src/crazy_linker_library_list.h
third_party/android_crazy_linker/src/src/crazy_linker_util.h
third_party/android_crazy_linker/src/src/crazy_linker_zip.cpp
third_party/android_crazy_linker/src/src/crazy_linker_zip.h
tools/metrics/histograms/histograms.xml