1# Copyright (c) 2021 Huawei Device Co., Ltd. 2# 3# HDF is dual licensed: you can use it either under the terms of 4# the GPL, or the BSD license, at your option. 5# See the LICENSE file in the root of this repository for complete details. 6 7action("build_hdi_gen") { 8 script = "/usr/bin/env" 9 if (defined(ohos_lite)) { 10 script = "//build/lite/run_shell_cmd.py" 11 } 12 13 outputs = [ "$target_out_dir/hdi-gen" ] 14 15 args = [ 16 "make", 17 "-j8", 18 "-C", 19 rebase_path("."), 20 "TARGET_DIR=" + rebase_path(target_out_dir), 21 ] 22} 23