mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
aa3d2d50d7
a=edburns bug=32011 This change enables the current webclient API to be called from native code. It adds makefile and conditional compilation logic. If the user defines BAL_INTERFACE in their environment before building webclient, -DBAL_INTERFACE is added to LCFLAGS. This causes code in jni_util_export.cpp to behave differently due to the conditional compilation logic. I've broken out the 8 functions that are necessary to call into the Webclient JNI methods into jni_util_export.{h,cpp}. I've created a new pair of files, bal_util.{h,cpp} that contain function declarations and definitions that are used when src_moz is built with BAL_INTERFACE. bal_util.obj is not built, nor added to webclient.dll if building without BAL_INTERFACE. See the page http://www.mozilla.org/projects/blackwood/webclient/design/uno-transition.html for a design document description of these changes. |
||
---|---|---|
.. | ||
win32 | ||
jni.h | ||
README |
This directory contains the redefined jni.h for using webclient without using java. This directory should only be refferenced when building the code in ../src_moz with BAL_INTERFACE=1.