xref: /aosp_15_r20/external/licenseclassifier/v2/assets/License/Apache-2.0/a.txt (revision 46c4c49da23cae783fa41bf46525a6505638499a)
1*46c4c49dSIbrahim KanoucheApache License
2*46c4c49dSIbrahim Kanouche
3*46c4c49dSIbrahim KanoucheVersion 2.0, January 2004
4*46c4c49dSIbrahim Kanouche
5*46c4c49dSIbrahim Kanouchehttp://www.apache.org/licenses/
6*46c4c49dSIbrahim Kanouche
7*46c4c49dSIbrahim KanoucheTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8*46c4c49dSIbrahim Kanouche
9*46c4c49dSIbrahim Kanouche1. Definitions.
10*46c4c49dSIbrahim Kanouche
11*46c4c49dSIbrahim Kanouche"License" shall mean the terms and conditions for use, reproduction, and
12*46c4c49dSIbrahim Kanouchedistribution as defined by Sections 1 through 9 of this document.
13*46c4c49dSIbrahim Kanouche
14*46c4c49dSIbrahim Kanouche"Licensor" shall mean the copyright owner or entity authorized by the
15*46c4c49dSIbrahim Kanouchecopyright owner that is granting the License.
16*46c4c49dSIbrahim Kanouche
17*46c4c49dSIbrahim Kanouche"Legal Entity" shall mean the union of the acting entity and all other
18*46c4c49dSIbrahim Kanoucheentities that control, are controlled by, or are under common control with
19*46c4c49dSIbrahim Kanouchethat entity. For the purposes of this definition, "control" means (i) the
20*46c4c49dSIbrahim Kanouchepower, direct or indirect, to cause the direction or management of such
21*46c4c49dSIbrahim Kanoucheentity, whether by contract or otherwise, or (ii) ownership of fifty percent
22*46c4c49dSIbrahim Kanouche(50%) or more of the outstanding shares, or (iii) beneficial ownership of such
23*46c4c49dSIbrahim Kanoucheentity.
24*46c4c49dSIbrahim Kanouche
25*46c4c49dSIbrahim Kanouche"You" (or "Your") shall mean an individual or Legal Entity exercising
26*46c4c49dSIbrahim Kanouchepermissions granted by this License.
27*46c4c49dSIbrahim Kanouche
28*46c4c49dSIbrahim Kanouche"Source" form shall mean the preferred form for making modifications,
29*46c4c49dSIbrahim Kanoucheincluding but not limited to software source code, documentation source, and
30*46c4c49dSIbrahim Kanoucheconfiguration files.
31*46c4c49dSIbrahim Kanouche
32*46c4c49dSIbrahim Kanouche"Object" form shall mean any form resulting from mechanical transformation or
33*46c4c49dSIbrahim Kanouchetranslation of a Source form, including but not limited to compiled object
34*46c4c49dSIbrahim Kanouchecode, generated documentation, and conversions to other media types.
35*46c4c49dSIbrahim Kanouche
36*46c4c49dSIbrahim Kanouche"Work" shall mean the work of authorship, whether in Source or Object form,
37*46c4c49dSIbrahim Kanouchemade available under the License, as indicated by a copyright notice that is
38*46c4c49dSIbrahim Kanoucheincluded in or attached to the work (an example is provided in the Appendix
39*46c4c49dSIbrahim Kanouchebelow).
40*46c4c49dSIbrahim Kanouche
41*46c4c49dSIbrahim Kanouche"Derivative Works" shall mean any work, whether in Source or Object form, that
42*46c4c49dSIbrahim Kanoucheis based on (or derived from) the Work and for which the editorial revisions,
43*46c4c49dSIbrahim Kanoucheannotations, elaborations, or other modifications represent, as a whole, an
44*46c4c49dSIbrahim Kanoucheoriginal work of authorship. For the purposes of this License, Derivative
45*46c4c49dSIbrahim KanoucheWorks shall not include works that remain separable from, or merely link (or
46*46c4c49dSIbrahim Kanouchebind by name) to the interfaces of, the Work and Derivative Works thereof.
47*46c4c49dSIbrahim Kanouche
48*46c4c49dSIbrahim Kanouche"Contribution" shall mean any work of authorship, including the original
49*46c4c49dSIbrahim Kanoucheversion of the Work and any modifications or additions to that Work or
50*46c4c49dSIbrahim KanoucheDerivative Works thereof, that is intentionally submitted to Licensor for
51*46c4c49dSIbrahim Kanoucheinclusion in the Work by the copyright owner or by an individual or Legal
52*46c4c49dSIbrahim KanoucheEntity authorized to submit on behalf of the copyright owner. For the purposes
53*46c4c49dSIbrahim Kanoucheof this definition, "submitted" means any form of electronic, verbal, or
54*46c4c49dSIbrahim Kanouchewritten communication sent to the Licensor or its representatives, including
55*46c4c49dSIbrahim Kanouchebut not limited to communication on electronic mailing lists, source code
56*46c4c49dSIbrahim Kanouchecontrol systems, and issue tracking systems that are managed by, or on behalf
57*46c4c49dSIbrahim Kanoucheof, the Licensor for the purpose of discussing and improving the Work, but
58*46c4c49dSIbrahim Kanoucheexcluding communication that is conspicuously marked or otherwise designated
59*46c4c49dSIbrahim Kanouchein writing by the copyright owner as "Not a Contribution."
60*46c4c49dSIbrahim Kanouche
61*46c4c49dSIbrahim Kanouche"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
62*46c4c49dSIbrahim Kanoucheof whom a Contribution has been received by Licensor and subsequently
63*46c4c49dSIbrahim Kanoucheincorporated within the Work.
64*46c4c49dSIbrahim Kanouche
65*46c4c49dSIbrahim Kanouche2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
66*46c4c49dSIbrahim Kanouche
67*46c4c49dSIbrahim Kanouche3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
68*46c4c49dSIbrahim Kanouche
69*46c4c49dSIbrahim Kanouche4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
70*46c4c49dSIbrahim Kanouche
71*46c4c49dSIbrahim Kanouche(a) You must give any other recipients of the Work or Derivative Works a copy
72*46c4c49dSIbrahim Kanoucheof this License; and
73*46c4c49dSIbrahim Kanouche
74*46c4c49dSIbrahim Kanouche(b) You must cause any modified files to carry prominent notices stating that
75*46c4c49dSIbrahim KanoucheYou changed the files; and
76*46c4c49dSIbrahim Kanouche
77*46c4c49dSIbrahim Kanouche(c) You must retain, in the Source form of any Derivative Works that You
78*46c4c49dSIbrahim Kanouchedistribute, all copyright, patent, trademark, and attribution notices from the
79*46c4c49dSIbrahim KanoucheSource form of the Work, excluding those notices that do not pertain to any
80*46c4c49dSIbrahim Kanouchepart of the Derivative Works; and
81*46c4c49dSIbrahim Kanouche
82*46c4c49dSIbrahim Kanouche(d) If the Work includes a "NOTICE" text file as part of its distribution,
83*46c4c49dSIbrahim Kanouchethen any Derivative Works that You distribute must include a readable copy of
84*46c4c49dSIbrahim Kanouchethe attribution notices contained within such NOTICE file, excluding those
85*46c4c49dSIbrahim Kanouchenotices that do not pertain to any part of the Derivative Works, in at least
86*46c4c49dSIbrahim Kanoucheone of the following places: within a NOTICE text file distributed as part of
87*46c4c49dSIbrahim Kanouchethe Derivative Works; within the Source form or documentation, if provided
88*46c4c49dSIbrahim Kanouchealong with the Derivative Works; or, within a display generated by the
89*46c4c49dSIbrahim KanoucheDerivative Works, if and wherever such third-party notices normally appear.
90*46c4c49dSIbrahim KanoucheThe contents of the NOTICE file are for informational purposes only and do not
91*46c4c49dSIbrahim Kanouchemodify the License. You may add Your own attribution notices within Derivative
92*46c4c49dSIbrahim KanoucheWorks that You distribute, alongside or as an addendum to the NOTICE text from
93*46c4c49dSIbrahim Kanouchethe Work, provided that such additional attribution notices cannot be
94*46c4c49dSIbrahim Kanoucheconstrued as modifying the License.
95*46c4c49dSIbrahim Kanouche
96*46c4c49dSIbrahim KanoucheYou may add Your own copyright statement to Your modifications and may provide
97*46c4c49dSIbrahim Kanoucheadditional or different license terms and conditions for use, reproduction, or
98*46c4c49dSIbrahim Kanouchedistribution of Your modifications, or for any such Derivative Works as a
99*46c4c49dSIbrahim Kanouchewhole, provided Your use, reproduction, and distribution of the Work otherwise
100*46c4c49dSIbrahim Kanouchecomplies with the conditions stated in this License.
101*46c4c49dSIbrahim Kanouche
102*46c4c49dSIbrahim Kanouche5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
103*46c4c49dSIbrahim Kanouche
104*46c4c49dSIbrahim Kanouche6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
105*46c4c49dSIbrahim Kanouche
106*46c4c49dSIbrahim Kanouche7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
107*46c4c49dSIbrahim Kanouche
108*46c4c49dSIbrahim Kanouche8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
109*46c4c49dSIbrahim Kanouche
110*46c4c49dSIbrahim Kanouche9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
111*46c4c49dSIbrahim Kanouche
112*46c4c49dSIbrahim KanoucheEND OF TERMS AND CONDITIONS
113