Index: content/public/android/java/templates/native_libraries_array.h |
diff --git a/content/public/android/java/templates/native_libraries_array.h b/content/public/android/java/templates/native_libraries_array.h |
index a86c574c6089ce4e1ef62cf47430cad4ef9f4e81..19d14f946a20a8a5a9baf0464175e144b8bf275d 100644 |
--- a/content/public/android/java/templates/native_libraries_array.h |
+++ b/content/public/android/java/templates/native_libraries_array.h |
@@ -6,3 +6,15 @@ |
// is compiled with no array defined, and then the build system creates a |
// version of the file with the real list of libraries required (which changes |
// based upon which .apk is being built). |
+ |
+// The result of including this template in the NativeLibraries.template has to |
+// compile. Since LIBRARIES is final in NativeLibraries.template we have to |
+// initalize it with something to allow the resulting Java file to compile. |
+// By including this file we will get: |
+// |
+// public static final String[] LIBRARIES |
+// ={} |
+// ; |
+// |
+// Which does compile. |
+={} |