Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Unified Diff: sky/shell/ios/main_ios.mm

Issue 1185813005: Add temporary workaround for boringssl attempting to access the auxillary vector (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/ios/main_ios.mm
diff --git a/sky/shell/ios/main_ios.mm b/sky/shell/ios/main_ios.mm
index f0020606e2c9542e8781b6937f4849f9615f6ccc..b0eb2042a8ad8fc219a1c37ab46e7ed65a7f1275 100644
--- a/sky/shell/ios/main_ios.mm
+++ b/sky/shell/ios/main_ios.mm
@@ -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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698