diff --git a/BUILD.gn b/BUILD.gn index f35ac38307551c55586d68f30827f89caee4114e..406d95a8d3c09a13fb32b210c434039554f6c734 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -3,6 +3,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # + # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software @@ -17,6 +18,7 @@ if (defined(ohos_lite)) { lite_component("device_manager") { features = [ "interfaces/inner_kits/native_cpp:devicemanagersdk" ] } + lite_component("device_manager_fwk") { features = [] } diff --git a/bundle.json b/bundle.json index dd2be1b8dad6fb5ddb3d4c0337a7ddb2e3352cb4..9c7900342f523280490e690e86b6e666c1e5ef00 100644 --- a/bundle.json +++ b/bundle.json @@ -12,6 +12,7 @@ "scripts": {}, "component": { "name": "device_manager", + "subsystem": "distributedhardware", "syscap": ["SystemCapability.DistributedHardware.DeviceManager"], "features": [