fix hb build dmsfwk error

Signed-off-by: t00605578 <tongyuejiao@huawei.com>
This commit is contained in:
t00605578 2024-05-27 11:13:33 +08:00
parent af640a7996
commit bf43ec5cec
3 changed files with 5 additions and 5 deletions

View File

@ -69,9 +69,7 @@
"samgr",
"window_manager"
],
"third_party": [
"cJSON"
]
"third_party": []
},
"build": {
"group_type": {

View File

@ -55,7 +55,7 @@ private:
napi_value OnUnregisterDeviceSelectionCallback(napi_env env, napi_callback_info info);
napi_value OnUpdateConnectStatus(napi_env env, napi_callback_info info);
int32_t GetInfoForUpdateConnectStatus(napi_env env,
napi_value *argv,int32_t &token, std::string &deviceId, DeviceConnectStatus &deviceConnectStatus);
napi_value *argv, int32_t &token, std::string &deviceId, DeviceConnectStatus &deviceConnectStatus);
napi_value OnStartDeviceManager(napi_env env, napi_callback_info info);
int32_t CheckParamAndGetToken(napi_env env, size_t argc, napi_value *argv, int32_t &token);
napi_value OnInitDeviceConnectStateObject(napi_env env, napi_callback_info info);

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//build/ohos.gni")
import("//build/ohos/app/app.gni")
import("../../../../../dmsfwk.gni")
ohos_hap("bmsThirdBundle") {
@ -27,9 +27,11 @@ ohos_hap("bmsThirdBundle") {
certificate_profile =
"${dms_path}/test/sceneProject/signature/com.third.hiworld.example.p7b"
}
ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./src/main/js/default"
}
ohos_resources("hjs_demo_resources") {
sources = [ "./src/main/js/resources" ]
hap_profile = "./src/main/config.json"