xref: /aosp_15_r20/external/apache-harmony/NOTICE (revision 81713db74cba1ee0e63be20cc9fbd773832c73df)
1*81713db7SXin Li
2*81713db7SXin Li   Copyright 2001-2004 The Apache Software Foundation.
3*81713db7SXin Li   Copyright 2001-2006 The Apache Software Foundation.
4*81713db7SXin Li   Copyright 2003-2004 The Apache Software Foundation.
5*81713db7SXin Li   Copyright 2004 The Apache Software Foundation.
6*81713db7SXin Li
7*81713db7SXin Li   Licensed under the Apache License, Version 2.0 (the "License");
8*81713db7SXin Li   you may not use this file except in compliance with the License.
9*81713db7SXin Li
10*81713db7SXin Li   Unless required by applicable law or agreed to in writing, software
11*81713db7SXin Li   distributed under the License is distributed on an "AS IS" BASIS,
12*81713db7SXin Li   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*81713db7SXin Li   See the License for the specific language governing permissions and
14*81713db7SXin Li   limitations under the License.
15*81713db7SXin Li
16*81713db7SXin Li
17*81713db7SXin Li                                 Apache License
18*81713db7SXin Li                           Version 2.0, January 2004
19*81713db7SXin Li                        http://www.apache.org/licenses/
20*81713db7SXin Li
21*81713db7SXin Li   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
22*81713db7SXin Li
23*81713db7SXin Li   1. Definitions.
24*81713db7SXin Li
25*81713db7SXin Li      "License" shall mean the terms and conditions for use, reproduction,
26*81713db7SXin Li      and distribution as defined by Sections 1 through 9 of this document.
27*81713db7SXin Li
28*81713db7SXin Li      "Licensor" shall mean the copyright owner or entity authorized by
29*81713db7SXin Li      the copyright owner that is granting the License.
30*81713db7SXin Li
31*81713db7SXin Li      "Legal Entity" shall mean the union of the acting entity and all
32*81713db7SXin Li      other entities that control, are controlled by, or are under common
33*81713db7SXin Li      control with that entity. For the purposes of this definition,
34*81713db7SXin Li      "control" means (i) the power, direct or indirect, to cause the
35*81713db7SXin Li      direction or management of such entity, whether by contract or
36*81713db7SXin Li      otherwise, or (ii) ownership of fifty percent (50%) or more of the
37*81713db7SXin Li      outstanding shares, or (iii) beneficial ownership of such entity.
38*81713db7SXin Li
39*81713db7SXin Li      "You" (or "Your") shall mean an individual or Legal Entity
40*81713db7SXin Li      exercising permissions granted by this License.
41*81713db7SXin Li
42*81713db7SXin Li      "Source" form shall mean the preferred form for making modifications,
43*81713db7SXin Li      including but not limited to software source code, documentation
44*81713db7SXin Li      source, and configuration files.
45*81713db7SXin Li
46*81713db7SXin Li      "Object" form shall mean any form resulting from mechanical
47*81713db7SXin Li      transformation or translation of a Source form, including but
48*81713db7SXin Li      not limited to compiled object code, generated documentation,
49*81713db7SXin Li      and conversions to other media types.
50*81713db7SXin Li
51*81713db7SXin Li      "Work" shall mean the work of authorship, whether in Source or
52*81713db7SXin Li      Object form, made available under the License, as indicated by a
53*81713db7SXin Li      copyright notice that is included in or attached to the work
54*81713db7SXin Li      (an example is provided in the Appendix below).
55*81713db7SXin Li
56*81713db7SXin Li      "Derivative Works" shall mean any work, whether in Source or Object
57*81713db7SXin Li      form, that is based on (or derived from) the Work and for which the
58*81713db7SXin Li      editorial revisions, annotations, elaborations, or other modifications
59*81713db7SXin Li      represent, as a whole, an original work of authorship. For the purposes
60*81713db7SXin Li      of this License, Derivative Works shall not include works that remain
61*81713db7SXin Li      separable from, or merely link (or bind by name) to the interfaces of,
62*81713db7SXin Li      the Work and Derivative Works thereof.
63*81713db7SXin Li
64*81713db7SXin Li      "Contribution" shall mean any work of authorship, including
65*81713db7SXin Li      the original version of the Work and any modifications or additions
66*81713db7SXin Li      to that Work or Derivative Works thereof, that is intentionally
67*81713db7SXin Li      submitted to Licensor for inclusion in the Work by the copyright owner
68*81713db7SXin Li      or by an individual or Legal Entity authorized to submit on behalf of
69*81713db7SXin Li      the copyright owner. For the purposes of this definition, "submitted"
70*81713db7SXin Li      means any form of electronic, verbal, or written communication sent
71*81713db7SXin Li      to the Licensor or its representatives, including but not limited to
72*81713db7SXin Li      communication on electronic mailing lists, source code control systems,
73*81713db7SXin Li      and issue tracking systems that are managed by, or on behalf of, the
74*81713db7SXin Li      Licensor for the purpose of discussing and improving the Work, but
75*81713db7SXin Li      excluding communication that is conspicuously marked or otherwise
76*81713db7SXin Li      designated in writing by the copyright owner as "Not a Contribution."
77*81713db7SXin Li
78*81713db7SXin Li      "Contributor" shall mean Licensor and any individual or Legal Entity
79*81713db7SXin Li      on behalf of whom a Contribution has been received by Licensor and
80*81713db7SXin Li      subsequently incorporated within the Work.
81*81713db7SXin Li
82*81713db7SXin Li   2. Grant of Copyright License. Subject to the terms and conditions of
83*81713db7SXin Li      this License, each Contributor hereby grants to You a perpetual,
84*81713db7SXin Li      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
85*81713db7SXin Li      copyright license to reproduce, prepare Derivative Works of,
86*81713db7SXin Li      publicly display, publicly perform, sublicense, and distribute the
87*81713db7SXin Li      Work and such Derivative Works in Source or Object form.
88*81713db7SXin Li
89*81713db7SXin Li   3. Grant of Patent License. Subject to the terms and conditions of
90*81713db7SXin Li      this License, each Contributor hereby grants to You a perpetual,
91*81713db7SXin Li      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
92*81713db7SXin Li      (except as stated in this section) patent license to make, have made,
93*81713db7SXin Li      use, offer to sell, sell, import, and otherwise transfer the Work,
94*81713db7SXin Li      where such license applies only to those patent claims licensable
95*81713db7SXin Li      by such Contributor that are necessarily infringed by their
96*81713db7SXin Li      Contribution(s) alone or by combination of their Contribution(s)
97*81713db7SXin Li      with the Work to which such Contribution(s) was submitted. If You
98*81713db7SXin Li      institute patent litigation against any entity (including a
99*81713db7SXin Li      cross-claim or counterclaim in a lawsuit) alleging that the Work
100*81713db7SXin Li      or a Contribution incorporated within the Work constitutes direct
101*81713db7SXin Li      or contributory patent infringement, then any patent licenses
102*81713db7SXin Li      granted to You under this License for that Work shall terminate
103*81713db7SXin Li      as of the date such litigation is filed.
104*81713db7SXin Li
105*81713db7SXin Li   4. Redistribution. You may reproduce and distribute copies of the
106*81713db7SXin Li      Work or Derivative Works thereof in any medium, with or without
107*81713db7SXin Li      modifications, and in Source or Object form, provided that You
108*81713db7SXin Li      meet the following conditions:
109*81713db7SXin Li
110*81713db7SXin Li      (a) You must give any other recipients of the Work or
111*81713db7SXin Li          Derivative Works a copy of this License; and
112*81713db7SXin Li
113*81713db7SXin Li      (b) You must cause any modified files to carry prominent notices
114*81713db7SXin Li          stating that You changed the files; and
115*81713db7SXin Li
116*81713db7SXin Li      (c) You must retain, in the Source form of any Derivative Works
117*81713db7SXin Li          that You distribute, all copyright, patent, trademark, and
118*81713db7SXin Li          attribution notices from the Source form of the Work,
119*81713db7SXin Li          excluding those notices that do not pertain to any part of
120*81713db7SXin Li          the Derivative Works; and
121*81713db7SXin Li
122*81713db7SXin Li      (d) If the Work includes a "NOTICE" text file as part of its
123*81713db7SXin Li          distribution, then any Derivative Works that You distribute must
124*81713db7SXin Li          include a readable copy of the attribution notices contained
125*81713db7SXin Li          within such NOTICE file, excluding those notices that do not
126*81713db7SXin Li          pertain to any part of the Derivative Works, in at least one
127*81713db7SXin Li          of the following places: within a NOTICE text file distributed
128*81713db7SXin Li          as part of the Derivative Works; within the Source form or
129*81713db7SXin Li          documentation, if provided along with the Derivative Works; or,
130*81713db7SXin Li          within a display generated by the Derivative Works, if and
131*81713db7SXin Li          wherever such third-party notices normally appear. The contents
132*81713db7SXin Li          of the NOTICE file are for informational purposes only and
133*81713db7SXin Li          do not modify the License. You may add Your own attribution
134*81713db7SXin Li          notices within Derivative Works that You distribute, alongside
135*81713db7SXin Li          or as an addendum to the NOTICE text from the Work, provided
136*81713db7SXin Li          that such additional attribution notices cannot be construed
137*81713db7SXin Li          as modifying the License.
138*81713db7SXin Li
139*81713db7SXin Li      You may add Your own copyright statement to Your modifications and
140*81713db7SXin Li      may provide additional or different license terms and conditions
141*81713db7SXin Li      for use, reproduction, or distribution of Your modifications, or
142*81713db7SXin Li      for any such Derivative Works as a whole, provided Your use,
143*81713db7SXin Li      reproduction, and distribution of the Work otherwise complies with
144*81713db7SXin Li      the conditions stated in this License.
145*81713db7SXin Li
146*81713db7SXin Li   5. Submission of Contributions. Unless You explicitly state otherwise,
147*81713db7SXin Li      any Contribution intentionally submitted for inclusion in the Work
148*81713db7SXin Li      by You to the Licensor shall be under the terms and conditions of
149*81713db7SXin Li      this License, without any additional terms or conditions.
150*81713db7SXin Li      Notwithstanding the above, nothing herein shall supersede or modify
151*81713db7SXin Li      the terms of any separate license agreement you may have executed
152*81713db7SXin Li      with Licensor regarding such Contributions.
153*81713db7SXin Li
154*81713db7SXin Li   6. Trademarks. This License does not grant permission to use the trade
155*81713db7SXin Li      names, trademarks, service marks, or product names of the Licensor,
156*81713db7SXin Li      except as required for reasonable and customary use in describing the
157*81713db7SXin Li      origin of the Work and reproducing the content of the NOTICE file.
158*81713db7SXin Li
159*81713db7SXin Li   7. Disclaimer of Warranty. Unless required by applicable law or
160*81713db7SXin Li      agreed to in writing, Licensor provides the Work (and each
161*81713db7SXin Li      Contributor provides its Contributions) on an "AS IS" BASIS,
162*81713db7SXin Li      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
163*81713db7SXin Li      implied, including, without limitation, any warranties or conditions
164*81713db7SXin Li      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
165*81713db7SXin Li      PARTICULAR PURPOSE. You are solely responsible for determining the
166*81713db7SXin Li      appropriateness of using or redistributing the Work and assume any
167*81713db7SXin Li      risks associated with Your exercise of permissions under this License.
168*81713db7SXin Li
169*81713db7SXin Li   8. Limitation of Liability. In no event and under no legal theory,
170*81713db7SXin Li      whether in tort (including negligence), contract, or otherwise,
171*81713db7SXin Li      unless required by applicable law (such as deliberate and grossly
172*81713db7SXin Li      negligent acts) or agreed to in writing, shall any Contributor be
173*81713db7SXin Li      liable to You for damages, including any direct, indirect, special,
174*81713db7SXin Li      incidental, or consequential damages of any character arising as a
175*81713db7SXin Li      result of this License or out of the use or inability to use the
176*81713db7SXin Li      Work (including but not limited to damages for loss of goodwill,
177*81713db7SXin Li      work stoppage, computer failure or malfunction, or any and all
178*81713db7SXin Li      other commercial damages or losses), even if such Contributor
179*81713db7SXin Li      has been advised of the possibility of such damages.
180*81713db7SXin Li
181*81713db7SXin Li   9. Accepting Warranty or Additional Liability. While redistributing
182*81713db7SXin Li      the Work or Derivative Works thereof, You may choose to offer,
183*81713db7SXin Li      and charge a fee for, acceptance of support, warranty, indemnity,
184*81713db7SXin Li      or other liability obligations and/or rights consistent with this
185*81713db7SXin Li      License. However, in accepting such obligations, You may act only
186*81713db7SXin Li      on Your own behalf and on Your sole responsibility, not on behalf
187*81713db7SXin Li      of any other Contributor, and only if You agree to indemnify,
188*81713db7SXin Li      defend, and hold each Contributor harmless for any liability
189*81713db7SXin Li      incurred by, or claims asserted against, such Contributor by reason
190*81713db7SXin Li      of your accepting any such warranty or additional liability.
191*81713db7SXin Li
192*81713db7SXin Li   END OF TERMS AND CONDITIONS
193*81713db7SXin Li
194