diff --git a/BUILD.gn b/BUILD.gn index 2c779909f0b73aa25a632cc1017cb3d40d91d40f..c03697f8d9798c33ef10094d868ca0f281c69308 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