提交 e2011cd8 编写于 作者: L likailong

Description: liteos-m refactoring

Reviewed-by: liulei, shenwei

Change-Id: I7baba352c02b78aefc81fc5eca000d840d3b2fe3
上级 20de2d2b
# Copyright (c) 2020 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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.
# Copyright (c) 2020 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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("//test/xts/tools/build/suite_lite.gni")
hctest_suite("ActsLwipTest") {
suite_name = "acts"
suite_name = "acts"
sources = [
"src/lwip_func_test.c",
]
sources = [ "src/lwip_func_test.c" ]
include_dirs = [
"//vendor/hisi/hi3861/hi3861/third_party/lwip_sack/include",
"//kernel/liteos_m/components/cmsis",
"//kernel/liteos_m/components/cmsis/2.0",
]
include_dirs = [
"//vendor/hisi/hi3861/hi3861/third_party/lwip_sack/include",
"//kernel/liteos_m/kal",
]
cflags = ["-Wno-error"]
cflags = [ "-Wno-error" ]
}
# Copyright (c) 2020 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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.
# Copyright (c) 2020 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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("//test/xts/tools/build/suite_lite.gni")
hctest_suite("ActsSoftBusTest") {
suite_name = "acts"
sources = [
"src/softbus_func_test.c",
]
suite_name = "acts"
sources = [ "src/softbus_func_test.c" ]
defines = ["HOS_DISCOVERY_3861_BOARD"]
include_dirs = [
"//vendor/hisi/hi3861/hi3861/include",
"//vendor/hisi/hi3861/hi3861/components/lwip_sack/include",
"//vendor/hisi/hi3861/hi3861/third_party/cjson",
"//third_party/bounds_checking_function/include",
"//kernel/liteos_m/components/cmsis",
"//kernel/liteos_m/components/cmsis/2.0",
"//foundation/communication/interfaces/kits/wifi_lite/wifiservice",
"//foundation/communication/frameworks/wifi_lite/wifiservice/source",
"//foundation/communication/services/softbus_lite/discovery/discovery_service/include",
"//foundation/communication/services/softbus_lite/discovery/include",
"//foundation/communication/interfaces/kits/softbus_lite/discovery",
"//foundation/communication/interfaces/kits/softbus_lite/transport"
]
defines = [ "HOS_DISCOVERY_3861_BOARD" ]
include_dirs = [
"//vendor/hisi/hi3861/hi3861/include",
"//vendor/hisi/hi3861/hi3861/components/lwip_sack/include",
"//vendor/hisi/hi3861/hi3861/third_party/cjson",
"//third_party/bounds_checking_function/include",
"//kernel/liteos_m/kal",
"//foundation/communication/interfaces/kits/wifi_lite/wifiservice",
"//foundation/communication/frameworks/wifi_lite/wifiservice/source",
"//foundation/communication/services/softbus_lite/discovery/discovery_service/include",
"//foundation/communication/services/softbus_lite/discovery/include",
"//foundation/communication/interfaces/kits/softbus_lite/discovery",
"//foundation/communication/interfaces/kits/softbus_lite/transport",
]
deps = [
"//foundation/communication/services/softbus_lite:softbus",
]
deps = [ "//foundation/communication/services/softbus_lite:softbus" ]
cflags = [ "-Wno-error" ]
cflags = [ "-Wno-error" ]
}
# Copyright (c) 2020 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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.
# Copyright (c) 2020 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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("//test/xts/tools/build/suite_lite.gni")
hctest_suite("ActsWifiServiceTest") {
suite_name = "acts"
sources = [
"src/wifiservice_func_test.c",
]
suite_name = "acts"
sources = [ "src/wifiservice_func_test.c" ]
include_dirs = [
"//foundation/communication/interfaces/kits/wifi_lite/wifiservice",
"//vendor/hisi/hi3861/hi3861/third_party/lwip_sack/include",
"//kernel/liteos_m/components/cmsis",
"//kernel/liteos_m/components/cmsis/2.0",
]
include_dirs = [
"//foundation/communication/interfaces/kits/wifi_lite/wifiservice",
"//vendor/hisi/hi3861/hi3861/third_party/lwip_sack/include",
"//kernel/liteos_m/kal",
]
cflags = [ "-Wno-error" ]
cflags = [ "-Wno-error" ]
}
# Copyright (c) 2020 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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.
# Copyright (c) 2020 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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("//test/xts/tools/build/suite_lite.gni")
hctest_suite("ActsSamgrTest") {
suite_name = "acts"
sources = [
"utils/samgr_maintenance.c",
"src/service_func_test.c",
"src/feature_func_test.c",
"src/defaultfeatureapi_func_test.c",
"src/featureapi_func_test.c",
"src/iunknown_func_test.c",
"src/sendrequest_func_test.c",
"src/sendresponse_func_test.c",
"src/sendsharerequest_func_test.c",
"src/broadcast_subscribe_func_test.c",
"src/broadcast_publish_func_test.c",
"src/taskpool_notask_func_test.c",
"src/taskpool_singletask_func_test.c",
"src/taskpool_specifiedtask_func_test.c",
"src/taskpool_sharedtask_func_test.c",
"src/common_func_test.c",
]
include_dirs = [
"//test/xts/tools/hctest/include",
"//third_party/unity/src",
"//kernel/liteos_m/components/cmsis",
"//foundation/distributedschedule/interfaces/kits/samgr_lite/samgr",
"//foundation/distributedschedule/interfaces/kits/samgr_lite/communication/broadcast",
"//foundation/distributedschedule/services/samgr_lite/samgr/adapter",
"//foundation/distributedschedule/services/samgr_lite/samgr/source",
"//vendor/hisi/hi3861/hi3861/include",
"//vendor/hisi/hi3861/hi3861/components/lwip_sack/include",
"//kernel/liteos_m/components/cmsis/2.0",
"src",
"utils",
]
deps = [
"//test/xts/tools/hctest:hctest",
]
public_deps = [
"//foundation/distributedschedule/services/samgr_lite/samgr/adapter:samgr_adapter",
]
defines = [
"UNITY_INCLUDE_CONFIG_H",
]
cflags = [ "-Wno-error" ]
suite_name = "acts"
sources = [
"src/broadcast_publish_func_test.c",
"src/broadcast_subscribe_func_test.c",
"src/common_func_test.c",
"src/defaultfeatureapi_func_test.c",
"src/feature_func_test.c",
"src/featureapi_func_test.c",
"src/iunknown_func_test.c",
"src/sendrequest_func_test.c",
"src/sendresponse_func_test.c",
"src/sendsharerequest_func_test.c",
"src/service_func_test.c",
"src/taskpool_notask_func_test.c",
"src/taskpool_sharedtask_func_test.c",
"src/taskpool_singletask_func_test.c",
"src/taskpool_specifiedtask_func_test.c",
"utils/samgr_maintenance.c",
]
include_dirs = [
"//test/xts/tools/hctest/include",
"//third_party/unity/src",
"//kernel/liteos_m/kal",
"//foundation/distributedschedule/interfaces/kits/samgr_lite/samgr",
"//foundation/distributedschedule/interfaces/kits/samgr_lite/communication/broadcast",
"//foundation/distributedschedule/services/samgr_lite/samgr/adapter",
"//foundation/distributedschedule/services/samgr_lite/samgr/source",
"//vendor/hisi/hi3861/hi3861/include",
"//vendor/hisi/hi3861/hi3861/components/lwip_sack/include",
"src",
"utils",
]
deps = [ "//test/xts/tools/hctest:hctest" ]
public_deps = [ "//foundation/distributedschedule/services/samgr_lite/samgr/adapter:samgr_adapter" ]
defines = [ "UNITY_INCLUDE_CONFIG_H" ]
cflags = [ "-Wno-error" ]
}
# Copyright (c) 2020 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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.
# Copyright (c) 2020 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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("//test/xts/tools/build/suite_lite.gni")
hctest_suite("ActsWifiIotTest") {
suite_name = "acts"
sources = [
"src/wifiiot_func_test.c",
"src/wifiiot_flash_func_test.c",
"src/wifiiot_gpio_func_test.c",
"src/wifiiot_i2c_func_test.c",
"src/wifiiot_uart_func_test.c",
"src/wifiiot_adc_func_test.c",
"src/wifiiot_spi_hdx_func_test.c",
"src/wifiiot_spi_slave_func_test.c",
"src/wifiiot_spi_fdx_func_test.c",
"src/wifiiot_sdio_func_test.c",
]
suite_name = "acts"
sources = [
"src/wifiiot_adc_func_test.c",
"src/wifiiot_flash_func_test.c",
"src/wifiiot_func_test.c",
"src/wifiiot_gpio_func_test.c",
"src/wifiiot_i2c_func_test.c",
"src/wifiiot_sdio_func_test.c",
"src/wifiiot_spi_fdx_func_test.c",
"src/wifiiot_spi_hdx_func_test.c",
"src/wifiiot_spi_slave_func_test.c",
"src/wifiiot_uart_func_test.c",
]
include_dirs = [
"//test/xts/tools/hctest/include",
"//third_party/unity/src",
"src",
"//kernel/liteos_m/components/cmsis",
"//foundation/distributedschedule/interfaces/kits/samgr_lite/samgr",
"//base/iot_hardware/interfaces/kits/wifiiot_lite",
]
include_dirs = [
"//test/xts/tools/hctest/include",
"//third_party/unity/src",
"src",
"//kernel/liteos_m/kal",
"//foundation/distributedschedule/interfaces/kits/samgr_lite/samgr",
"//base/iot_hardware/interfaces/kits/wifiiot_lite",
]
deps = [
"//test/xts/tools/hctest:hctest",
]
deps = [ "//test/xts/tools/hctest:hctest" ]
cflags = [ "-Wno-error" ]
cflags = [ "-Wno-error" ]
}
# Copyright (c) 2020 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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.
# Copyright (c) 2020 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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("//test/xts/tools/build/suite_lite.gni")
hctest_suite("ActsCMSISTest") {
suite_name = "acts"
sources = [
"src/cmsis_task_func_test.c",
"src/cmsis_task_pri_func_test.c",
"src/cmsis_timer_func_test.c",
"src/cmsis_event_func_test.c",
"src/cmsis_mutex_func_test.c",
"src/cmsis_msg_func_test.c",
"src/cmsis_sem_func_test.c",
]
suite_name = "acts"
sources = [
"src/cmsis_event_func_test.c",
"src/cmsis_msg_func_test.c",
"src/cmsis_mutex_func_test.c",
"src/cmsis_sem_func_test.c",
"src/cmsis_task_func_test.c",
"src/cmsis_task_pri_func_test.c",
"src/cmsis_timer_func_test.c",
]
include_dirs = [
"//test/xts/tools/hctest/include",
"//third_party/unity/src",
"src",
"//kernel/liteos_m/components/cmsis",
"//kernel/liteos_m/components/cmsis/2.0",
]
cflags = [ "-Wno-error" ]
}
\ No newline at end of file
include_dirs = [
"//test/xts/tools/hctest/include",
"//third_party/unity/src",
"src",
"//kernel/liteos_m/kal",
]
cflags = [ "-Wno-error" ]
}
# Copyright (c) 2020 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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.
# Copyright (c) 2020 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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("//test/xts/tools/build/suite_lite.gni")
hctest_suite("ActsKalTest") {
suite_name = "acts"
sources = [
"src/kal_func_test.c",
]
suite_name = "acts"
sources = [ "src/kal_func_test.c" ]
include_dirs = [
"//test/xts/tools/hctest/include",
"//third_party/unity/src",
"src",
"//kernel/liteos_m/components/cmsis",
"//kernel/liteos_m/components/cmsis/2.0",
"//kernel/liteos_m/components/kal/include",
"//kernel/liteos_m/kernel/base/include",
]
cflags = [ "-Wno-error" ]
}
\ No newline at end of file
include_dirs = [
"//test/xts/tools/hctest/include",
"//third_party/unity/src",
"src",
"//kernel/liteos_m/kal",
]
cflags = [ "-Wno-error" ]
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册