mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-26 17:56:33 -04:00
modify the build gn file.
Signed-off-by: yudechen <chenyude@huawei.com> Change-Id: I18985064239299330e5e0405f170d1960ae501c6
This commit is contained in:
@@ -148,4 +148,7 @@ group("syscap_codec") {
|
||||
":syscap_interface_shared",
|
||||
":syscap_tool_shared",
|
||||
]
|
||||
if (support_jsapi) {
|
||||
deps += [ "napi:systemcapability" ]
|
||||
}
|
||||
}
|
||||
|
||||
+1
-2
@@ -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
@@ -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" ]
|
||||
|
||||
Reference in New Issue
Block a user