zoukankan      html  css  js  c++  java
  • 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+序列号

  • 相关阅读:
    Elasticsearch5.3 学习(一):安装、Yii2.0 下载es扩展
    lnmp 环境require(): open_basedir restriction in effect 错误
    Ueditor编辑器图片上传到万象优图
    Linux curl 模拟form表单提交信息和文件
    CP936 转换成 UTF-8
    wamp 两个不同的php.ini
    PHP浮点数运算精度造成的,订单金额支付经常少1分的问题
    进制相关:存储与转换
    Python的数据类型
    pycharm+PyQt5 开发配置
  • 原文地址:https://www.cnblogs.com/zhangshuli-1989/p/zhangshuli_mmx_15021119.html
Copyright © 2011-2022 走看看