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