提交 4e855ccb 编写于 作者: J jiyong_sd

modified FA-JS

Signed-off-by: Njiyong_sd <jiyong@huawei.com>
Change-Id: I7bd47fda69d573a6fb8e03a35d8ba20497423808
上级 f9fd69e7
# Copyright (C) 2021 Huawei Device Co., Ltd. # Copyright (C) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at # You may obtain a copy of the License at
# #
# http://www.apache.org/licenses/LICENSE-2.0 # http://www.apache.org/licenses/LICENSE-2.0
# #
# Unless required by applicable law or agreed to in writing, software # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("appdatamgr_js_test") { ohos_js_hap_suite("appdatamgr_js_test") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":appdatamgr_js_assets", ":appdatamgr_js_assets",
":appdatamgr_resources", ":appdatamgr_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAppdatamagrJsTest" hap_name = "ActsAppdatamagrJsTest"
subsystem_name="distributeddatamgr" subsystem_name = "distributeddatamgr"
part_name="relational_store" part_name = "relational_store"
} }
ohos_js_assets("appdatamgr_js_assets") { ohos_js_assets("appdatamgr_js_assets") {
js2abc=true js2abc = true
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
source_dir = "./src/main/js"} source_dir = "./src/main/js"
ohos_resources("appdatamgr_resources") { }
sources = [ "./src/main/resources" ] ohos_resources("appdatamgr_resources") {
hap_profile = "./src/main/config.json" sources = [ "./src/main/resources" ]
} hap_profile = "./src/main/config.json"
}
# Copyright (C) 2021 Huawei Device Co., Ltd. # Copyright (C) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at # You may obtain a copy of the License at
# #
# http://www.apache.org/licenses/LICENSE-2.0 # http://www.apache.org/licenses/LICENSE-2.0
# #
# Unless required by applicable law or agreed to in writing, software # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("distributeddataObject_js_test") { ohos_js_hap_suite("distributeddataObject_js_test") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":distributeddataObject_js_assets", ":distributeddataObject_js_assets",
":distributeddataObject_resources", ":distributeddataObject_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsDistributedDataObjectJsTest" hap_name = "ActsDistributedDataObjectJsTest"
} }
ohos_js_assets("distributeddataObject_js_assets") { ohos_js_assets("distributeddataObject_js_assets") {
js2abc=true js2abc = true
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
source_dir = "./src/main/js"} source_dir = "./src/main/js"
ohos_resources("distributeddataObject_resources") { }
sources = [ "./src/main/resources" ] ohos_resources("distributeddataObject_resources") {
hap_profile = "./src/main/config.json" sources = [ "./src/main/resources" ]
} hap_profile = "./src/main/config.json"
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册