Home | History | Annotate | Download | only in library_loader
      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 enable chromium linker test support. NEVER enable this for the
     16     // Android webview.
     17     public static boolean ENABLE_LINKER_TESTS = false;
     18 
     19     // This is the list of native libraries to load. In the normal chromium build, this would be
     20     // automatically generated.
     21     // TODO(torne, cjhopman): Use a generated file for this.
     22     static final String[] LIBRARIES = { "webviewchromium" };
     23     // This should match the version name string returned by the native library.
     24     // TODO(aberent) The Webview native library currently returns an empty string; change this
     25     // to a string generated at compile time, and incorporate that string in a generated
     26     // replacement for this file.
     27     static String VERSION_NUMBER = "";
     28 }
     29