worktools-mmx 添加编译模块
1,添加模块到mmx.py文件
1>vim /home/zhangshuli/git/vanzo_team/xulei/mmx.py
2>按照格式"Gallery2":"packages/apps/Gallery2",appname(应用名)+:+modulename(包名)
在相应的module_path文件夹下添加相应模块信息
module_path = { "Contacts":"packages/apps/Contacts", "Sales":"packages/apps/Sales", "Settings":"packages/apps/Settings", "Mms":"packages/apps/Mms", "Dialer":"packages/apps/Dialer", "Phone":"packages/apps/Phone", "Music":"packages/apps/Music", "Gallery2":"packages/apps/Gallery2", "Launcher2":"packages/apps/Launcher2", "Launcher3":"vendor/tmobile/apps/Trebuchet", "Browser":"packages/apps/Browser", "FactoryMode":"mediatek/packages/apps/FactoryMode", "WallpaperChooser":"mediatek/packages/apps/WallpaperChooser", "FMRadio":"mediatek/packages/apps/FMRadio", "LivePicker":"packages/wallpapers/LivePicker", "Calculator":"packages/apps/Calculator", "DeskClock":"packages/apps/DeskClock", "ThemeChooser":"vendor/tmobile/apps/ThemeChooser", "ThemeManager":"vendor/tmobile/providers/ThemeManager", "WindowManager":"packages/apps/WindowManager", "SmartCamera":"packages/apps/SelfCameraApplication", "Stars":"vendor/themes/Stars", "Lights":"vendor/themes/Lights", "Pink":"vendor/themes/Pink", "Sky":"vendor/themes/Sky", "Email":"packages/apps/Email", "Keyguard":"frameworks/base/packages/Keyguard", "Videos":"mediatek/packages/apps/VideoPlayer", "DataTransfer":"mediatek/packages/apps/BackupRestore", "DocumentsUI":"frameworks/base/packages/DocumentsUI", "FileManager":"mediatek/packages/apps/FileManager", "services":"frameworks/base/services", "android.policy":"frameworks/base/policy", "SystemUI":"frameworks/base/packages/SystemUI", "SettingsProvider":"frameworks/base/packages/SettingsProvider", "framework":"frameworks/base", "framework-res":"frameworks/base/core/res", "theme-res-mint":"mediatek/frameworks/themes/theme-res-mint", }
3>在all_module_arr文件下添加appname
all_module_arr = [ "Contacts", "Sales", "Settings", "Mms", "Dialer", "Phone", "Music", "Gallery2", "Launcher2", "Launcher3", "Browser", "FactoryMode", "WallpaperChooser", "FMRadio", "LivePicker", "Calculator", "DeskClock", "ThemeChooser", "ThemeManager", "WindowManager", "SmartCamera", "Stars", "Lights", "Pink", "Sky", "Email", "Keyguard", "Videos", "DataTransfer", "DocumentsUI", "FileManager", "services", "android.policy", "SystemUI", "SettingsProvider", "framework", "framework-res", "theme-res-mint", ]
注意:上面两个文件的位置排序一定是完全一样的,这样才能生成唯一的序列号,使用就是mmx+序列号