Переглянути джерело

Relicense to Apache-2.0 with the LLVM-exception (#137)

With agreement from contributors.
Josh Triplett 6 роки тому
батько
коміт
b0b0789dca
100 змінених файлів з 125 додано та 1168 видалено
  1. 5 3
      CONTRIBUTING.md
  2. 17 0
      LICENSE
  3. 6 1
      README.md
  4. 1 12
      core/app-mgr/app-manager/CMakeLists.txt
  5. 1 12
      core/app-mgr/app-manager/app_manager.c
  6. 1 12
      core/app-mgr/app-manager/app_manager.h
  7. 1 12
      core/app-mgr/app-manager/app_manager_host.c
  8. 1 12
      core/app-mgr/app-manager/app_manager_host.h
  9. 1 12
      core/app-mgr/app-manager/app_mgr.cmake
  10. 1 12
      core/app-mgr/app-manager/ble_msg.c
  11. 1 12
      core/app-mgr/app-manager/event.c
  12. 1 12
      core/app-mgr/app-manager/event.h
  13. 1 12
      core/app-mgr/app-manager/message.c
  14. 1 12
      core/app-mgr/app-manager/module_config.h
  15. 1 12
      core/app-mgr/app-manager/module_jeff.c
  16. 1 12
      core/app-mgr/app-manager/module_jeff.h
  17. 1 12
      core/app-mgr/app-manager/module_utils.c
  18. 1 12
      core/app-mgr/app-manager/module_wasm_app.c
  19. 1 12
      core/app-mgr/app-manager/module_wasm_app.h
  20. 1 12
      core/app-mgr/app-manager/module_wasm_lib.c
  21. 1 12
      core/app-mgr/app-manager/module_wasm_lib.h
  22. 1 12
      core/app-mgr/app-manager/platform/linux/app_mgr_linux.c
  23. 1 12
      core/app-mgr/app-manager/platform/zephyr/app_mgr_zephyr.c
  24. 1 12
      core/app-mgr/app-manager/resource_reg.c
  25. 1 12
      core/app-mgr/app-manager/watchdog.c
  26. 1 12
      core/app-mgr/app-manager/watchdog.h
  27. 1 12
      core/app-mgr/app-mgr-shared/app_manager_export.h
  28. 1 12
      core/app-mgr/app-mgr-shared/app_mgr_shared.cmake
  29. 1 12
      core/app-mgr/app-mgr-shared/host_link.h
  30. 1 12
      core/iwasm/app-samples/hello-world-cmake/CMakeLists.txt
  31. 1 12
      core/iwasm/app-samples/hello-world-cmake/build.sh
  32. 1 12
      core/iwasm/app-samples/hello-world-cmake/main.c
  33. 1 12
      core/iwasm/app-samples/hello-world-cmake/print.c
  34. 1 12
      core/iwasm/app-samples/hello-world/build.sh
  35. 1 12
      core/iwasm/app-samples/hello-world/main.c
  36. 1 12
      core/iwasm/app-samples/smart-light/build.sh
  37. 1 12
      core/iwasm/app-samples/smart-light/main.c
  38. 1 12
      core/iwasm/lib/app-libs/base/bh_platform.c
  39. 1 12
      core/iwasm/lib/app-libs/base/bh_platform.h
  40. 1 12
      core/iwasm/lib/app-libs/base/request.c
  41. 1 12
      core/iwasm/lib/app-libs/base/request.h
  42. 1 12
      core/iwasm/lib/app-libs/base/timer.c
  43. 1 12
      core/iwasm/lib/app-libs/base/timer_wasm_app.h
  44. 1 12
      core/iwasm/lib/app-libs/extension/connection/connection.c
  45. 1 12
      core/iwasm/lib/app-libs/extension/connection/connection.h
  46. 1 12
      core/iwasm/lib/app-libs/extension/gui/inc/wgl_btn.h
  47. 1 12
      core/iwasm/lib/app-libs/extension/gui/inc/wgl_cb.h
  48. 1 12
      core/iwasm/lib/app-libs/extension/gui/inc/wgl_label.h
  49. 1 12
      core/iwasm/lib/app-libs/extension/gui/inc/wgl_list.h
  50. 1 12
      core/iwasm/lib/app-libs/extension/gui/inc/wgl_obj.h
  51. 1 12
      core/iwasm/lib/app-libs/extension/gui/inc/wgl_types.h
  52. 1 12
      core/iwasm/lib/app-libs/extension/gui/lvgl-compatible/lv_btn.h
  53. 1 12
      core/iwasm/lib/app-libs/extension/gui/lvgl-compatible/lv_cb.h
  54. 1 12
      core/iwasm/lib/app-libs/extension/gui/lvgl-compatible/lv_label.h
  55. 1 12
      core/iwasm/lib/app-libs/extension/gui/lvgl-compatible/lv_list.h
  56. 1 12
      core/iwasm/lib/app-libs/extension/gui/lvgl-compatible/lv_obj.h
  57. 1 12
      core/iwasm/lib/app-libs/extension/gui/lvgl-compatible/lv_types.h
  58. 1 12
      core/iwasm/lib/app-libs/extension/gui/lvgl.h
  59. 1 12
      core/iwasm/lib/app-libs/extension/gui/src/wgl_btn.c
  60. 1 12
      core/iwasm/lib/app-libs/extension/gui/src/wgl_cb.c
  61. 1 12
      core/iwasm/lib/app-libs/extension/gui/src/wgl_label.c
  62. 1 12
      core/iwasm/lib/app-libs/extension/gui/src/wgl_list.c
  63. 1 12
      core/iwasm/lib/app-libs/extension/gui/src/wgl_obj.c
  64. 1 12
      core/iwasm/lib/app-libs/extension/gui/wgl.h
  65. 1 12
      core/iwasm/lib/app-libs/extension/sensor/sensor.c
  66. 1 12
      core/iwasm/lib/app-libs/extension/sensor/sensor.h
  67. 1 12
      core/iwasm/lib/app-libs/libc/lib_base.h
  68. 1 12
      core/iwasm/lib/native-interface/attr_container.c
  69. 1 12
      core/iwasm/lib/native-interface/attr_container.h
  70. 1 12
      core/iwasm/lib/native-interface/connection_api.h
  71. 1 12
      core/iwasm/lib/native-interface/gui_api.h
  72. 1 12
      core/iwasm/lib/native-interface/native_interface.cmake
  73. 1 12
      core/iwasm/lib/native-interface/native_interface.h
  74. 1 12
      core/iwasm/lib/native-interface/req_resp_api.h
  75. 1 12
      core/iwasm/lib/native-interface/restful_utils.c
  76. 1 12
      core/iwasm/lib/native-interface/sensor_api.h
  77. 1 12
      core/iwasm/lib/native-interface/shared_utils.h
  78. 1 12
      core/iwasm/lib/native-interface/timer_api.h
  79. 1 12
      core/iwasm/lib/native-interface/wgl_shared_utils.h
  80. 1 12
      core/iwasm/lib/native/base/base_lib_export.c
  81. 1 12
      core/iwasm/lib/native/base/base_lib_export.h
  82. 1 12
      core/iwasm/lib/native/base/request_response.c
  83. 1 12
      core/iwasm/lib/native/base/runtime_lib.h
  84. 1 12
      core/iwasm/lib/native/base/timer_wrapper.c
  85. 1 12
      core/iwasm/lib/native/base/wasm_lib_base.cmake
  86. 1 12
      core/iwasm/lib/native/extension/connection/connection.inl
  87. 1 12
      core/iwasm/lib/native/extension/connection/connection_lib.h
  88. 1 12
      core/iwasm/lib/native/extension/connection/connection_wrapper.c
  89. 1 12
      core/iwasm/lib/native/extension/connection/linux/conn_tcp.c
  90. 1 12
      core/iwasm/lib/native/extension/connection/linux/conn_tcp.h
  91. 1 12
      core/iwasm/lib/native/extension/connection/linux/conn_uart.c
  92. 1 12
      core/iwasm/lib/native/extension/connection/linux/conn_uart.h
  93. 1 12
      core/iwasm/lib/native/extension/connection/linux/conn_udp.c
  94. 1 12
      core/iwasm/lib/native/extension/connection/linux/conn_udp.h
  95. 1 12
      core/iwasm/lib/native/extension/connection/linux/connection_mgr.c
  96. 1 12
      core/iwasm/lib/native/extension/connection/linux/connection_mgr.cmake
  97. 1 12
      core/iwasm/lib/native/extension/connection/wasm_lib_conn.cmake
  98. 1 12
      core/iwasm/lib/native/extension/connection/zephyr/connection_lib_impl.c
  99. 1 12
      core/iwasm/lib/native/extension/gui/wamr_gui.inl
  100. 1 12
      core/iwasm/lib/native/extension/gui/wasm_lib_gui.cmake

+ 5 - 3
CONTRIBUTING.md

@@ -8,9 +8,11 @@ We want to make contributing to this project as easy and transparent as possible
 - Proposing new features
 - Proposing new features
 
 
 License
 License
-=====================
-WAMR uses the permissive open source `Apache 2.0 license`_ that allows you to freely use, modify, distribute and sell your own products that include Apache 2.0 licensed software. 
-Any contributions you make will be under the same license. Feel free to contact the maintainers if that's a concern.
+=======
+WAMR uses the same license as LLVM: the `Apache 2.0 license` with the LLVM
+exception. See the LICENSE file for details. This license allows you to freely
+use, modify, distribute and sell your own products based on WAMR.
+Any contributions you make will be under the same license.
 
 
 Code changes
 Code changes
 ===================
 ===================

+ 17 - 0
LICENSE

@@ -200,3 +200,20 @@
    See the License for the specific language governing permissions and
    See the License for the specific language governing permissions and
    limitations under the License.
    limitations under the License.
 
 
+
+--- LLVM Exceptions to the Apache 2.0 License ----
+
+As an exception, if, as a result of your compiling your source code, portions
+of this Software are embedded into an Object form of such source code, you
+may redistribute such embedded portions in such Object form without complying
+with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
+
+In addition, if you combine or link compiled forms of this Software with
+software that is licensed under the GPLv2 ("Combined Software") and if a
+court of competent jurisdiction determines that the patent provision (Section
+3), the indemnity provision (Section 9) or other Section of the License
+conflicts with the conditions of the GPLv2, you may retroactively and
+prospectively choose to deem waived or otherwise exclude such Section(s) of
+the License, but only in their entirety and only with respect to the Combined
+Software.
+

+ 6 - 1
README.md

@@ -117,7 +117,12 @@ See the [roadmap](./doc/roadmap.md) to understand what major features are planed
 Please submit issues for any new feature request, or your plan for contributing new features.
 Please submit issues for any new feature request, or your plan for contributing new features.
 
 
 
 
-
+License
+=======
+WAMR uses the same license as LLVM: the `Apache 2.0 license` with the LLVM
+exception. See the LICENSE file for details. This license allows you to freely
+use, modify, distribute and sell your own products based on WAMR.
+Any contributions you make will be under the same license.
 
 
 
 
 Submit issues and contact the maintainers
 Submit issues and contact the maintainers

+ 1 - 12
core/app-mgr/app-manager/CMakeLists.txt

@@ -1,16 +1,5 @@
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
-#
-# 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.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 
 include_directories (.
 include_directories (.
                      include
                      include

+ 1 - 12
core/app-mgr/app-manager/app_manager.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "app_manager.h"
 #include "app_manager.h"

+ 1 - 12
core/app-mgr/app-manager/app_manager.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef APP_MANAGER_H
 #ifndef APP_MANAGER_H

+ 1 - 12
core/app-mgr/app-manager/app_manager_host.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "bh_common.h"
 #include "bh_common.h"

+ 1 - 12
core/app-mgr/app-manager/app_manager_host.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _APP_MANAGER_HOST_H_
 #ifndef _APP_MANAGER_HOST_H_

+ 1 - 12
core/app-mgr/app-manager/app_mgr.cmake

@@ -1,16 +1,5 @@
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
-#
-# 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.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 
 set (__APP_MGR_DIR ${CMAKE_CURRENT_LIST_DIR})
 set (__APP_MGR_DIR ${CMAKE_CURRENT_LIST_DIR})
 
 

+ 1 - 12
core/app-mgr/app-manager/ble_msg.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #if 0
 #if 0

+ 1 - 12
core/app-mgr/app-manager/event.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include <string.h>
 #include <string.h>

+ 1 - 12
core/app-mgr/app-manager/event.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _EVENT_H_
 #ifndef _EVENT_H_

+ 1 - 12
core/app-mgr/app-manager/message.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "app_manager.h"
 #include "app_manager.h"

+ 1 - 12
core/app-mgr/app-manager/module_config.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _MODULE_CONFIG_H_
 #ifndef _MODULE_CONFIG_H_

+ 1 - 12
core/app-mgr/app-manager/module_jeff.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifdef ENABLE_JEFF
 #ifdef ENABLE_JEFF

+ 1 - 12
core/app-mgr/app-manager/module_jeff.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _MODULE_JEFF_H_
 #ifndef _MODULE_JEFF_H_

+ 1 - 12
core/app-mgr/app-manager/module_utils.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "app_manager.h"
 #include "app_manager.h"

+ 1 - 12
core/app-mgr/app-manager/module_wasm_app.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "module_wasm_app.h"
 #include "module_wasm_app.h"

+ 1 - 12
core/app-mgr/app-manager/module_wasm_app.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _MODULE_WASM_APP_H_
 #ifndef _MODULE_WASM_APP_H_

+ 1 - 12
core/app-mgr/app-manager/module_wasm_lib.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 
 

+ 1 - 12
core/app-mgr/app-manager/module_wasm_lib.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _MODULE_WASM_LIB_H_
 #ifndef _MODULE_WASM_LIB_H_

+ 1 - 12
core/app-mgr/app-manager/platform/linux/app_mgr_linux.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "app_manager.h"
 #include "app_manager.h"

+ 1 - 12
core/app-mgr/app-manager/platform/zephyr/app_mgr_zephyr.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "app_manager.h"
 #include "app_manager.h"

+ 1 - 12
core/app-mgr/app-manager/resource_reg.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 
 

+ 1 - 12
core/app-mgr/app-manager/watchdog.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "watchdog.h"
 #include "watchdog.h"

+ 1 - 12
core/app-mgr/app-manager/watchdog.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 
 

+ 1 - 12
core/app-mgr/app-mgr-shared/app_manager_export.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _APP_MANAGER_EXPORT_H_
 #ifndef _APP_MANAGER_EXPORT_H_

+ 1 - 12
core/app-mgr/app-mgr-shared/app_mgr_shared.cmake

@@ -1,16 +1,5 @@
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
-#
-# 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.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 
 set (APP_MGR_SHARED_DIR ${CMAKE_CURRENT_LIST_DIR})
 set (APP_MGR_SHARED_DIR ${CMAKE_CURRENT_LIST_DIR})
 
 

+ 1 - 12
core/app-mgr/app-mgr-shared/host_link.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef DEPS_APP_MGR_APP_MGR_SHARED_HOST_LINK_H_
 #ifndef DEPS_APP_MGR_APP_MGR_SHARED_HOST_LINK_H_

+ 1 - 12
core/iwasm/app-samples/hello-world-cmake/CMakeLists.txt

@@ -1,16 +1,5 @@
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
-#
-# 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.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 
 cmake_minimum_required (VERSION 3.5)
 cmake_minimum_required (VERSION 3.5)
 project(hello_world)
 project(hello_world)

+ 1 - 12
core/iwasm/app-samples/hello-world-cmake/build.sh

@@ -1,18 +1,7 @@
 #!/bin/bash
 #!/bin/bash
 
 
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
-#
-# 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.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 
 mkdir build
 mkdir build
 cd build
 cd build

+ 1 - 12
core/iwasm/app-samples/hello-world-cmake/main.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "stdio.h"
 #include "stdio.h"

+ 1 - 12
core/iwasm/app-samples/hello-world-cmake/print.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "stdio.h"
 #include "stdio.h"

+ 1 - 12
core/iwasm/app-samples/hello-world/build.sh

@@ -1,16 +1,5 @@
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
-#
-# 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.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 
 emcc -g -O3 *.c -s WASM=1 -s SIDE_MODULE=1 -s ASSERTIONS=1 -s STACK_OVERFLOW_CHECK=2 \
 emcc -g -O3 *.c -s WASM=1 -s SIDE_MODULE=1 -s ASSERTIONS=1 -s STACK_OVERFLOW_CHECK=2 \
                 -s TOTAL_MEMORY=65536 -s TOTAL_STACK=4096 -o test.wasm
                 -s TOTAL_MEMORY=65536 -s TOTAL_STACK=4096 -o test.wasm

+ 1 - 12
core/iwasm/app-samples/hello-world/main.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include <stdio.h>
 #include <stdio.h>

+ 1 - 12
core/iwasm/app-samples/smart-light/build.sh

@@ -1,16 +1,5 @@
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
-#
-# 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.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 
 emcc -g -O3 *.c -s WASM=1 -s SIDE_MODULE=1 -s ASSERTIONS=1 -s STACK_OVERFLOW_CHECK=2 \
 emcc -g -O3 *.c -s WASM=1 -s SIDE_MODULE=1 -s ASSERTIONS=1 -s STACK_OVERFLOW_CHECK=2 \
      -s TOTAL_MEMORY=65536 -s TOTAL_STACK=4096 -o test.wasm
      -s TOTAL_MEMORY=65536 -s TOTAL_STACK=4096 -o test.wasm

+ 1 - 12
core/iwasm/app-samples/smart-light/main.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include <stdio.h>
 #include <stdio.h>

+ 1 - 12
core/iwasm/lib/app-libs/base/bh_platform.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "bh_platform.h"
 #include "bh_platform.h"

+ 1 - 12
core/iwasm/lib/app-libs/base/bh_platform.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef DEPS_IWASM_APP_LIBS_BASE_BH_PLATFORM_H_
 #ifndef DEPS_IWASM_APP_LIBS_BASE_BH_PLATFORM_H_

+ 1 - 12
core/iwasm/lib/app-libs/base/request.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "attr_container.h"
 #include "attr_container.h"

+ 1 - 12
core/iwasm/lib/app-libs/base/request.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _AEE_REQUEST_H_
 #ifndef _AEE_REQUEST_H_

+ 1 - 12
core/iwasm/lib/app-libs/base/timer.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include <stdlib.h>
 #include <stdlib.h>

+ 1 - 12
core/iwasm/lib/app-libs/base/timer_wasm_app.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _AEE_TIMER_H_
 #ifndef _AEE_TIMER_H_

+ 1 - 12
core/iwasm/lib/app-libs/extension/connection/connection.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "connection.h"
 #include "connection.h"

+ 1 - 12
core/iwasm/lib/app-libs/extension/connection/connection.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _CONNECTION_H_
 #ifndef _CONNECTION_H_

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/inc/wgl_btn.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef WAMR_GRAPHIC_LIBRARY_BTN_H
 #ifndef WAMR_GRAPHIC_LIBRARY_BTN_H

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/inc/wgl_cb.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef WAMR_GRAPHIC_LIBRARY_CB_H
 #ifndef WAMR_GRAPHIC_LIBRARY_CB_H

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/inc/wgl_label.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef WAMR_GRAPHIC_LIBRARY_LABEL_H
 #ifndef WAMR_GRAPHIC_LIBRARY_LABEL_H

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/inc/wgl_list.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef WAMR_GRAPHIC_LIBRARY_LIST_H
 #ifndef WAMR_GRAPHIC_LIBRARY_LIST_H

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/inc/wgl_obj.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef WAMR_GRAPHIC_LIBRARY_OBJ_H
 #ifndef WAMR_GRAPHIC_LIBRARY_OBJ_H

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/inc/wgl_types.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef WAMR_GRAPHIC_LIBRARY_TYPES_H
 #ifndef WAMR_GRAPHIC_LIBRARY_TYPES_H

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/lvgl-compatible/lv_btn.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef WAMR_GRAPHIC_LIBRARY_BTN_LVGL_COMPATIBLE_H
 #ifndef WAMR_GRAPHIC_LIBRARY_BTN_LVGL_COMPATIBLE_H

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/lvgl-compatible/lv_cb.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef WAMR_GRAPHIC_LIBRARY_CB_LVGL_COMPATIBLE_H
 #ifndef WAMR_GRAPHIC_LIBRARY_CB_LVGL_COMPATIBLE_H

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/lvgl-compatible/lv_label.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef WAMR_GRAPHIC_LIBRARY_LABEL_LVGL_COMPATIBLE_H
 #ifndef WAMR_GRAPHIC_LIBRARY_LABEL_LVGL_COMPATIBLE_H

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/lvgl-compatible/lv_list.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef WAMR_GRAPHIC_LIBRARY_LIST_LVGL_COMPATIBLE_H
 #ifndef WAMR_GRAPHIC_LIBRARY_LIST_LVGL_COMPATIBLE_H

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/lvgl-compatible/lv_obj.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef WAMR_GRAPHIC_LIBRARY_OBJ_LVGL_COMPATIBLE_H
 #ifndef WAMR_GRAPHIC_LIBRARY_OBJ_LVGL_COMPATIBLE_H

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/lvgl-compatible/lv_types.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef WAMR_GRAPHIC_LIBRARY_TYPES_LVGL_COMPATIBLE_H
 #ifndef WAMR_GRAPHIC_LIBRARY_TYPES_LVGL_COMPATIBLE_H

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/lvgl.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef WAMR_GRAPHIC_LIBRARY_LVGL_COMPATIBLE_H
 #ifndef WAMR_GRAPHIC_LIBRARY_LVGL_COMPATIBLE_H

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/src/wgl_btn.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "wgl.h"
 #include "wgl.h"

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/src/wgl_cb.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "wgl.h"
 #include "wgl.h"

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/src/wgl_label.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 
 

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/src/wgl_list.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "wgl.h"
 #include "wgl.h"

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/src/wgl_obj.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "wgl.h"
 #include "wgl.h"

+ 1 - 12
core/iwasm/lib/app-libs/extension/gui/wgl.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef WAMR_GRAPHIC_LIBRARY_H
 #ifndef WAMR_GRAPHIC_LIBRARY_H

+ 1 - 12
core/iwasm/lib/app-libs/extension/sensor/sensor.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "sensor.h"
 #include "sensor.h"

+ 1 - 12
core/iwasm/lib/app-libs/extension/sensor/sensor.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _AEE_SENSOR_H_
 #ifndef _AEE_SENSOR_H_

+ 1 - 12
core/iwasm/lib/app-libs/libc/lib_base.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _LIB_BASE_H_
 #ifndef _LIB_BASE_H_

+ 1 - 12
core/iwasm/lib/native-interface/attr_container.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "attr_container.h"
 #include "attr_container.h"

+ 1 - 12
core/iwasm/lib/native-interface/attr_container.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _ATTR_CONTAINER_H_
 #ifndef _ATTR_CONTAINER_H_

+ 1 - 12
core/iwasm/lib/native-interface/connection_api.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef CONNECTION_API_H_
 #ifndef CONNECTION_API_H_

+ 1 - 12
core/iwasm/lib/native-interface/gui_api.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _GUI_API_H_
 #ifndef _GUI_API_H_

+ 1 - 12
core/iwasm/lib/native-interface/native_interface.cmake

@@ -1,16 +1,5 @@
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
-#
-# 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.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 
 set (NATIVE_INTERFACE_DIR ${CMAKE_CURRENT_LIST_DIR})
 set (NATIVE_INTERFACE_DIR ${CMAKE_CURRENT_LIST_DIR})
 
 

+ 1 - 12
core/iwasm/lib/native-interface/native_interface.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _NATIVE_INTERFACE_H_
 #ifndef _NATIVE_INTERFACE_H_

+ 1 - 12
core/iwasm/lib/native-interface/req_resp_api.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _REQ_RESP_API_H_
 #ifndef _REQ_RESP_API_H_

+ 1 - 12
core/iwasm/lib/native-interface/restful_utils.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include <stdlib.h>
 #include <stdlib.h>

+ 1 - 12
core/iwasm/lib/native-interface/sensor_api.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _SENSOR_API_H_
 #ifndef _SENSOR_API_H_

+ 1 - 12
core/iwasm/lib/native-interface/shared_utils.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _SHARED_UTILS_H_
 #ifndef _SHARED_UTILS_H_

+ 1 - 12
core/iwasm/lib/native-interface/timer_api.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _TIMER_API_H_
 #ifndef _TIMER_API_H_

+ 1 - 12
core/iwasm/lib/native-interface/wgl_shared_utils.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef WAMR_GRAPHIC_LIBRARY_SHARED_UTILS_H
 #ifndef WAMR_GRAPHIC_LIBRARY_SHARED_UTILS_H

+ 1 - 12
core/iwasm/lib/native/base/base_lib_export.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include <stdio.h>
 #include <stdio.h>

+ 1 - 12
core/iwasm/lib/native/base/base_lib_export.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef _BASE_LIB_EXPORT_H_
 #ifndef _BASE_LIB_EXPORT_H_

+ 1 - 12
core/iwasm/lib/native/base/request_response.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "app_manager_export.h"
 #include "app_manager_export.h"

+ 1 - 12
core/iwasm/lib/native/base/runtime_lib.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef LIB_BASE_RUNTIME_LIB_H_
 #ifndef LIB_BASE_RUNTIME_LIB_H_

+ 1 - 12
core/iwasm/lib/native/base/timer_wrapper.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "runtime_timer.h"
 #include "runtime_timer.h"

+ 1 - 12
core/iwasm/lib/native/base/wasm_lib_base.cmake

@@ -1,16 +1,5 @@
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
-#
-# 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.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 
 set (WASM_LIB_BASE_DIR ${CMAKE_CURRENT_LIST_DIR})
 set (WASM_LIB_BASE_DIR ${CMAKE_CURRENT_LIST_DIR})
 
 

+ 1 - 12
core/iwasm/lib/native/extension/connection/connection.inl

@@ -1,17 +1,6 @@
 /*
 /*
 * Copyright (C) 2019 Intel Corporation.  All rights reserved.
 * Copyright (C) 2019 Intel Corporation.  All rights reserved.
-*
-* 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.
+* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 */
 */
 
 
 EXPORT_WASM_API(wasm_open_connection),
 EXPORT_WASM_API(wasm_open_connection),

+ 1 - 12
core/iwasm/lib/native/extension/connection/connection_lib.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef CONNECTION_LIB_H_
 #ifndef CONNECTION_LIB_H_

+ 1 - 12
core/iwasm/lib/native/extension/connection/connection_wrapper.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "connection_lib.h"
 #include "connection_lib.h"

+ 1 - 12
core/iwasm/lib/native/extension/connection/linux/conn_tcp.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "conn_tcp.h"
 #include "conn_tcp.h"

+ 1 - 12
core/iwasm/lib/native/extension/connection/linux/conn_tcp.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef CONN_LINUX_TCP_H_
 #ifndef CONN_LINUX_TCP_H_

+ 1 - 12
core/iwasm/lib/native/extension/connection/linux/conn_uart.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "conn_uart.h"
 #include "conn_uart.h"

+ 1 - 12
core/iwasm/lib/native/extension/connection/linux/conn_uart.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef CONN_LINUX_UART_H_
 #ifndef CONN_LINUX_UART_H_

+ 1 - 12
core/iwasm/lib/native/extension/connection/linux/conn_udp.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #include "conn_udp.h"
 #include "conn_udp.h"

+ 1 - 12
core/iwasm/lib/native/extension/connection/linux/conn_udp.h

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 #ifndef CONN_LINUX_UDP_H_
 #ifndef CONN_LINUX_UDP_H_

+ 1 - 12
core/iwasm/lib/native/extension/connection/linux/connection_mgr.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 /*
 /*

+ 1 - 12
core/iwasm/lib/native/extension/connection/linux/connection_mgr.cmake

@@ -1,16 +1,5 @@
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
-#
-# 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.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 
 set (WASM_LIB_CONN_MGR_DIR ${CMAKE_CURRENT_LIST_DIR})
 set (WASM_LIB_CONN_MGR_DIR ${CMAKE_CURRENT_LIST_DIR})
 
 

+ 1 - 12
core/iwasm/lib/native/extension/connection/wasm_lib_conn.cmake

@@ -1,16 +1,5 @@
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
-#
-# 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.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 
 set (WASM_LIB_CONN_DIR ${CMAKE_CURRENT_LIST_DIR})
 set (WASM_LIB_CONN_DIR ${CMAKE_CURRENT_LIST_DIR})
 
 

+ 1 - 12
core/iwasm/lib/native/extension/connection/zephyr/connection_lib_impl.c

@@ -1,17 +1,6 @@
 /*
 /*
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
  * Copyright (C) 2019 Intel Corporation.  All rights reserved.
- *
- * 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.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  */
  */
 
 
 /*
 /*

+ 1 - 12
core/iwasm/lib/native/extension/gui/wamr_gui.inl

@@ -1,17 +1,6 @@
 /*
 /*
 * Copyright (C) 2019 Intel Corporation.  All rights reserved.
 * Copyright (C) 2019 Intel Corporation.  All rights reserved.
-*
-* 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.
+* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 */
 */
 
 
 /* button */
 /* button */

+ 1 - 12
core/iwasm/lib/native/extension/gui/wasm_lib_gui.cmake

@@ -1,16 +1,5 @@
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
 # Copyright (C) 2019 Intel Corporation.  All rights reserved.
-#
-# 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.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 
 set (WASM_LIB_GUI_DIR ${CMAKE_CURRENT_LIST_DIR})
 set (WASM_LIB_GUI_DIR ${CMAKE_CURRENT_LIST_DIR})
 
 

Деякі файли не було показано, через те що забагато файлів було змінено