Configuring System Capabilities The SystemCapability (SysCap) module provides a set of APIs for developers to implement system capabilities. Configuring System Capabilities for a Component When adding
阅读全文
openharmony 鸿蒙 subsys-build-subsystem
Subsystem Configuration Rules You can learn the configuration rules of all subsystems in the subsystem_config.json file in the build repository. { "arkui": { "path": "foundation/arkui", # Path "name":
阅读全文
openharmony 鸿蒙 subsys-build-reference
Reference deps and external_deps When adding a module, you must declare its dependencies in BUILD.gn. deps specifies dependent modules in the same component, and external_deps specifies dependent modu
阅读全文
openharmony 鸿蒙 subsys-build-product
Product Configuration Rules The product solution is a special component. It is a product built based on a development board. It includes the OS adaptation, component assembly and configuration, startu
阅读全文
openharmony 鸿蒙 subsys-build-module
Module Configuration Rules The Compilation and Building subsystem implements compilation and packaging by module, component, and product. A module is a target to build. It can be a dynamic library, st
阅读全文
openharmony 鸿蒙 subsys-build-feature
Feature Configuration Rules This document describes how to declare, define, and use features. Declare a feature Declare the features of a component in feature_list of the bundle.json file of the compo
阅读全文
openharmony 鸿蒙 subsys-build-component
Component Configuration Rules The bundle.json file of a component is stored in the root directory of the component source code. The following example shows how to configure the sensor service componen
阅读全文
openharmony 鸿蒙 subsys-build-chip_solution
Chipset Solution Configuration Rules The chipset solution is a special component. It is built based on a development board, including the drivers, device API adaptation, and SDK. The source code path
阅读全文
openharmony 鸿蒙 subsys-build-all
Compilation and Building Guide Overview The OpenHarmony Compilation and Building subsystem provides a build framework based on Generate Ninja (GN) and Ninja. It abstracts the build and configuration g
阅读全文
openharmony 鸿蒙 subsys-build-FAQ
FAQs Common Build Problems and Solutions "usr/sbin/ninja: invalid option -- w" SymptomThe build fails, and "usr/sbin/ninja: invalid option -- w" is displayed. Possible CausesThe Ninja version in use d
阅读全文