BUILD.gn 1.0 KB
Newer Older
M
Mupceet 已提交
1
# Copyright (c) 2020-2022 Huawei Device Co., Ltd.
X
xionglei6 已提交
2 3 4 5 6 7 8 9 10 11 12 13
# 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
Mupceet 已提交
14 15
group("static_modules") {
  if (!defined(ohos_lite)) {
16
    deps = [
M
Mupceet 已提交
17
      "bootchart:libbootchart_static",
18
      "bootevent:libbootevent_static",
M
Mupceet 已提交
19
      "init_hook:inithook",
20
    ]
X
<feat>  
xiacong 已提交
21 22 23
    if (build_seccomp) {
      deps += [ "seccomp:libseccomp_static" ]
    }
M
Mupceet 已提交
24
  }
25 26
}

M
Mupceet 已提交
27 28
group("modulesgroup") {
  if (!defined(ohos_lite)) {
M
Mupceet 已提交
29
    deps = [ "bootchart:bootchart" ]
X
<feat>  
xiacong 已提交
30 31 32
    if (build_seccomp) {
      deps += [ "seccomp:seccomp_module" ]
    }
M
Mupceet 已提交
33
  }
X
xionglei6 已提交
34
}