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

Unified Diff: content/public/android/java/src/org/chromium/content/app/NativeLibraries.java

Issue 12939021: Make the build control what library(/ies) to load (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@antpy
Patch Set: Created 7 years, 9 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
Index: content/public/android/java/src/org/chromium/content/app/NativeLibraries.java
diff --git a/content/public/android/java/src/org/chromium/content/app/NativeLibraries.java b/content/public/android/java/src/org/chromium/content/app/NativeLibraries.java
new file mode 100644
index 0000000000000000000000000000000000000000..8f04eccf9d7cd16e484f10bcc0a136ab19b34dce
--- /dev/null
+++ b/content/public/android/java/src/org/chromium/content/app/NativeLibraries.java
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
joth 2013/03/26 19:16:26 nix (c) 2013
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.content.app;
+
+public class NativeLibraries {
joth 2013/03/26 19:16:26 I'm wary about giving this class the .java extensi
cjhopman 2013/03/26 21:15:37 It has to be syntactically compatible with Java as
+ // This is the list of native libraries to be loaded by LibraryLoader.java.
+ // The build system creates a version of this file with the placeholder below replaced with a
+ // constant list of the correct libraries to load (in the correct order).
+ static String[] libraries /*****/;
bulach 2013/03/26 19:02:15 I like the idea of injecting this, but not quite l
cjhopman 2013/03/26 21:15:37 I had considered using java_cpp_template.gypi but
+}
+

Powered by Google App Engine
This is Rietveld 408576698