mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2024-11-27 00:51:47 +00:00
bugfix: fix compiling error for qemu-arm-linux-min system.
1)通过support_jsapi隔离napi模块,便于在最小系统中编译。 Signed-off-by: handyohos <zhangxiaotian@huawei.com> Change-Id: Iad08c1792e68606b6224aea549d8519ca5abd1f8
This commit is contained in:
parent
a128b1e7e2
commit
09e45be293
@ -35,7 +35,7 @@
|
||||
"build": {
|
||||
"sub_component": [
|
||||
"//developtools/profiler/device:hiprofiler_targets",
|
||||
"//developtools/profiler/hidebug/interfaces/js/kits/napi:hidebug"
|
||||
"//developtools/profiler/hidebug/interfaces/js/kits:profiler_jsapi_module"
|
||||
],
|
||||
"inner_kits": [
|
||||
{
|
||||
@ -54,4 +54,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
19
hidebug/interfaces/js/kits/BUILD.gn
Normal file
19
hidebug/interfaces/js/kits/BUILD.gn
Normal file
@ -0,0 +1,19 @@
|
||||
# Copyright (c) 2022 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# 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
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
group("profiler_jsapi_module") {
|
||||
deps = []
|
||||
if (support_jsapi) {
|
||||
deps += [ "./napi:hidebug" ]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user