[webkit-help] update chromium android error

Vinodh S vinodh.sundararajan at gmail.com
Fri Oct 26 17:27:13 PDT 2012


Hey Justin,

The CHROME_SRC variable should point to the top of your chromium src tree.
For example: if your chromium code is under:

</home/user/chrome/>

then CHROME_SRC = </home/user/chrome/src>

Set that environment variable and then it should work fine.

-Vinodh

On Fri, Oct 26, 2012 at 5:23 PM, Justin Saunders <jaytek at gmail.com> wrote:

> Hi Victor,
>
> Did you eventually build and run this successfully?
>
> I'm also trying to build WebKit for Android on MacOS. I get a slightly
> different error - I can't find any information about the CHROME_SRC
> environment variable:
>
> *$ ./update-webkit --chromium-android*
> Updating OpenSource
> Updating chromium port dependencies using gclient...
> Syncing projects:  98% (50/51), done.party/openssl
> ...
> ________ running '/usr/bin/python gyp_webkit' in
> '/Users/justinsaunders/Desktop/WebKit/Source/WebKit/chromium'
> readlink: illegal option -- f
> usage: readlink [-n] [file ...]
> CHROME_SRC must be set to the path of Chrome source code.
> Error: Command /usr/bin/python gyp_webkit returned non-zero exit status 1
> in /Users/justinsaunders/Desktop/WebKit/Source/WebKit/chromium
> Re-trying 'depot_tools/gclient sync --deps=unix,android'
> Syncing projects:  98% (50/51), done.
>
> Can anyone offer some clues? I've downloaded both the Android SDK, NDK and
> set my ANDROID_ROOT_SDK env variable as per instructions here:
> http://trac.webkit.org/wiki/Chromium
>
> Thanks,
> Justin.
>
> *I use ./update-webkit   --chromium-android  in MAC LION platform  and
> result in the following error:*
>
> *________ running '/usr/bin/python tools/clang/scripts/update.py
> --mac-only' in '/soft/svn/webkit (trunk)/Source/WebKit/chromium'*
>
> *Clang already at 153589*
>
> *
> *
>
> *________ running '/usr/bin/python gyp_webkit' in '/soft/svn/webkit
> (trunk)/Source/WebKit/chromium'*
>
> *bash: -c: line 0: syntax error near unexpected token `('*
>
> *bash: -c: line 0: `source /soft/svn/webkit
> (trunk)/Source/WebKit/chromium/build/android/envsetup.sh && python
> gyp_webkit --no-envsetup-recursion '*
>
> *Error: Command /usr/bin/python gyp_webkit returned non-zero exit status
> 2 in /soft/svn/webkit (trunk)/Source/WebKit/chromium*
>
> *Re-trying 'depot_tools/gclient sync --deps=unix,android'*
>
> *Syncing projects:  98% (49/50), done.party/freetype   *
>
> *Best regards.*
>
> *Victor LI*
>
> *rtjava at hotmail.com*<http://lists.webkit.org/mailman/listinfo.cgi/webkit-help>
>
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-help
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20121026/3dd0b558/attachment.html>


More information about the webkit-help mailing list