mirror of
https://github.com/openharmony/drivers_adapter.git
synced 2026-07-19 18:23:38 -04:00
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
|
||||
# Copyright (c) 2020-2022 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:
|
||||
@@ -35,6 +35,7 @@ hdf_driver(module_name) {
|
||||
sources = [
|
||||
"$HDF_FRAMEWORKS_PATH/support/platform/src/fwk/platform_common.c",
|
||||
"$HDF_FRAMEWORKS_PATH/support/platform/src/fwk/platform_device.c",
|
||||
"$HDF_FRAMEWORKS_PATH/support/platform/src/fwk/platform_dumper.c",
|
||||
"$HDF_FRAMEWORKS_PATH/support/platform/src/fwk/platform_event.c",
|
||||
"$HDF_FRAMEWORKS_PATH/support/platform/src/fwk/platform_manager.c",
|
||||
"$HDF_FRAMEWORKS_PATH/support/platform/src/fwk/platform_queue.c",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
|
||||
# Copyright (c) 2020-2022 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:
|
||||
@@ -41,6 +41,7 @@ ifeq ($(LOSCFG_DRIVERS_HDF_PLATFORM), y)
|
||||
$(HDF_FRAMEWORKS)/support/platform/src/fwk/platform_event.c \
|
||||
$(HDF_FRAMEWORKS)/support/platform/src/fwk/platform_manager.c \
|
||||
$(HDF_FRAMEWORKS)/support/platform/src/fwk/platform_queue.c \
|
||||
$(HDF_FRAMEWORKS)/support/platform/src/fwk/platform_dumper.c \
|
||||
$(HDF_FRAMEWORKS)/support/platform/src/fwk/platform_common.c
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
|
||||
# Copyright (c) 2020-2022 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:
|
||||
@@ -82,6 +82,7 @@ hdf_driver(module_name) {
|
||||
sources += [
|
||||
"$HDF_TEST_FRAMWORK_ROOT/platform/common/platform_device_test.c",
|
||||
"$HDF_TEST_FRAMWORK_ROOT/platform/common/platform_driver_test.c",
|
||||
"$HDF_TEST_FRAMWORK_ROOT/platform/common/platform_dumper_test.c",
|
||||
"$HDF_TEST_FRAMWORK_ROOT/platform/common/platform_event_test.c",
|
||||
"$HDF_TEST_FRAMWORK_ROOT/platform/common/platform_manager_test.c",
|
||||
"$HDF_TEST_FRAMWORK_ROOT/platform/common/platform_queue_test.c",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
|
||||
# Copyright (c) 2020-2022 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:
|
||||
@@ -65,6 +65,7 @@ ifeq ($(LOSCFG_DRIVERS_HDF_PLATFORM), y)
|
||||
LOCAL_SRCS += $(HDF_TEST_FRAMWORK_ROOT)/platform/common/platform_driver_test.c
|
||||
LOCAL_SRCS += $(HDF_TEST_FRAMWORK_ROOT)/platform/common/platform_event_test.c
|
||||
LOCAL_SRCS += $(HDF_TEST_FRAMWORK_ROOT)/platform/common/platform_queue_test.c
|
||||
LOCAL_SRCS += $(HDF_TEST_FRAMWORK_ROOT)/platform/common/platform_dumper_test.c
|
||||
LOCAL_SRCS += $(HDF_TEST_FRAMWORK_ROOT)/platform/common/platform_device_test.c
|
||||
LOCAL_SRCS += $(HDF_TEST_FRAMWORK_ROOT)/platform/common/platform_manager_test.c
|
||||
LOCAL_SRCS += $(HDF_TEST_FRAMWORK_ROOT)/platform/entry/hdf_platform_core_entry_test.c
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2021 Huawei Device Co., Ltd.
|
||||
# Copyright (c) 2021-2022 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
@@ -39,6 +39,7 @@ if (board_name == "hi3516dv300" || board_name == "hispark_taurus") {
|
||||
"//drivers/framework/support/platform/test/unittest/common/hdf_adc_test.cpp",
|
||||
"//drivers/framework/support/platform/test/unittest/common/hdf_gpio_test.cpp",
|
||||
"//drivers/framework/support/platform/test/unittest/common/hdf_platform_device_test.cpp",
|
||||
"//drivers/framework/support/platform/test/unittest/common/hdf_platform_dumper_test.cpp",
|
||||
"//drivers/framework/support/platform/test/unittest/common/hdf_platform_event_test.cpp",
|
||||
"//drivers/framework/support/platform/test/unittest/common/hdf_platform_manager_test.cpp",
|
||||
"//drivers/framework/support/platform/test/unittest/common/hdf_platform_queue_test.cpp",
|
||||
@@ -114,6 +115,7 @@ if (board_name == "hi3516dv300" || board_name == "hispark_taurus") {
|
||||
defines = [ "__USER__" ]
|
||||
sources = [
|
||||
"//drivers/framework/support/platform/test/unittest/common/hdf_platform_device_test.cpp",
|
||||
"//drivers/framework/support/platform/test/unittest/common/hdf_platform_dumper_test.cpp",
|
||||
"//drivers/framework/support/platform/test/unittest/common/hdf_platform_event_test.cpp",
|
||||
"//drivers/framework/support/platform/test/unittest/common/hdf_platform_manager_test.cpp",
|
||||
"//drivers/framework/support/platform/test/unittest/common/hdf_platform_queue_test.cpp",
|
||||
|
||||
Reference in New Issue
Block a user