diff --git a/adapter/uhdf2/hdi.gni b/adapter/uhdf2/hdi.gni index 5977158375e3455d5525f4481a8b8655649fcd30..bfbe40a4aeb412143b46f8bf45cd1e5f40c48451 100644 --- a/adapter/uhdf2/hdi.gni +++ b/adapter/uhdf2/hdi.gni @@ -11,10 +11,10 @@ # See the License for the specific language governing permissions and # limitations under the License.. -import("//build/ohos.gni") -import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni") +import("//build/templates/cxx/cxx.gni") hdf_fwk_path = "//drivers/hdf_core/framework" +hdf_uhdf_path = "//drivers/hdf_core/adapter/uhdf2" template("hdi") { assert(defined(invoker.sources), "sources must be set") @@ -106,7 +106,7 @@ template("hdi") { "$hdf_uhdf_path/include/hdi", "$hdf_uhdf_path/osal/include", "$hdf_uhdf_path/ipc/include", - "$hdf_framework_path/include/utils", + "$hdf_fwk_path/include/utils", "//drivers/hdf_core/interfaces/inner_api/utils", "//drivers/hdf_core/interfaces/inner_api/osal/uhdf", "//drivers/hdf_core/interfaces/inner_api/hdi",