• 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+序列号

  • 相关阅读:
    [原]Eclipse 安装SVN、Maven插件(补充)
    [原]几个云笔记的简单比较
    [原]Unity3d中奇怪的编译错误
    [原]unity中WWW isDone方法只能在主线程中调用
    C语言。格式化符号
    Unity iOS Guideline 1.3
    AR增强现实 之Metaio For Unity 开发 之HelloWorld
    Unity 4.6 bate 20 or 4.5.5 +vuforia3.0.9 发布到真机错误 解决
    服务器端Ajax异步分页类,基本通用分页类
    从数据库中读取数据并写入到Excle电子表格之2
  • 原文地址:https://www.cnblogs.com/zhangshuli-1989/p/zhangshuli_mmx_15021119.html
Copyright © 2020-2023  润新知