1# Copyright (c) 2021 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//build/ohos.gni") 15 16ohos_shared_library("deviceinfo1") { 17 include_dirs = [ 18 "//base/startup/syspara_lite/interfaces/innerkits/native/syspara/include", 19 "//base/startup/syspara_lite/hals/parameter/include", 20 ] 21 22 sources = [ "src/native_deviceinfo_js.cpp" ] 23 24 deps = [ 25 "//base/startup/init/interfaces/innerkits:libbeget_proxy", 26 "//base/startup/init/interfaces/innerkits:libbegetutil", 27 ] 28 external_deps = [ "napi:ace_napi" ] 29 relative_install_dir = "module" 30 subsystem_name = "startup" 31 part_name = "startup_l2" 32} 33 34ohos_shared_library("systemparameter1") { 35 include_dirs = [ "src" ] 36 37 sources = [ 38 "src/native_parameters_js.cpp", 39 "src/native_parameters_watch.cpp", 40 ] 41 42 deps = [ 43 "//base/startup/init/interfaces/innerkits:libbeget_proxy", 44 "//base/startup/init/interfaces/innerkits:libbegetutil", 45 ] 46 47 external_deps = [ 48 "hiviewdfx_hilog_native:libhilog", 49 "napi:ace_napi", 50 ] 51 relative_install_dir = "module" 52 subsystem_name = "startup" 53 part_name = "startup_l2" 54} 55