10a7ce71fSopenharmony_ci# Copyright (c) 2020 Huawei Device Co., Ltd.
20a7ce71fSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
30a7ce71fSopenharmony_ci# you may not use this file except in compliance with the License.
40a7ce71fSopenharmony_ci# You may obtain a copy of the License at
50a7ce71fSopenharmony_ci#
60a7ce71fSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0
70a7ce71fSopenharmony_ci#
80a7ce71fSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
90a7ce71fSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
100a7ce71fSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
110a7ce71fSopenharmony_ci# See the License for the specific language governing permissions and
120a7ce71fSopenharmony_ci# limitations under the License.
130a7ce71fSopenharmony_ci
140a7ce71fSopenharmony_cistatic_library("hal_sysparam") {
150a7ce71fSopenharmony_ci  sources = [ "hal_sys_param.c" ]
160a7ce71fSopenharmony_ci  include_dirs = [ "//base/startup/init/interfaces/hals" ]
170a7ce71fSopenharmony_ci  defines = [
180a7ce71fSopenharmony_ci    "INCREMENTAL_VERSION=\"${ohos_version}\"",
190a7ce71fSopenharmony_ci    "BUILD_TYPE=\"${ohos_build_type}\"",
200a7ce71fSopenharmony_ci    "BUILD_USER=\"${ohos_build_user}\"",
210a7ce71fSopenharmony_ci    "BUILD_TIME=\"${ohos_build_time}\"",
220a7ce71fSopenharmony_ci    "BUILD_HOST=\"${ohos_build_host}\"",
230a7ce71fSopenharmony_ci    "BUILD_ROOTHASH=\"${ohos_build_roothash}\"",
240a7ce71fSopenharmony_ci  ]
250a7ce71fSopenharmony_ci}
26