.rc file

74 views
Skip to first unread message

davi...@gmail.com

unread,
Apr 6, 2009, 2:33:29 PM4/6/09
to android-platform
There are more than a "init.rc" files in the android, how those ".rc"
start running? (such uuidd.rc)


./android/bootable/recovery/etc/init.rc
./android/bootable/diskinstaller/init.rc
./android/out/target/product/surf_8x50/root/init.rc
./android/out/target/product/surf_8x50/root/init.goldfish.rc
./android/out/target/product/surf_8x50/recovery/root/init.rc
./android/out/target/product/surf_8x50/recovery/root/init.goldfish.rc
./android/external/e2fsprogs/misc/uuidd.rc
./android/external/webkit/WebCore/WebCore.vcproj/QTMovieWin.rc
./android/external/webkit/WebKit/win/WebKit.vcproj/WebKit.rc
./android/external/webkit/WebKitTools/WinLauncher/WinLauncher.rc
./android/external/webkit/WebKitTools/DumpRenderTree/win/
TestNetscapePlugin/TestNetscapePlugin.rc
./android/external/webkit/WebKitTools/FindSafari/FindSafari.rc
./android/external/zlib/win32/zlib1.rc
./android/external/zlib/contrib/vstudio/vc7/zlib.rc
./android/external/zlib/contrib/vstudio/vc8/zlib.rc
./android/external/icu4c/layout/layout.rc
./android/external/icu4c/samples/layout/LayoutSample.rc
./android/external/icu4c/common/common.rc
./android/external/icu4c/io/io.rc
./android/external/icu4c/i18n/i18n.rc
./android/external/icu4c/data/misc/icudata.rc
./android/external/icu4c/layoutex/layoutex.rc
./android/external/libpng/scripts/pngw32.rc
./android/external/libpng/contrib/visupng/VisualPng.rc
./android/external/elfutils/splint.rc
./android/external/qemu/images/android_icon.rc
./android/system/core/rootdir/init.rc
./android/system/core/rootdir/etc/init.goldfish.rc

thanks

David Turner

unread,
Apr 7, 2009, 3:55:24 AM4/7/09
to android-...@googlegroups.com
the ".rc" extension is not really standardized and these files correspond to very different things.
For example:

android/system/core/rootdir/init.rc
is the top-level /init.rc that will end up being executed by the 'init' process at boot

android/system/core/rootdor/etc/init.goldfish.rc
is the emulator-specific instructions for 'init' that are only run in the emulator

android/external/qemu/images/android_icon.rc
is a Windows "resource" file used to embed the Android icon into the final Windows executable when generating the emulator.

other .rc files are probably "resource containers" or stuff like that that were inherited by various external projects and probably not used in Android at all. You will have to look at the modules where they are used to be sure.
Reply all
Reply to author
Forward
0 new messages