• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2023 Institute of Parallel And Distributed Systems (IPADS), Shanghai Jiao Tong University (SJTU)
2# Licensed under the Mulan PSL v2.
3# You can use this software according to the terms and conditions of the Mulan PSL v2.
4# You may obtain a copy of Mulan PSL v2 at:
5#     http://license.coscl.org.cn/MulanPSL2
6# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
7# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
8# PURPOSE.
9# See the Mulan PSL v2 for more details.
10
11import("//build/config/clang/clang.gni")
12import("//build/ohos.gni")
13
14tee_source_dir = "//base/tee"
15
16action("build") {
17    script = "oh_build_tee.sh"
18    sources = [ tee_source_dir ]
19    outputs = [ "$root_build_dir/../tee/src_tmp/tee_os_kernel/kernel/bl32.bin" ]
20    args = [
21        rebase_path("$root_build_dir/../.."),
22    ]
23}
24
25group("tee_os") {
26    deps = [
27        ":build",
28    ]
29}
30