mojo: Move initialization of the embedder in java.
commit009487f75b3905bf759c8b4430fed474f3d5b04e
authorqsr <qsr@chromium.org>
Fri, 5 Sep 2014 08:20:18 +0000 (5 01:20 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 5 Sep 2014 08:22:54 +0000 (5 08:22 +0000)
tree6067be2cde3cb650d650a230ac40f2c94eaef02f
parent2ee5f5df065a9b2f4a54eaa16d179be0c5a8319f
mojo: Move initialization of the embedder in java.

The embedder was initialized in the constructor of CoreImpl. This is not
correct, because when it will be used in Chromium, the embedder is
initialized by the native code.

This remove the initialization from CoreImpl. Instead, for tests,
initialize it when loading the native library.

R=ppi@chromium.org

Review URL: https://codereview.chromium.org/544603002

Cr-Commit-Position: refs/heads/master@{#293475}
mojo/android/javatests/init_library.cc
mojo/android/system/core_impl.cc
mojo/android/system/src/org/chromium/mojo/system/impl/CoreImpl.java