Software_Platform/Android

Android partial compile (service만 build) framework base만 build

Roien 2015. 5. 31.
반응형


  1] partial build

    in the location where android.mk file exists, partial build can be done
    
    ex.
    touch system/bluetooth/bluedroid/bluetooth.c
    
        android/system/bluetooth/bluedroid/bluetooth.c
        -->
        
        mmm system/bluetooth/bluedroid/
    
    or
    
        cd system/bluetooth/bluedroid/
        mm      <-- mm is always used in which Android.mk file exists


    2] service만 build (@ L)
    
        ex. UsbDeviceManager.java file 수정
        (@ frameworks/base/services/usb/java/com/android/server/usb/)
        
        build
        mmm ./frameworks/base/services
        
        적용 
        android\out\target\product\arabica에서
        adb push system\framework\services.jar /system/framework/

Google 광고삽입


반응형

댓글