xref: /aosp_15_r20/external/licenseclassifier/v2/assets/License/Apache-2.0/no-header.txt (revision 46c4c49da23cae783fa41bf46525a6505638499a)
1*46c4c49dSIbrahim Kanouche1. Definitions.
2*46c4c49dSIbrahim Kanouche
3*46c4c49dSIbrahim Kanouche"License" shall mean the terms and conditions for use, reproduction, and
4*46c4c49dSIbrahim Kanouchedistribution as defined by  Sections 1 through 9 of this document.
5*46c4c49dSIbrahim Kanouche
6*46c4c49dSIbrahim Kanouche"Licensor" shall mean the copyright owner or entity authorized by the
7*46c4c49dSIbrahim Kanouchecopyright owner that is  granting the License.
8*46c4c49dSIbrahim Kanouche
9*46c4c49dSIbrahim Kanouche"Legal Entity" shall mean the union of the acting entity and all other
10*46c4c49dSIbrahim Kanoucheentities that control, are  controlled by, or are under common control
11*46c4c49dSIbrahim Kanouchewith that entity. For the purposes of this definition,  "control" means
12*46c4c49dSIbrahim Kanouche(i) the power, direct or indirect, to cause the direction or management
13*46c4c49dSIbrahim Kanoucheof such entity,  whether by contract or otherwise, or (ii) ownership of
14*46c4c49dSIbrahim Kanouchefifty percent (50%) or more of the outstanding  shares, or (iii)
15*46c4c49dSIbrahim Kanouchebeneficial ownership of such entity.
16*46c4c49dSIbrahim Kanouche
17*46c4c49dSIbrahim Kanouche"You" (or "Your") shall mean an individual or Legal Entity exercising
18*46c4c49dSIbrahim Kanouchepermissions granted by this  License.
19*46c4c49dSIbrahim Kanouche
20*46c4c49dSIbrahim Kanouche"Source" form shall mean the preferred form for making modifications,
21*46c4c49dSIbrahim Kanoucheincluding but not limited to  software source code, documentation
22*46c4c49dSIbrahim Kanouchesource, and configuration files.
23*46c4c49dSIbrahim Kanouche
24*46c4c49dSIbrahim Kanouche"Object" form shall mean any form resulting from mechanical
25*46c4c49dSIbrahim Kanouchetransformation or translation of a  Source form, including but not
26*46c4c49dSIbrahim Kanouchelimited to compiled object code, generated documentation, and
27*46c4c49dSIbrahim Kanoucheconversions to other media types.
28*46c4c49dSIbrahim Kanouche
29*46c4c49dSIbrahim Kanouche"Work" shall mean the work of authorship, whether in Source or Object
30*46c4c49dSIbrahim Kanoucheform, made available under  the License, as indicated by a copyright
31*46c4c49dSIbrahim Kanouchenotice that is included in or attached to the work (an example  is
32*46c4c49dSIbrahim Kanoucheprovided in the Appendix below).
33*46c4c49dSIbrahim Kanouche
34*46c4c49dSIbrahim Kanouche"Derivative Works" shall mean any work, whether in Source or Object
35*46c4c49dSIbrahim Kanoucheform, that is based on (or  derived from) the Work and for which the
36*46c4c49dSIbrahim Kanoucheeditorial revisions, annotations, elaborations, or other  modifications
37*46c4c49dSIbrahim Kanoucherepresent, as a whole, an original work of authorship. For the purposes
38*46c4c49dSIbrahim Kanoucheof this License,  Derivative Works shall not include works that remain
39*46c4c49dSIbrahim Kanoucheseparable from, or merely link (or bind by name)  to the interfaces of,
40*46c4c49dSIbrahim Kanouchethe Work and Derivative Works thereof.
41*46c4c49dSIbrahim Kanouche
42*46c4c49dSIbrahim Kanouche"Contribution" shall mean any work of authorship, including the original
43*46c4c49dSIbrahim Kanoucheversion of the Work and  any modifications or additions to that Work or
44*46c4c49dSIbrahim KanoucheDerivative Works thereof, that is intentionally submitted  to Licensor
45*46c4c49dSIbrahim Kanouchefor inclusion in the Work by the copyright owner or by an individual or
46*46c4c49dSIbrahim KanoucheLegal Entity  authorized to submit on behalf of the copyright owner. For
47*46c4c49dSIbrahim Kanouchethe purposes of this definition,  "submitted" means any form of
48*46c4c49dSIbrahim Kanoucheelectronic, verbal, or written communication sent to the Licensor or
49*46c4c49dSIbrahim Kanoucheits representatives, including but not limited to communication on
50*46c4c49dSIbrahim Kanoucheelectronic mailing lists, source code  control systems, and issue
51*46c4c49dSIbrahim Kanouchetracking systems that are managed by, or on behalf of, the Licensor for
52*46c4c49dSIbrahim Kanouchethe purpose of discussing and improving the Work, but excluding
53*46c4c49dSIbrahim Kanouchecommunication that is  conspicuously marked or otherwise designated in
54*46c4c49dSIbrahim Kanouchewriting by the copyright owner as "Not a  Contribution."
55*46c4c49dSIbrahim Kanouche
56*46c4c49dSIbrahim Kanouche"Contributor" shall mean Licensor and any individual or Legal Entity on
57*46c4c49dSIbrahim Kanouchebehalf of whom a  Contribution has been received by Licensor and
58*46c4c49dSIbrahim Kanouchesubsequently incorporated within the Work.
59*46c4c49dSIbrahim Kanouche
60*46c4c49dSIbrahim Kanouche2. Grant of Copyright License. Subject to the terms and conditions of
61*46c4c49dSIbrahim Kanouchethis License, each Contributor  hereby grants to You a perpetual,
62*46c4c49dSIbrahim Kanoucheworldwide, non-exclusive, no-charge, royalty-free, irrevocable
63*46c4c49dSIbrahim Kanouchecopyright license to reproduce, prepare Derivative Works of, publicly
64*46c4c49dSIbrahim Kanouchedisplay, publicly perform,  sublicense, and distribute the Work and such
65*46c4c49dSIbrahim KanoucheDerivative Works in Source or Object form.
66*46c4c49dSIbrahim Kanouche
67*46c4c49dSIbrahim Kanouche3. Grant of Patent License. Subject to the terms and conditions of this
68*46c4c49dSIbrahim KanoucheLicense, each Contributor  hereby grants to You a perpetual, worldwide,
69*46c4c49dSIbrahim Kanouchenon-exclusive, no-charge, royalty-free, irrevocable  (except as stated
70*46c4c49dSIbrahim Kanouchein this section) patent license to make, have made, use, offer to sell,
71*46c4c49dSIbrahim Kanouchesell, import,  and otherwise transfer the Work, where such license
72*46c4c49dSIbrahim Kanoucheapplies only to those patent claims licensable  by such Contributor that
73*46c4c49dSIbrahim Kanoucheare necessarily infringed by their Contribution(s) alone or by
74*46c4c49dSIbrahim Kanouchecombination of  their Contribution(s) with the Work to which such
75*46c4c49dSIbrahim KanoucheContribution(s) was submitted. If You institute patent litigation
76*46c4c49dSIbrahim Kanoucheagainst any entity (including a cross-claim or counterclaim in a
77*46c4c49dSIbrahim Kanouchelawsuit) alleging that  the Work or a Contribution incorporated within
78*46c4c49dSIbrahim Kanouchethe Work constitutes direct or contributory patent  infringement, then
79*46c4c49dSIbrahim Kanoucheany patent licenses granted to You under this License for that Work
80*46c4c49dSIbrahim Kanoucheshall  terminate as of the date such litigation is filed.
81*46c4c49dSIbrahim Kanouche
82*46c4c49dSIbrahim Kanouche4. Redistribution. You may reproduce and distribute copies of the Work
83*46c4c49dSIbrahim Kanoucheor Derivative Works thereof  in any medium, with or without
84*46c4c49dSIbrahim Kanouchemodifications, and in Source or Object form, provided that You meet  the
85*46c4c49dSIbrahim Kanouchefollowing conditions:
86*46c4c49dSIbrahim Kanouche
87*46c4c49dSIbrahim Kanouche1. You must give any other recipients of the Work or Derivative Works a
88*46c4c49dSIbrahim Kanouchecopy of this License;  and
89*46c4c49dSIbrahim Kanouche
90*46c4c49dSIbrahim Kanouche2. You must cause any modified files to carry prominent notices stating
91*46c4c49dSIbrahim Kanouchethat You changed the  files; and
92*46c4c49dSIbrahim Kanouche
93*46c4c49dSIbrahim Kanouche3. You must retain, in the Source form of any Derivative Works that You
94*46c4c49dSIbrahim Kanouchedistribute, all copyright,  patent, trademark, and attribution notices
95*46c4c49dSIbrahim Kanouchefrom the Source form of the Work, excluding those  notices that do not
96*46c4c49dSIbrahim Kanouchepertain to any part of the Derivative Works; and
97*46c4c49dSIbrahim Kanouche
98*46c4c49dSIbrahim Kanouche4. If the Work includes a "NOTICE" text file as part of its
99*46c4c49dSIbrahim Kanouchedistribution, then any Derivative Works  that You distribute must
100*46c4c49dSIbrahim Kanoucheinclude a readable copy of the attribution notices contained within such
101*46c4c49dSIbrahim KanoucheNOTICE file, excluding those notices that do not pertain to any part of
102*46c4c49dSIbrahim Kanouchethe Derivative  Works, in at least one of the following places: within a
103*46c4c49dSIbrahim KanoucheNOTICE text file distributed as part of  the Derivative Works; within
104*46c4c49dSIbrahim Kanouchethe Source form or documentation, if provided along with the  Derivative
105*46c4c49dSIbrahim KanoucheWorks; or, within a display generated by the Derivative Works, if and
106*46c4c49dSIbrahim Kanouchewherever  such third-party notices normally appear. The contents of the
107*46c4c49dSIbrahim KanoucheNOTICE file are for  informational purposes only and do not modify the
108*46c4c49dSIbrahim KanoucheLicense. You may add Your own attribution  notices within Derivative
109*46c4c49dSIbrahim KanoucheWorks that You distribute, alongside or as an addendum to the  NOTICE
110*46c4c49dSIbrahim Kanouchetext from the Work, provided that such additional attribution notices
111*46c4c49dSIbrahim Kanouchecannot be  construed as modifying the License.
112*46c4c49dSIbrahim Kanouche
113*46c4c49dSIbrahim KanoucheYou may add Your own copyright statement to Your modifications and may
114*46c4c49dSIbrahim Kanoucheprovide additional  or different license terms and conditions for use,
115*46c4c49dSIbrahim Kanouchereproduction, or distribution of Your  modifications, or for any such
116*46c4c49dSIbrahim KanoucheDerivative Works as a whole, provided Your use, reproduction,  and
117*46c4c49dSIbrahim Kanouchedistribution of the Work otherwise complies with the conditions stated
118*46c4c49dSIbrahim Kanouchein this License.
119*46c4c49dSIbrahim Kanouche
120*46c4c49dSIbrahim Kanouche5. Submission of Contributions. Unless You explicitly state otherwise,
121*46c4c49dSIbrahim Kanoucheany Contribution  intentionally submitted for inclusion in the Work by
122*46c4c49dSIbrahim KanoucheYou to the Licensor shall be under the terms and  conditions of this
123*46c4c49dSIbrahim KanoucheLicense, without any additional terms or conditions. Notwithstanding the
124*46c4c49dSIbrahim Kanoucheabove,  nothing herein shall supersede or modify the terms of any
125*46c4c49dSIbrahim Kanoucheseparate license agreement you may have  executed with Licensor
126*46c4c49dSIbrahim Kanoucheregarding such Contributions.
127*46c4c49dSIbrahim Kanouche
128*46c4c49dSIbrahim Kanouche6. Trademarks. This License does not grant permission to use the trade
129*46c4c49dSIbrahim Kanouchenames, trademarks, service  marks, or product names of the Licensor,
130*46c4c49dSIbrahim Kanoucheexcept as required for reasonable and customary use in  describing the
131*46c4c49dSIbrahim Kanoucheorigin of the Work and reproducing the content of the NOTICE file.
132*46c4c49dSIbrahim Kanouche
133*46c4c49dSIbrahim Kanouche7. Disclaimer of Warranty. Unless required by applicable law or agreed
134*46c4c49dSIbrahim Kanoucheto in writing, Licensor  provides the Work (and each Contributor
135*46c4c49dSIbrahim Kanoucheprovides its Contributions) on an "AS IS" BASIS, WITHOUT  WARRANTIES OR
136*46c4c49dSIbrahim KanoucheCONDITIONS OF ANY KIND, either express or implied, including, without
137*46c4c49dSIbrahim Kanouchelimitation, any warranties or conditions of TITLE, NON-INFRINGEMENT,
138*46c4c49dSIbrahim KanoucheMERCHANTABILITY, or  FITNESS FOR A PARTICULAR PURPOSE. You are solely
139*46c4c49dSIbrahim Kanoucheresponsible for determining the  appropriateness of using or
140*46c4c49dSIbrahim Kanoucheredistributing the Work and assume any risks associated with Your
141*46c4c49dSIbrahim Kanoucheexercise of permissions under this License.
142*46c4c49dSIbrahim Kanouche
143*46c4c49dSIbrahim Kanouche8. Limitation of Liability. In no event and under no legal theory,
144*46c4c49dSIbrahim Kanouchewhether in tort (including  negligence), contract, or otherwise, unless
145*46c4c49dSIbrahim Kanoucherequired by applicable law (such as deliberate and grossly  negligent
146*46c4c49dSIbrahim Kanoucheacts) or agreed to in writing, shall any Contributor be liable to You
147*46c4c49dSIbrahim Kanouchefor damages, including  any direct, indirect, special, incidental, or
148*46c4c49dSIbrahim Kanoucheconsequential damages of any character arising as a result  of this
149*46c4c49dSIbrahim KanoucheLicense or out of the use or inability to use the Work (including but
150*46c4c49dSIbrahim Kanouchenot limited to damages for  loss of goodwill, work stoppage, computer
151*46c4c49dSIbrahim Kanouchefailure or malfunction, or any and all other commercial  damages or
152*46c4c49dSIbrahim Kanouchelosses), even if such Contributor has been advised of the possibility of
153*46c4c49dSIbrahim Kanouchesuch damages.
154*46c4c49dSIbrahim Kanouche
155*46c4c49dSIbrahim Kanouche9. Accepting Warranty or Additional Liability. While redistributing the
156*46c4c49dSIbrahim KanoucheWork or Derivative Works  thereof, You may choose to offer, and charge a
157*46c4c49dSIbrahim Kanouchefee for, acceptance of support, warranty, indemnity,  or other liability
158*46c4c49dSIbrahim Kanoucheobligations and/or rights consistent with this License. However, in
159*46c4c49dSIbrahim Kanoucheaccepting such  obligations, You may act only on Your own behalf and on
160*46c4c49dSIbrahim KanoucheYour sole responsibility, not on behalf of  any other Contributor, and
161*46c4c49dSIbrahim Kanoucheonly if You agree to indemnify, defend, and hold each Contributor
162*46c4c49dSIbrahim Kanoucheharmless for any liability incurred by, or claims asserted against, such
163*46c4c49dSIbrahim KanoucheContributor by reason of your  accepting any such warranty or additional
164*46c4c49dSIbrahim Kanoucheliability.
165