diff --git a/bundle.json b/bundle.json index 614b6476c..2739b7e54 100644 --- a/bundle.json +++ b/bundle.json @@ -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 @@ ] } } -} \ No newline at end of file +} diff --git a/hidebug/interfaces/js/kits/BUILD.gn b/hidebug/interfaces/js/kits/BUILD.gn new file mode 100644 index 000000000..57a83bf93 --- /dev/null +++ b/hidebug/interfaces/js/kits/BUILD.gn @@ -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" ] + } +}