1b815c7f3Sopenharmony_ciApache License
2b815c7f3Sopenharmony_ci
3b815c7f3Sopenharmony_ciVersion 2.0, January 2004
4b815c7f3Sopenharmony_ci
5b815c7f3Sopenharmony_cihttp://www.apache.org/licenses/
6b815c7f3Sopenharmony_ci
7b815c7f3Sopenharmony_ciTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8b815c7f3Sopenharmony_ci
9b815c7f3Sopenharmony_ci1. Definitions.
10b815c7f3Sopenharmony_ci
11b815c7f3Sopenharmony_ci"License" shall mean the terms and conditions for use, reproduction, and
12b815c7f3Sopenharmony_cidistribution as defined by Sections 1 through 9 of this document.
13b815c7f3Sopenharmony_ci
14b815c7f3Sopenharmony_ci"Licensor" shall mean the copyright owner or entity authorized by the
15b815c7f3Sopenharmony_cicopyright owner that is granting the License.
16b815c7f3Sopenharmony_ci
17b815c7f3Sopenharmony_ci"Legal Entity" shall mean the union of the acting entity and all other
18b815c7f3Sopenharmony_cientities that control, are controlled by, or are under common control
19b815c7f3Sopenharmony_ciwith that entity. For the purposes of this definition, "control" means
20b815c7f3Sopenharmony_ci(i) the power, direct or indirect, to cause the direction or management
21b815c7f3Sopenharmony_ciof such entity, whether by contract or otherwise, or (ii) ownership
22b815c7f3Sopenharmony_ciof fifty percent (50%) or more of the outstanding shares, or (iii)
23b815c7f3Sopenharmony_cibeneficial ownership of such entity.
24b815c7f3Sopenharmony_ci
25b815c7f3Sopenharmony_ci"You" (or "Your") shall mean an individual or Legal Entity exercising
26b815c7f3Sopenharmony_cipermissions granted by this License.
27b815c7f3Sopenharmony_ci
28b815c7f3Sopenharmony_ci"Source" form shall mean the preferred form for making modifications,
29b815c7f3Sopenharmony_ciincluding but not limited to software source code, documentation source,
30b815c7f3Sopenharmony_ciand configuration files.
31b815c7f3Sopenharmony_ci
32b815c7f3Sopenharmony_ci"Object" form shall mean any form resulting from mechanical
33b815c7f3Sopenharmony_citransformation or translation of a Source form, including but not
34b815c7f3Sopenharmony_cilimited to compiled object code, generated documentation, and
35b815c7f3Sopenharmony_ciconversions to other media types.
36b815c7f3Sopenharmony_ci
37b815c7f3Sopenharmony_ci"Work" shall mean the work of authorship, whether in Source or Object
38b815c7f3Sopenharmony_ciform, made available under the License, as indicated by a copyright
39b815c7f3Sopenharmony_cinotice that is included in or attached to the work (an example is
40b815c7f3Sopenharmony_ciprovided in the Appendix below).
41b815c7f3Sopenharmony_ci
42b815c7f3Sopenharmony_ci"Derivative Works" shall mean any work, whether in Source or Object
43b815c7f3Sopenharmony_ciform, that is based on (or derived from) the Work and for which the
44b815c7f3Sopenharmony_cieditorial revisions, annotations, elaborations, or other modifications
45b815c7f3Sopenharmony_cirepresent, as a whole, an original work of authorship. For the purposes
46b815c7f3Sopenharmony_ciof this License, Derivative Works shall not include works that remain
47b815c7f3Sopenharmony_ciseparable from, or merely link (or bind by name) to the interfaces of,
48b815c7f3Sopenharmony_cithe Work and Derivative Works thereof.
49b815c7f3Sopenharmony_ci
50b815c7f3Sopenharmony_ci"Contribution" shall mean any work of authorship, including the original
51b815c7f3Sopenharmony_civersion of the Work and any modifications or additions to that Work or
52b815c7f3Sopenharmony_ciDerivative Works thereof, that is intentionally submitted to Licensor
53b815c7f3Sopenharmony_cifor inclusion in the Work by the copyright owner or by an individual
54b815c7f3Sopenharmony_cior Legal Entity authorized to submit on behalf of the copyright owner.
55b815c7f3Sopenharmony_ciFor the purposes of this definition, "submitted" means any form of
56b815c7f3Sopenharmony_cielectronic, verbal, or written communication sent to the Licensor
57b815c7f3Sopenharmony_cior its representatives, including but not limited to communication
58b815c7f3Sopenharmony_cion electronic mailing lists, source code control systems, and issue
59b815c7f3Sopenharmony_citracking systems that are managed by, or on behalf of, the Licensor
60b815c7f3Sopenharmony_cifor the purpose of discussing and improving the Work, but excluding
61b815c7f3Sopenharmony_cicommunication that is conspicuously marked or otherwise designated in
62b815c7f3Sopenharmony_ciwriting by the copyright owner as "Not a Contribution."
63b815c7f3Sopenharmony_ci
64b815c7f3Sopenharmony_ci"Contributor" shall mean Licensor and any individual or Legal Entity
65b815c7f3Sopenharmony_cion behalf of whom a Contribution has been received by Licensor and
66b815c7f3Sopenharmony_cisubsequently incorporated within the Work.
67b815c7f3Sopenharmony_ci
68b815c7f3Sopenharmony_ci2. Grant of Copyright License. Subject to the terms and conditions
69b815c7f3Sopenharmony_ciof this License, each Contributor hereby grants to You a perpetual,
70b815c7f3Sopenharmony_ciworldwide, non-exclusive, no-charge, royalty-free, irrevocable
71b815c7f3Sopenharmony_cicopyright license to reproduce, prepare Derivative Works of, publicly
72b815c7f3Sopenharmony_cidisplay, publicly perform, sublicense, and distribute the Work and such
73b815c7f3Sopenharmony_ciDerivative Works in Source or Object form.
74b815c7f3Sopenharmony_ci
75b815c7f3Sopenharmony_ci3. Grant of Patent License. Subject to the terms and conditions of
76b815c7f3Sopenharmony_cithis License, each Contributor hereby grants to You a perpetual,
77b815c7f3Sopenharmony_ciworldwide, non-exclusive, no-charge, royalty-free, irrevocable (except
78b815c7f3Sopenharmony_cias stated in this section) patent license to make, have made, use,
79b815c7f3Sopenharmony_cioffer to sell, sell, import, and otherwise transfer the Work, where
80b815c7f3Sopenharmony_cisuch license applies only to those patent claims licensable by such
81b815c7f3Sopenharmony_ciContributor that are necessarily infringed by their Contribution(s)
82b815c7f3Sopenharmony_cialone or by combination of their Contribution(s) with the Work to which
83b815c7f3Sopenharmony_cisuch Contribution(s) was submitted. If You institute patent litigation
84b815c7f3Sopenharmony_ciagainst any entity (including a cross-claim or counterclaim in a
85b815c7f3Sopenharmony_cilawsuit) alleging that the Work or a Contribution incorporated within
86b815c7f3Sopenharmony_cithe Work constitutes direct or contributory patent infringement, then
87b815c7f3Sopenharmony_ciany patent licenses granted to You under this License for that Work
88b815c7f3Sopenharmony_cishall terminate as of the date such litigation is filed.
89b815c7f3Sopenharmony_ci
90b815c7f3Sopenharmony_ci4. Redistribution. You may reproduce and distribute copies of the
91b815c7f3Sopenharmony_ciWork or Derivative Works thereof in any medium, with or without
92b815c7f3Sopenharmony_cimodifications, and in Source or Object form, provided that You meet the
93b815c7f3Sopenharmony_cifollowing conditions:
94b815c7f3Sopenharmony_ci
95b815c7f3Sopenharmony_ciYou must give any other recipients of the Work or Derivative Works a
96b815c7f3Sopenharmony_cicopy of this License; and
97b815c7f3Sopenharmony_ci
98b815c7f3Sopenharmony_ciYou must cause any modified files to carry prominent notices stating
99b815c7f3Sopenharmony_cithat You changed the files; and
100b815c7f3Sopenharmony_ci
101b815c7f3Sopenharmony_ciYou must retain, in the Source form of any Derivative Works that You
102b815c7f3Sopenharmony_cidistribute, all copyright, patent, trademark, and attribution notices
103b815c7f3Sopenharmony_cifrom the Source form of the Work, excluding those notices that do not
104b815c7f3Sopenharmony_cipertain to any part of the Derivative Works; and
105b815c7f3Sopenharmony_ci
106b815c7f3Sopenharmony_ciIf the Work includes a "NOTICE" text file as part of its distribution,
107b815c7f3Sopenharmony_cithen any Derivative Works that You distribute must include a readable
108b815c7f3Sopenharmony_cicopy of the attribution notices contained within such NOTICE file,
109b815c7f3Sopenharmony_ciexcluding those notices that do not pertain to any part of the
110b815c7f3Sopenharmony_ciDerivative Works, in at least one of the following places: within a
111b815c7f3Sopenharmony_ciNOTICE text file distributed as part of the Derivative Works; within
112b815c7f3Sopenharmony_cithe Source form or documentation, if provided along with the Derivative
113b815c7f3Sopenharmony_ciWorks; or, within a display generated by the Derivative Works, if and
114b815c7f3Sopenharmony_ciwherever such third-party notices normally appear. The contents of the
115b815c7f3Sopenharmony_ciNOTICE file are for informational purposes only and do not modify the
116b815c7f3Sopenharmony_ciLicense. You may add Your own attribution notices within Derivative
117b815c7f3Sopenharmony_ciWorks that You distribute, alongside or as an addendum to the NOTICE
118b815c7f3Sopenharmony_citext from the Work, provided that such additional attribution notices
119b815c7f3Sopenharmony_cicannot be construed as modifying the License. You may add Your own
120b815c7f3Sopenharmony_cicopyright statement to Your modifications and may provide additional
121b815c7f3Sopenharmony_cior different license terms and conditions for use, reproduction, or
122b815c7f3Sopenharmony_cidistribution of Your modifications, or for any such Derivative Works as
123b815c7f3Sopenharmony_cia whole, provided Your use, reproduction, and distribution of the Work
124b815c7f3Sopenharmony_ciotherwise complies with the conditions stated in this License.
125b815c7f3Sopenharmony_ci
126b815c7f3Sopenharmony_ci5. Submission of Contributions. Unless You explicitly state otherwise,
127b815c7f3Sopenharmony_ciany Contribution intentionally submitted for inclusion in the Work by
128b815c7f3Sopenharmony_ciYou to the Licensor shall be under the terms and conditions of this
129b815c7f3Sopenharmony_ciLicense, without any additional terms or conditions. Notwithstanding
130b815c7f3Sopenharmony_cithe above, nothing herein shall supersede or modify the terms of any
131b815c7f3Sopenharmony_ciseparate license agreement you may have executed with Licensor regarding
132b815c7f3Sopenharmony_cisuch Contributions.
133b815c7f3Sopenharmony_ci
134b815c7f3Sopenharmony_ci6. Trademarks. This License does not grant permission to use the trade
135b815c7f3Sopenharmony_cinames, trademarks, service marks, or product names of the Licensor,
136b815c7f3Sopenharmony_ciexcept as required for reasonable and customary use in describing the
137b815c7f3Sopenharmony_ciorigin of the Work and reproducing the content of the NOTICE file.
138b815c7f3Sopenharmony_ci
139b815c7f3Sopenharmony_ci7. Disclaimer of Warranty. Unless required by applicable law or agreed
140b815c7f3Sopenharmony_cito in writing, Licensor provides the Work (and each Contributor
141b815c7f3Sopenharmony_ciprovides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR
142b815c7f3Sopenharmony_ciCONDITIONS OF ANY KIND, either express or implied, including, without
143b815c7f3Sopenharmony_cilimitation, any warranties or conditions of TITLE, NON-INFRINGEMENT,
144b815c7f3Sopenharmony_ciMERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
145b815c7f3Sopenharmony_cisolely responsible for determining the appropriateness of using or
146b815c7f3Sopenharmony_ciredistributing the Work and assume any risks associated with Your
147b815c7f3Sopenharmony_ciexercise of permissions under this License.
148b815c7f3Sopenharmony_ci
149b815c7f3Sopenharmony_ci8. Limitation of Liability. In no event and under no legal theory,
150b815c7f3Sopenharmony_ciwhether in tort (including negligence), contract, or otherwise, unless
151b815c7f3Sopenharmony_cirequired by applicable law (such as deliberate and grossly negligent
152b815c7f3Sopenharmony_ciacts) or agreed to in writing, shall any Contributor be liable to You
153b815c7f3Sopenharmony_cifor damages, including any direct, indirect, special, incidental, or
154b815c7f3Sopenharmony_ciconsequential damages of any character arising as a result of this
155b815c7f3Sopenharmony_ciLicense or out of the use or inability to use the Work (including but
156b815c7f3Sopenharmony_cinot limited to damages for loss of goodwill, work stoppage, computer
157b815c7f3Sopenharmony_cifailure or malfunction, or any and all other commercial damages or
158b815c7f3Sopenharmony_cilosses), even if such Contributor has been advised of the possibility of
159b815c7f3Sopenharmony_cisuch damages.
160b815c7f3Sopenharmony_ci
161b815c7f3Sopenharmony_ci9. Accepting Warranty or Additional Liability. While redistributing the
162b815c7f3Sopenharmony_ciWork or Derivative Works thereof, You may choose to offer, and charge a
163b815c7f3Sopenharmony_cifee for, acceptance of support, warranty, indemnity, or other liability
164b815c7f3Sopenharmony_ciobligations and/or rights consistent with this License. However, in
165b815c7f3Sopenharmony_ciaccepting such obligations, You may act only on Your own behalf and
166b815c7f3Sopenharmony_cion Your sole responsibility, not on behalf of any other Contributor,
167b815c7f3Sopenharmony_ciand only if You agree to indemnify, defend, and hold each Contributor
168b815c7f3Sopenharmony_ciharmless for any liability incurred by, or claims asserted against, such
169b815c7f3Sopenharmony_ciContributor by reason of your accepting any such warranty or additional
170b815c7f3Sopenharmony_ciliability.
171