From 5868fa0a23a9b674049b7e78454f0c0da5ebd339 Mon Sep 17 00:00:00 2001 From: maosiping Date: Mon, 3 Apr 2023 13:34:28 +0800 Subject: [PATCH] change head file Signed-off-by: maosiping --- BUILD.gn | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 2c779909f..c03697f8d 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -11,7 +11,7 @@ # 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. -# +# import("//third_party/mbedtls/mbedtls.gni") @@ -80,7 +80,11 @@ if (defined(ohos_lite)) { lib_extension = ".so" } deps = [ ":mbedtls" ] - head_files = [ "include" ] + if (product_name == "wifiiot_hispark_pegasus") { + head_files = [ "//device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include" ] + } else { + head_files = [ "include" ] + } } # for test: test profile -- Gitee