BUILD.gn 1.5 KB
Newer Older
X
xionglei6 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
# Copyright (c) 2020-2021 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.

M
init  
Mupceet 已提交
14
import("//base/startup/init/begetd.gni")
X
xionglei6 已提交
15 16
import("//build/ohos.gni")

17 18
ohos_shared_library("libparamtestmodule") {
  sources = [ "param_test_module.c" ]
X
xionglei6 已提交
19 20

  include_dirs = [
M
init  
Mupceet 已提交
21 22 23 24 25 26 27
    "//base/startup/init/services/include/param",
    "//base/startup/init/services/include",
    "//base/startup/init/services/init/include",
    "//base/startup/init/services/log",
    "//base/startup/init/interfaces/innerkits/include",
    "//base/startup/init/services/loopevent/include",
    "//base/startup/init/ueventd/include",
X
xionglei6 已提交
28 29 30 31 32
    "//third_party/cJSON",
    "//third_party/bounds_checking_function/include",
  ]

  deps = [
M
init  
Mupceet 已提交
33 34
    "//base/startup/init/interfaces/innerkits:libbegetutil",
    "//base/startup/init/services/log:agent_log",
M
Mupceet 已提交
35
    "//third_party/bounds_checking_function:libsec_shared",
X
xionglei6 已提交
36
  ]
H
handyohos 已提交
37

38
  external_deps = [ "init:libinit_module_engine" ]
H
handyohos 已提交
39

X
xionglei6 已提交
40
  part_name = "init"
41
  module_install_dir = "lib/init"
X
xionglei6 已提交
42 43
}

44
group("paramtestmodule") {
X
xionglei6 已提交
45
  if (param_test) {
46
    deps = [ ":libparamtestmodule" ]
X
xionglei6 已提交
47 48
  }
}