[webkit-help] Trouble Compiling Chromium Android port

Joseph Sheckels joesheckels at gmail.com
Tue Jul 10 16:46:23 PDT 2012

Hey all,

So I've been having trouble getting the Chromium Android port of WebKit to
build for me.
I'm trying to achieve this on Ubuntu 10.04 (Linux joe 2.6.32-38-generic
#83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 2012 x86_64 GNU/Linux).

The error I'm getting is as follows:
package android.os does not exist
    [javac] import android.os.Looper;
    [javac]                  ^
package android.content does not exist
    [javac] import android.content.Context;
    [javac]                       ^
package android.content.pm does not exist
..... (There are a bunch of these)
cannot find symbol
    [javac] symbol  : class Context
    [javac] location: class org.chromium.base.WeakContext
    [javac]         final Context context = sWeakContext.get();
    [javac]               ^
    [javac] 64 errors

Compile failed; see the compiler error output for details.

Total time: 2 seconds
make: *** [out/Release/lib.java/chromium_base.jar] Error 1
make: *** Waiting for unfinished jobs....

I'm fairly new to all this, but from what I've tried to find out about this
it seems like it's possibly a classpath issue?
I was also thinking maybe it's an issue with the version of Java I'm using?
joe at joe:~/Documents/WebKit/Tools/Scripts$ java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.13) (6b20-1.9.13-0ubuntu1~10.04.1)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

Though I did download and set up Java JDK 6 directly from Sun and set
JAVA_HOME to the path in /usr/lib so I'm not sure that's the problem. I
also did the export for ANDROID_SDK_ROOT to my sdk install location at
/home/joe/Documents/android-sdk. Is that perhaps not correct? It just feels
like I have missed something fundamental and I can't for the life of me
figure out what that is.

Thanks very much in advance for any help or insights you can provide!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120710/ddf947d9/attachment.html>

More information about the webkit-help mailing list