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.
5 package org.chromium.base.library_loader;
8 * This class defines the native libraries and loader options required by webview
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 sUseLinker = false;
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 sUseLibraryInZipFile = false;
19 // Set to true to enable chromium linker test support. NEVER enable this for the
21 public static boolean sEnableLinkerTests = false;
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 sVersionNumber = "";