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_hc_gen") { 8 script = "/usr/bin/env" 9 if (defined(ohos_lite)) { 10 script = "//build/lite/run_shell_cmd.py" 11 } 12 outputs = [ "$target_out_dir/hc-gen" ] 13 args = [ 14 "make", 15 "-j", 16 "-C", 17 rebase_path("."), 18 "BUILD_DIR=" + rebase_path(target_out_dir), 19 ] 20} 21