On 7月12日, 上午2時58分, freakingtux <kees.jongenbur...@gmail.com> wrote: > Hi > > > > > > > > > > On Monday, July 11, 2011 1:51:35 PM UTC+2, David wrote: > > > Hi, > > > I am working on a customized android system based on 2.3.3. I want > > to add a new class in java framework. > > So I create a folder called foo under /framework/base and add this > > folder name in /build/core/pathmap.mk. > > > I follow the structure /framework/core and arrange my own module > > like > > > /framework/foo/ > > -> java/ > > -> com/test/foo/TestApi.java > > -> jni/ > > -> Android.mk > > TestApi.cpp > > > do you have a top level Makefile? Does it include the Android.mk in jni? > > Try making a single example that allow posting error messages to this list >
I don't see any top level Android.mk in /framework/base/core, so I do not add Android.mk it under /foo . The Android.mk is parsed but the build system does not compile TestApi.cpp. But when I manually call mmm /framework/foo/jin, the lib is built OK. So I guess if there is some setting here that I missed, since the pathmap.mk seems handles only Java package. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting