1# 2# Copyright (c) 2022 FuZhou Lockzhiner Electronic Co., Ltd. All rights reserved. 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14# 15 16import("//device/soc/rockchip/rk2206/board.gni") 17import("//kernel/liteos_m/liteos.gni") 18 19config("public") { 20 include_dirs = [ 21 "./include", 22 "./lib/CMSIS/Device/RK2206/Include", 23 ] 24} 25 26action("hardware") { 27 script = "//build/lite/run_shell_cmd.py" 28 sources = [ "libhardware.a" ] 29 outputs = [ "${root_out_dir}/libs/" ] 30 args = [ 31 "cp", 32 "-f", 33 rebase_path(sources[0]), 34 rebase_path(outputs[0]), 35 ] 36} 37