modify the build gn file.

Signed-off-by: yudechen <chenyude@huawei.com>
Change-Id: I18985064239299330e5e0405f170d1960ae501c6
This commit is contained in:
yudechen
2022-04-24 20:26:25 +08:00
parent f54894f72d
commit 1f4df7901e
3 changed files with 8 additions and 4 deletions
+3
View File
@@ -148,4 +148,7 @@ group("syscap_codec") {
":syscap_interface_shared",
":syscap_tool_shared",
]
if (support_jsapi) {
deps += [ "napi:systemcapability" ]
}
}
+1 -2
View File
@@ -24,8 +24,7 @@
},
"build": {
"sub_component": [
"//developtools/syscap_codec:syscap_codec",
"//developtools/syscap_codec/napi:systemcapability"
"//developtools/syscap_codec:syscap_codec"
],
"inner_kits": [],
"test": [ "//developtools/syscap_codec/test/unittest/common:unittest" ]
+4 -2
View File
@@ -43,11 +43,13 @@ ohos_shared_library("systemcapability") {
deps = [
":query_syscap_js",
"//foundation/ace/napi:ace_napi",
"//third_party/bounds_checking_function:libsec_static",
]
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
external_deps = [
"hiviewdfx_hilog_native:libhilog",
"napi:ace_napi",
]
if (defined(ohos_lite)) {
deps += [ "//build/lite/config/component/cJSON:cjson_static" ]