torne@chromium.org
8787f0ce81
Revert 275652 "Remove unneeded JNI registrations."
...
This has broken the Android WebView build by introducing an absolute
path into the generated makefiles, rendering them nonportable.
> Remove unneeded JNI registrations.
>
> Rather than registering all jni bindings at startup, only get references
> to the class object for those files which require bindings. All others
> are satisfied by exporting symbols which can be found automatically by
> dalvik.
>
> This patch replaces excldue-libs=ALL with ld version script to strip unwanted
> symbols: https://sourceware.org/binutils/docs-2.24/ld/VERSION.html#VERSION
>
> BUG=
>
> Review URL: https://codereview.chromium.org/147533004
TBR=sl.ostapenko@samsung.com
Review URL: https://codereview.chromium.org/326603002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@275796 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-09 11:33:38 +00:00
sl.ostapenko@samsung.com
7737adfc4c
Remove unneeded JNI registrations.
...
Rather than registering all jni bindings at startup, only get references
to the class object for those files which require bindings. All others
are satisfied by exporting symbols which can be found automatically by
dalvik.
This patch replaces excldue-libs=ALL with ld version script to strip unwanted
symbols: https://sourceware.org/binutils/docs-2.24/ld/VERSION.html#VERSION
BUG=
Review URL: https://codereview.chromium.org/147533004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@275652 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-07 08:44:55 +00:00
bulach@chromium.org
c4dfd98310
Android: sync up latest JNI generator changes from downstream.
...
Quite a few changes were made downstream, keep them in sync:
- specify the #include files.
- inject the common DCHECKs for class and native pointers.
- inject the check exception call.
BUG=
Review URL: https://codereview.chromium.org/115103002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@243558 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-08 14:41:13 +00:00
ycheo@chromium.org
00b7e4e358
jar_file_jni_generator accepts jar_input_file optionally
...
BUG=
Review URL: https://chromiumcodereview.appspot.com/12710012
git-svn-id: http://src.chromium.org/svn/trunk/src/build@190585 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-26 08:03:53 +00:00
torne@chromium.org
ec96cb94c8
Android: factor out use of SDK jar.
...
Specify the path to the Android SDK main jarfile in a single location so
that it can be overridden by the WebView build.
BUG=
TBR=fischman@chromium.org ,brettw@chromium.org
Review URL: https://codereview.chromium.org/12524008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@188737 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-18 15:05:04 +00:00
yfriedman@chromium.org
da06ce8ed8
[Android] Change jni_gen_dir to jni_gen_package for jni_generator.
...
With the old name it was getting relativized which is undesirable. See
bug for more details.
BUG=159133
TBR=ben (nobody really cares about this outside of build/ which cjhopman approved)
Review URL: https://chromiumcodereview.appspot.com/12558005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@186803 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-07 22:34:05 +00:00
tedchoc@chromium.org
7a45e488db
Add gyp flag to specify whether we should optimize JNI generation.
...
Do not regenerate JNI files (and subsequently the .so file) if they have
not changed. This will happen if you edit a java file that has a native
counterpart, but the native signatures were not touched.
We do not enable this all the time as some build systems require that
when you modify an input, the output should also be modified. This
also will result in more command line output, so we'll keep it behind
a developer flag for now.
BUG=
Review URL: https://chromiumcodereview.appspot.com/12314025
git-svn-id: http://src.chromium.org/svn/trunk/src/build@183936 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-22 00:37:33 +00:00
felipeg@chromium.org
263381e1b6
Upstreaming AndroidProtocolAdapter.
...
We currently don't have a way of compiling or running java unittests upstream.
So the java unittest for AndroidProtocolAdapter is being done only downstream for now.
It should be upstreamed once we can.
BUG=136983
TEST=
Review URL: https://chromiumcodereview.appspot.com/10832034
git-svn-id: http://src.chromium.org/svn/trunk/src/build@149653 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-02 18:04:49 +00:00