1. HUGE Androidforums.com UPDATE! Learn what's new (and download the new app!)
    Dismiss Notice

Recompiling a native shared library

Last Updated:

  1. tareqhs

    tareqhs Member This Topic's Starter

    Jan 5, 2010
    Likes Received:

    I'm trying to modify the internal native Skia libraries and I'm facing some difficulties. Below is related to Donut r2 (branch donut-release2).

    I cloned the relevant branch of Skia and the projects it depends on from the git repository. Initially I tried cloning and modifying the build.git project, but I couldn't figure out how to force it into building specific projects instead of the whole platform.

    Then I built manually with the NDK, but this didn't make it because the Skia project requires pthread library (strange, thought thread functions are in libcutils in Android...). When commenting out the -ldpthread in the make, the built library is about 5 times normal size, strangely, and doesn't work.

    Can you please help me? I need to make a valid rebuild of the shared libraries of Skia..

    Note: All above is before applying any source modifications!

    Thank you


Share This Page