diff --git a/app/iothardware/BUILD.gn b/app/iothardware/BUILD.gn index 9e4f53929f480f78714408347de30f22b6359ad5..7c49e1a5840e0bc41cc2e2fe7fa84fff89cec4d0 100755 --- a/app/iothardware/BUILD.gn +++ b/app/iothardware/BUILD.gn @@ -1,24 +1,22 @@ -# 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 +# 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. - -static_library("led_example") { - sources = [ - "led_example.c" - ] - - include_dirs = [ - "//utils/native/lite/include", - "//kernel/liteos_m/components/cmsis/2.0", - "//base/iot_hardware/interfaces/kits/wifiiot_lite", - ] -} + +static_library("led_example") { + sources = [ "led_example.c" ] + + include_dirs = [ + "//utils/native/lite/include", + "//kernel/liteos_m/kal", + "//base/iot_hardware/interfaces/kits/wifiiot_lite", + ] +} diff --git a/app/samgr/BUILD.gn b/app/samgr/BUILD.gn index ea85b0c0cd5730fdadc52b9945932cf1d7db7a0d..3a776e5a6c5fce26dd4f75f5f3fd3fbf2fb555a4 100755 --- a/app/samgr/BUILD.gn +++ b/app/samgr/BUILD.gn @@ -1,35 +1,35 @@ -# 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 +# 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. - -static_library("example_samgr") { - sources = [ - "bootstrap_example.c", - "broadcast_example.c", - "feature_example.c", - "maintenance_example.c", - "service_example.c", - "service_recovery_example.c", - "specified_task_example.c", - "task_example.c", - ] - - include_dirs = [ - "//utils/native/lite/include", - "//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/source", - "//foundation/distributedschedule/services/samgr_lite/samgr/adapter", - "//test/xts/tools/hctest/include", - ] -} \ No newline at end of file + +static_library("example_samgr") { + sources = [ + "bootstrap_example.c", + "broadcast_example.c", + "feature_example.c", + "maintenance_example.c", + "service_example.c", + "service_recovery_example.c", + "specified_task_example.c", + "task_example.c", + ] + + include_dirs = [ + "//utils/native/lite/include", + "//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/source", + "//foundation/distributedschedule/services/samgr_lite/samgr/adapter", + "//test/xts/tools/hctest/include", + ] +}