1#
2# Copyright (c) 2020-2022 Huawei Device Co., Ltd.
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15static_library("hal_sys_param") {
16  sources = [ "hal_sys_param.c" ]
17  include_dirs = [ "//base/startup/init/interfaces/hals" ]
18  defines = [
19    "INCREMENTAL_VERSION=\"${ohos_version}\"",
20    "BUILD_TYPE=\"${ohos_build_type}\"",
21    "BUILD_USER=\"${ohos_build_user}\"",
22    "BUILD_TIME=\"${ohos_build_time}\"",
23    "BUILD_HOST=\"${ohos_build_host}\"",
24    "BUILD_ROOTHASH=\"${ohos_build_roothash}\"",
25  ]
26}
27