1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 package org.chromium.base.library_loader; 6 7 /** 8 * This class defines the native libraries and loader options required by webview 9 */ 10 public class NativeLibraries { 11 // Set to true to use the chromium linker. Only useful to save memory 12 // on multi-process content-based projects. Always disabled for the Android Webview. 13 public static boolean USE_LINKER = false; 14 15 // Set to true to directly load the library from the zip file using the 16 // chromium linker. Always disabled for Android Webview. 17 public static boolean USE_LIBRARY_IN_ZIP_FILE = false; 18 19 // Set to true to enable chromium linker test support. NEVER enable this for the 20 // Android webview. 21 public static boolean ENABLE_LINKER_TESTS = false; 22 23 // This is the list of native libraries to load. In the normal chromium build, this would be 24 // automatically generated. 25 // TODO(torne, cjhopman): Use a generated file for this. 26 static final String[] LIBRARIES = { "webviewchromium" }; 27 // This should match the version name string returned by the native library. 28 // TODO(aberent) The Webview native library currently returns an empty string; change this 29 // to a string generated at compile time, and incorporate that string in a generated 30 // replacement for this file. 31 static String VERSION_NUMBER = ""; 32 } 33