1. Check out our companion app, Forums for Android! Download from Google Play

Recompiling a native shared library

Discussion in 'Application Development' started by tareqhs, Mar 2, 2010.

  1. tareqhs

    tareqhs Member
    Thread Starter

    Jan 5, 2010

    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