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

Side by Side Diff: content/public/android/java/templates/NativeLibraries.template

Issue 23717023: Android: Add chrome-specific dynamic linker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove findbugs issues. Created 7 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.content.app; 5 package org.chromium.content.app;
6 6
7 public class NativeLibraries { 7 public class NativeLibraries {
8 // Set to true to enable the use of the Chrome Linker.
9 #if defined(ENABLE_CRAZY_LINKER)
10 public static boolean USE_CRAZY_LINKER = true;
bulach 2013/09/09 16:14:15 nit: final
digit1 2013/09/10 09:23:30 Ah, this is _really_ subtle, this can't get final
11 #else
12 public static boolean USE_CRAZY_LINKER = false;
13 #endif
14
8 // This is the list of native libraries to be loaded (in the correct order) 15 // This is the list of native libraries to be loaded (in the correct order)
9 // by LibraryLoader.java. The content java library is compiled with no 16 // by LibraryLoader.java. The content java library is compiled with no
10 // array defined, and then the build system creates a version of the file 17 // array defined, and then the build system creates a version of the file
11 // with the real list of libraries required (which changes based upon which 18 // with the real list of libraries required (which changes based upon which
12 // .apk is being built). 19 // .apk is being built).
13 // TODO(cjhopman): This is public since it is referenced by ChromeNativeTest Activity.java 20 // TODO(cjhopman): This is public since it is referenced by ChromeNativeTest Activity.java
14 // directly. The two ways of library loading should be refactored into one. 21 // directly. The two ways of library loading should be refactored into one.
15 public static String[] libraries 22 public static String[] libraries
16 #include <native_libraries_array.h> 23 #include <native_libraries_array.h>
17 ; 24 ;
18 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698