Open MrTranduchuy opened 10 years ago
You should checkout my branch, for example: michael@core:/tmp/src$ michael@core:/tmp/src$ git clone https://github.com/omxcodec/android_frameworks_native.git Cloning into 'android_frameworks_native'... remote: Finding bitmap roots... remote: Reusing existing pack: 77782, done. remote: Counting objects: 36, done. remote: Compressing objects: 100% (27/27), done. remote: Total 77818 (delta 23), reused 22 (delta 9) Receiving objects: 100% (77818/77818), 20.49 MiB | 239 KiB/s, done. Resolving deltas: 100% (24014/24014), done. michael@core:/tmp/src$ cd android_frameworks_native/ michael@core:/tmp/src/android_frameworks_native$ git checkout cm_maguro-10.1 Already on 'cm_maguro-10.1' michael@core:/tmp/src/android_frameworks_native$ michael@core:/tmp/src/android_frameworks_native$ ls build cmds data include libs MODULE_LICENSE_APACHE2 NOTICE opengl services michael@core:/tmp/src/android_frameworks_native$ grep USES_NAM * -r include/media/openmax/OMX_Video.h:#ifdef USES_NAM include/media/openmax/OMX_Video.h:#ifdef USES_NAM include/media/openmax/OMX_Video.h:#endif //USES_NAM include/media/openmax/OMX_Audio.h:#ifdef USES_NAM include/media/openmax/OMX_Audio.h:#ifdef USES_NAM include/media/openmax/OMX_Audio.h:#endif //USES_NAM include/media/openmax/OMX_Index.h:#ifdef USES_NAM michael@core:/tmp/src/android_frameworks_native$ michael@core:/tmp/src/android_frameworks_native$
Now, you can see USES_NAM flag.
android_frameworks_av and android_external_ffmpeg are also a similar method
Sorry,
But I follow your guide and I am on stuck in here:
[quote] you should merge my android_frameworks_native(branch: cm_maguro-10.1) and android_frameworks_av(branch: cm_maguro-10.1) code. once you do, you should pay attention to the "USES_NAM" flag, it is only in the "android/frameworks/native" and "android/frameworks/av" directories.
Compile add USES_NAM flag to COMMON_GLOBAL_CFLAGS in your android build system(e.g. my device: maguro) vi vendor/samsung/maguro/BoardConfigVendor.mk and add this line to it COMMON_GLOBAL_CFLAGS += -DUSES_NAM then compile your android source tree again! [/quote]
Would you like to tell me in more details? I merged two folders, but I can not find the "USES_NAM" flag, as "android/frameworks/native" and "android/frameworks/av" also.
I used "git clone" correctly,
[quote]
I don't really understand which next thing I need to do. Please tell me, Really thanks,
p/s : Galaxy Tab 7 Froyo 2.2.1 Develop on Windows