Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / content / public / android / java / templates / native_libraries_array.h
index a86c574..19d14f9 100644 (file)
@@ -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.
+={}