diff --git a/adapter/khdf/liteos/model/display/BUILD.gn b/adapter/khdf/liteos/model/display/BUILD.gn index 22ffd487d79a0086f235ddaac44b59fc701a3c79..958dfd469aeaa36468389fbcc5966679d2cf1afe 100644 --- a/adapter/khdf/liteos/model/display/BUILD.gn +++ b/adapter/khdf/liteos/model/display/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. +# Copyright (c) 2020-2023 Huawei Device Co., Ltd. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: @@ -26,12 +26,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -import("//drivers/hdf_core/adapter/khdf/liteos/hdf.gni") +import("./../../hdf.gni") module_switch = defined(LOSCFG_DRIVERS_HDF_DISP) module_name = "hdf_display" hdf_driver(module_name) { - FRAMEWORKS_DISPLAY_ROOT = "$HDF_FRAMEWORKS_PATH/model/display/driver" + HDF_FRAMEWORKS_REAL_PATH = "./../../../../../framework" + FRAMEWORKS_DISPLAY_ROOT = "$HDF_FRAMEWORKS_REAL_PATH/model/display/driver" sources = [ "$FRAMEWORKS_DISPLAY_ROOT/backlight/hdf_bl.c", "$FRAMEWORKS_DISPLAY_ROOT/hdf_disp.c",