Compiling clank (Chrome for Android) from the source gives an error: stdio.h: There is no such file or directory

I am trying to compile clank (now called Chrome for Android?) With 268MB chrome_android.v18.0.1025123.tgz mentioned here: https://developers.google.com/chrome/mobile/docs/faq

I followed README.Chrome_for_Android_SourceDistribution and created Android from master at http://src.chromium.org/chrome/trunk/src (as of 7/31/2012).

Then I got to the part where I create clunk with:

cd external/chrome && . build/android/envsetup.sh && clank_gyp && make -j16 libchromeview.so

At first, I missed some of the dependencies that were not mentioned, which were easily fixed with:

sudo apt-get install libgtk2.0-dev libgconf2-dev libgnome-keyring-dev libdbus-glib-1-dev libudev-dev 

And now I see compilation errors as follows:

 In file included from third_party/skia/include/core/SkTypes.h:15:0,
             from third_party/skia/include/core/SkTime.h:13,
             from third_party/skia/src/animator/SkTime.cpp:10:
 third_party/skia/include/core/SkPostConfig.h:145:27: fatal error: stdio.h: No such file or directory

I see stdio.h in many folders inside the android source.

, ? ?

P.S. Ubuntu12.04-amd64, clunk Nexus 7.

+1
2

, . , :

export V = 1

, include :

-I/home/alex/android/master/prebuilt/ndk/android-ndk-r8/platforms/android-9/arch-arm/usr/include

".../prebuilds/...", ".../prebuild/...":

-I/home/alex/android/master/prebuilts/ndk/android-ndk-r8/platforms/android-9/arch-arm/usr/include

:

ln -s /home/alex/android/master/prebuilts /home/alex/android/master/prebuilt

.

, , , .

+2

All Articles