Add temporary workaround for boringssl attempting to access the auxillary vector

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/1185813005.
This commit is contained in:
Chinmay Garde 2015-06-16 17:16:04 -07:00
parent 252291dc3a
commit fd3aa9f29f

View File

@ -12,6 +12,16 @@
#include "base/mac/scoped_nsautorelease_pool.h"
#include "ui/gl/gl_surface.h"
extern "C" {
// TODO(csg): HACK! boringssl accesses this on Android using a weak symbol
// instead of a global. Till the patch for that lands and propagates to Sky, we
// specify the same here to get workable builds on iOS. This is a hack! Will
// go away.
unsigned long getauxval(unsigned long type) {
return 0;
}
}
static void InitializeLogging() {
logging::LoggingSettings settings;
settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG;