美文网首页
openharmony: 子系统和组件

openharmony: 子系统和组件

作者: xEndLess | 来源:发表于2024-02-18 16:28 被阅读0次

openharmony版本:V4.0

之前一直没搞懂轻量级系统、小型系统和标准系统支持哪些子系统和组件。其实系统中再有定义。在路劲productdefine/common/base/下有三个文件,mini_system.json、small_system.json和standard_system.json。这三个文件定义了不同的系统所支持子系统和组件。如下图所示:

{
  "subsystems": [
    {
      "subsystem": "kernel",
      "components": [
        { "component": "liteos_m" }
      ]
    },
    {
      "subsystem": "hdf",
      "components": [
        { "component": "hdf_core" }
      ]
    },
    {
      "subsystem": "hiviewdfx",
      "components": [
        { "component": "hilog_lite" },
        { "component": "hievent_lite" },
        { "component": "hiview_lite" }
      ]
    },
    {
      "subsystem": "startup",
      "components": [
        { "component": "bootstrap_lite" }
      ]
    },
    {
      "subsystem": "communication",
      "components": [
        { "component": "dsoftbus" }
      ]
    },
    {
      "subsystem": "systemabilitymgr",
      "components": [
        { "component": "samgr_lite" }
      ]
    },
    {
      "subsystem": "security",
      "components": [
        { "component": "device_auth" },
        { "component": "huks" }
      ]
    },
    {
      "subsystem": "commonlibrary",
      "components": [
        { "component": "kv_store" },
        { "component": "kal_timer" }
      ]
    },
    {
      "subsystem": "updater",
      "components": [
        { "component": "sys_installer_lite" }
      ]
    }
  ]
}

其中每一个子系统在的位置在文件build/subsystem_config.json中定义了。如下图所示。

{
  "arkui": {
    "path": "foundation/arkui",
    "name": "arkui"
  },
  "ai": {
    "path": "foundation/ai",
    "name": "ai"
  },
  "account": {
    "path": "base/account",
    "name": "account"
  },
  "distributeddatamgr": {
    "path": "foundation/distributeddatamgr",
    "name": "distributeddatamgr"
  },
  "security": {
    "path": "base/security",
    "name": "security"
  },
  "useriam": {
    "path": "base/useriam",
    "name": "useriam"
  },
  "startup": {
    "path": "base/startup",
    "name": "startup"
  },
  "hiviewdfx": {
    "path": "base/hiviewdfx",
    "name": "hiviewdfx"
  },
  "utils": {
    "path": "utils",
    "name": "utils"
  },
  "commonlibrary": {
    "path": "commonlibrary",
    "name": "commonlibrary"
  },
  "bundlemanager": {
    "path": "foundation/bundlemanager",
    "name": "bundlemanager"
  },
  "appexecfwk": {
    "path": "foundation/appexecfwk",
    "name": "appexecfwk"
  },
  "ability": {
    "path": "foundation/ability",
    "name": "ability"
  },
  "notification": {
    "path": "base/notification",
    "name": "notification"
  },
  "communication": {
    "path": "foundation/communication",
    "name": "communication"
  },
  "location": {
    "path": "base/location",
    "name": "location"
  },
  "systemabilitymgr": {
    "path": "foundation/systemabilitymgr",
    "name": "systemabilitymgr"
  },
  "hdf": {
    "path": "drivers",
    "name": "hdf"
  },
  "updater": {
    "path": "base/update",
    "name": "updater"
  },
  "developtools": {
    "path": "developtools",
    "name": "developtools"
  },
  "sensors": {
    "path": "base/sensors",
    "name": "sensors"
  },
  "graphic": {
    "path": "foundation/graphic",
    "name": "graphic"
  },
  "window": {
    "path": "foundation/window",
    "name": "window"
  },
  "time": {
    "path": "base/time",
    "name": "time"
  },
  "inputmethod": {
    "path": "base/inputmethod",
    "name": "inputmethod"
  },
  "request": {
    "path": "base/request",
    "name": "request"
  },
  "print": {
    "path": "base/print",
    "name": "print"
  },
  "theme": {
    "path": "base/theme",
    "name": "theme"
  },
  "multimedia": {
    "path": "foundation/multimedia",
    "name": "multimedia"
  },
  "multimodalinput": {
    "path": "foundation/multimodalinput",
    "name": "multimodalinput"
  },
  "telephony": {
    "path": "base/telephony",
    "name": "telephony"
  },
  "global": {
    "path": "base/global",
    "name": "global"
  },
  "powermgr": {
    "path": "base/powermgr",
    "name": "powermgr"
  },
  "usb": {
    "path": "base/usb",
    "name": "usb"
  },
  "applications": {
    "path": "applications",
    "name": "applications"
  },
  "wpa_supplicant-2.9": {
    "path": "third_party/wpa_supplicant/wpa_supplicant-2.9_standard",
    "name": "wpa_supplicant-2.9"
  },
  "xts": {
    "path": "test/xts",
    "name": "xts"
  },
  "wukong": {
    "path": "test/ostest/wukong",
    "name": "wukong"
  },
  "testfwk": {
    "path": "test/testfwk",
    "name": "testfwk"
  },
  "distributedhardware": {
    "path": "foundation/distributedhardware",
    "name": "distributedhardware"
  },
  "arkcompiler": {
    "path": "arkcompiler",
    "name": "arkcompiler"
  },
  "iothardware": {
    "path": "base/iothardware",
    "name": "iothardware"
  },
  "kernel": {
    "path": "kernel",
    "name": "kernel"
  },
  "msdp": {
    "path": "base/msdp",
    "name": "msdp"
  },
  "deviceprofile": {
    "path": "foundation/deviceprofile",
    "name": "deviceprofile"
  },
  "filemanagement": {
    "path": "foundation/filemanagement",
    "name": "filemanagement"
  },
  "resourceschedule": {
    "path": "foundation/resourceschedule",
    "name": "resourceschedule"
  },
  "barrierfree": {
    "path": "foundation/barrierfree/accessibility",
    "name": "accessibility"
  },
  "customization": {
    "path": "base/customization",
    "name": "customization"
  },
  "web": {
    "path": "base/web",
    "name": "web"
  },
  "thirdparty": {
    "path": "third_party",
    "name": "thirdparty"
  },
  "ide": {
    "path": "ide",
    "name": "ide"
  },
  "advertising": {
    "path": "domains/cloud",
    "name": "advertising"
  }
}

相关文章

  • 门面模式

    动机 上述A方案的问题在于组件的客户和组件中各种复杂的子系统有了过多的耦合,随着外部客户程序和各个子系统的演化,这...

  • openharmony:Backtrace异常调测

    当前openharmony针对stm32f407还没有在线调试功能。所以很有必要移植backtrace组件。不然查...

  • 鸿蒙项目总结笔记

    http://ci.openharmony.cn/codeSearch[http://ci.openharmony...

  • archimate系列之四逻辑架构-数据流图

    当一个系统足够大时,通过严格的架构设计,得到的子系统和组件也就相当的多,那么子系统或组件之间的交互也就很复杂了。对...

  • JVM/GC

    JVM JVM的主要组成 JVM包含两个子系统和两个组件,两个子系统为Class loader(类装载)、Exec...

  • JVM 内存结构

    一张图描述JVM内存模型 JVM包括两个子系统和两个组件。 两个子系统: Class loader(类装载) 根据...

  • JVM知识整理

    一、Java内存布局 1、Java内部布局全貌 JVM包含两个子系统和两个组件: 两个子系统为Class load...

  • 深入理解JVM01 - 自动内存管理机制

    内存模型 下图是描述JVM内存模型的图: JVM包含两个子系统和两个组件,两个子系统为Class loader(类...

  • 鸿蒙系统系统开发者介绍

    源码下载链接:https://openharmony.gitee.com/openharmony 开发文档链接:h...

  • openharmony:hilog_lite组件移植

    kernel:litoes_mMCU:stm32f407zgt6 本文仅介绍HiLog_Lite组件的移植过程,H...

网友评论

      本文标题:openharmony: 子系统和组件

      本文链接:https://www.haomeiwen.com/subject/orkmadtx.html