xref: /aosp_15_r20/external/bazelbuild-rules_license/examples/manifest/main_golden.txt (revision f578df4fd057ffe2023728444759535685631548)
1*f578df4fSJingwen ChenI am a program that uses open source code.
2*f578df4fSJingwen ChenLicenses:
3*f578df4fSJingwen Chen                                 Apache License
4*f578df4fSJingwen Chen                           Version 2.0, January 2004
5*f578df4fSJingwen Chen                        http://www.apache.org/licenses/
6*f578df4fSJingwen Chen
7*f578df4fSJingwen Chen   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8*f578df4fSJingwen Chen
9*f578df4fSJingwen Chen   1. Definitions.
10*f578df4fSJingwen Chen
11*f578df4fSJingwen Chen      "License" shall mean the terms and conditions for use, reproduction,
12*f578df4fSJingwen Chen      and distribution as defined by Sections 1 through 9 of this document.
13*f578df4fSJingwen Chen
14*f578df4fSJingwen Chen      "Licensor" shall mean the copyright owner or entity authorized by
15*f578df4fSJingwen Chen      the copyright owner that is granting the License.
16*f578df4fSJingwen Chen
17*f578df4fSJingwen Chen      "Legal Entity" shall mean the union of the acting entity and all
18*f578df4fSJingwen Chen      other entities that control, are controlled by, or are under common
19*f578df4fSJingwen Chen      control with that entity. For the purposes of this definition,
20*f578df4fSJingwen Chen      "control" means (i) the power, direct or indirect, to cause the
21*f578df4fSJingwen Chen      direction or management of such entity, whether by contract or
22*f578df4fSJingwen Chen      otherwise, or (ii) ownership of fifty percent (50%) or more of the
23*f578df4fSJingwen Chen      outstanding shares, or (iii) beneficial ownership of such entity.
24*f578df4fSJingwen Chen
25*f578df4fSJingwen Chen      "You" (or "Your") shall mean an individual or Legal Entity
26*f578df4fSJingwen Chen      exercising permissions granted by this License.
27*f578df4fSJingwen Chen
28*f578df4fSJingwen Chen      "Source" form shall mean the preferred form for making modifications,
29*f578df4fSJingwen Chen      including but not limited to software source code, documentation
30*f578df4fSJingwen Chen      source, and configuration files.
31*f578df4fSJingwen Chen
32*f578df4fSJingwen Chen      "Object" form shall mean any form resulting from mechanical
33*f578df4fSJingwen Chen      transformation or translation of a Source form, including but
34*f578df4fSJingwen Chen      not limited to compiled object code, generated documentation,
35*f578df4fSJingwen Chen      and conversions to other media types.
36*f578df4fSJingwen Chen
37*f578df4fSJingwen Chen      "Work" shall mean the work of authorship, whether in Source or
38*f578df4fSJingwen Chen      Object form, made available under the License, as indicated by a
39*f578df4fSJingwen Chen      copyright notice that is included in or attached to the work
40*f578df4fSJingwen Chen      (an example is provided in the Appendix below).
41*f578df4fSJingwen Chen
42*f578df4fSJingwen Chen      "Derivative Works" shall mean any work, whether in Source or Object
43*f578df4fSJingwen Chen      form, that is based on (or derived from) the Work and for which the
44*f578df4fSJingwen Chen      editorial revisions, annotations, elaborations, or other modifications
45*f578df4fSJingwen Chen      represent, as a whole, an original work of authorship. For the purposes
46*f578df4fSJingwen Chen      of this License, Derivative Works shall not include works that remain
47*f578df4fSJingwen Chen      separable from, or merely link (or bind by name) to the interfaces of,
48*f578df4fSJingwen Chen      the Work and Derivative Works thereof.
49*f578df4fSJingwen Chen
50*f578df4fSJingwen Chen      "Contribution" shall mean any work of authorship, including
51*f578df4fSJingwen Chen      the original version of the Work and any modifications or additions
52*f578df4fSJingwen Chen      to that Work or Derivative Works thereof, that is intentionally
53*f578df4fSJingwen Chen      submitted to Licensor for inclusion in the Work by the copyright owner
54*f578df4fSJingwen Chen      or by an individual or Legal Entity authorized to submit on behalf of
55*f578df4fSJingwen Chen      the copyright owner. For the purposes of this definition, "submitted"
56*f578df4fSJingwen Chen      means any form of electronic, verbal, or written communication sent
57*f578df4fSJingwen Chen      to the Licensor or its representatives, including but not limited to
58*f578df4fSJingwen Chen      communication on electronic mailing lists, source code control systems,
59*f578df4fSJingwen Chen      and issue tracking systems that are managed by, or on behalf of, the
60*f578df4fSJingwen Chen      Licensor for the purpose of discussing and improving the Work, but
61*f578df4fSJingwen Chen      excluding communication that is conspicuously marked or otherwise
62*f578df4fSJingwen Chen      designated in writing by the copyright owner as "Not a Contribution."
63*f578df4fSJingwen Chen
64*f578df4fSJingwen Chen      "Contributor" shall mean Licensor and any individual or Legal Entity
65*f578df4fSJingwen Chen      on behalf of whom a Contribution has been received by Licensor and
66*f578df4fSJingwen Chen      subsequently incorporated within the Work.
67*f578df4fSJingwen Chen
68*f578df4fSJingwen Chen   2. Grant of Copyright License. Subject to the terms and conditions of
69*f578df4fSJingwen Chen      this License, each Contributor hereby grants to You a perpetual,
70*f578df4fSJingwen Chen      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
71*f578df4fSJingwen Chen      copyright license to reproduce, prepare Derivative Works of,
72*f578df4fSJingwen Chen      publicly display, publicly perform, sublicense, and distribute the
73*f578df4fSJingwen Chen      Work and such Derivative Works in Source or Object form.
74*f578df4fSJingwen Chen
75*f578df4fSJingwen Chen   3. Grant of Patent License. Subject to the terms and conditions of
76*f578df4fSJingwen Chen      this License, each Contributor hereby grants to You a perpetual,
77*f578df4fSJingwen Chen      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
78*f578df4fSJingwen Chen      (except as stated in this section) patent license to make, have made,
79*f578df4fSJingwen Chen      use, offer to sell, sell, import, and otherwise transfer the Work,
80*f578df4fSJingwen Chen      where such license applies only to those patent claims licensable
81*f578df4fSJingwen Chen      by such Contributor that are necessarily infringed by their
82*f578df4fSJingwen Chen      Contribution(s) alone or by combination of their Contribution(s)
83*f578df4fSJingwen Chen      with the Work to which such Contribution(s) was submitted. If You
84*f578df4fSJingwen Chen      institute patent litigation against any entity (including a
85*f578df4fSJingwen Chen      cross-claim or counterclaim in a lawsuit) alleging that the Work
86*f578df4fSJingwen Chen      or a Contribution incorporated within the Work constitutes direct
87*f578df4fSJingwen Chen      or contributory patent infringement, then any patent licenses
88*f578df4fSJingwen Chen      granted to You under this License for that Work shall terminate
89*f578df4fSJingwen Chen      as of the date such litigation is filed.
90*f578df4fSJingwen Chen
91*f578df4fSJingwen Chen   4. Redistribution. You may reproduce and distribute copies of the
92*f578df4fSJingwen Chen      Work or Derivative Works thereof in any medium, with or without
93*f578df4fSJingwen Chen      modifications, and in Source or Object form, provided that You
94*f578df4fSJingwen Chen      meet the following conditions:
95*f578df4fSJingwen Chen
96*f578df4fSJingwen Chen      (a) You must give any other recipients of the Work or
97*f578df4fSJingwen Chen          Derivative Works a copy of this License; and
98*f578df4fSJingwen Chen
99*f578df4fSJingwen Chen      (b) You must cause any modified files to carry prominent notices
100*f578df4fSJingwen Chen          stating that You changed the files; and
101*f578df4fSJingwen Chen
102*f578df4fSJingwen Chen      (c) You must retain, in the Source form of any Derivative Works
103*f578df4fSJingwen Chen          that You distribute, all copyright, patent, trademark, and
104*f578df4fSJingwen Chen          attribution notices from the Source form of the Work,
105*f578df4fSJingwen Chen          excluding those notices that do not pertain to any part of
106*f578df4fSJingwen Chen          the Derivative Works; and
107*f578df4fSJingwen Chen
108*f578df4fSJingwen Chen      (d) If the Work includes a "NOTICE" text file as part of its
109*f578df4fSJingwen Chen          distribution, then any Derivative Works that You distribute must
110*f578df4fSJingwen Chen          include a readable copy of the attribution notices contained
111*f578df4fSJingwen Chen          within such NOTICE file, excluding those notices that do not
112*f578df4fSJingwen Chen          pertain to any part of the Derivative Works, in at least one
113*f578df4fSJingwen Chen          of the following places: within a NOTICE text file distributed
114*f578df4fSJingwen Chen          as part of the Derivative Works; within the Source form or
115*f578df4fSJingwen Chen          documentation, if provided along with the Derivative Works; or,
116*f578df4fSJingwen Chen          within a display generated by the Derivative Works, if and
117*f578df4fSJingwen Chen          wherever such third-party notices normally appear. The contents
118*f578df4fSJingwen Chen          of the NOTICE file are for informational purposes only and
119*f578df4fSJingwen Chen          do not modify the License. You may add Your own attribution
120*f578df4fSJingwen Chen          notices within Derivative Works that You distribute, alongside
121*f578df4fSJingwen Chen          or as an addendum to the NOTICE text from the Work, provided
122*f578df4fSJingwen Chen          that such additional attribution notices cannot be construed
123*f578df4fSJingwen Chen          as modifying the License.
124*f578df4fSJingwen Chen
125*f578df4fSJingwen Chen      You may add Your own copyright statement to Your modifications and
126*f578df4fSJingwen Chen      may provide additional or different license terms and conditions
127*f578df4fSJingwen Chen      for use, reproduction, or distribution of Your modifications, or
128*f578df4fSJingwen Chen      for any such Derivative Works as a whole, provided Your use,
129*f578df4fSJingwen Chen      reproduction, and distribution of the Work otherwise complies with
130*f578df4fSJingwen Chen      the conditions stated in this License.
131*f578df4fSJingwen Chen
132*f578df4fSJingwen Chen   5. Submission of Contributions. Unless You explicitly state otherwise,
133*f578df4fSJingwen Chen      any Contribution intentionally submitted for inclusion in the Work
134*f578df4fSJingwen Chen      by You to the Licensor shall be under the terms and conditions of
135*f578df4fSJingwen Chen      this License, without any additional terms or conditions.
136*f578df4fSJingwen Chen      Notwithstanding the above, nothing herein shall supersede or modify
137*f578df4fSJingwen Chen      the terms of any separate license agreement you may have executed
138*f578df4fSJingwen Chen      with Licensor regarding such Contributions.
139*f578df4fSJingwen Chen
140*f578df4fSJingwen Chen   6. Trademarks. This License does not grant permission to use the trade
141*f578df4fSJingwen Chen      names, trademarks, service marks, or product names of the Licensor,
142*f578df4fSJingwen Chen      except as required for reasonable and customary use in describing the
143*f578df4fSJingwen Chen      origin of the Work and reproducing the content of the NOTICE file.
144*f578df4fSJingwen Chen
145*f578df4fSJingwen Chen   7. Disclaimer of Warranty. Unless required by applicable law or
146*f578df4fSJingwen Chen      agreed to in writing, Licensor provides the Work (and each
147*f578df4fSJingwen Chen      Contributor provides its Contributions) on an "AS IS" BASIS,
148*f578df4fSJingwen Chen      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
149*f578df4fSJingwen Chen      implied, including, without limitation, any warranties or conditions
150*f578df4fSJingwen Chen      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
151*f578df4fSJingwen Chen      PARTICULAR PURPOSE. You are solely responsible for determining the
152*f578df4fSJingwen Chen      appropriateness of using or redistributing the Work and assume any
153*f578df4fSJingwen Chen      risks associated with Your exercise of permissions under this License.
154*f578df4fSJingwen Chen
155*f578df4fSJingwen Chen   8. Limitation of Liability. In no event and under no legal theory,
156*f578df4fSJingwen Chen      whether in tort (including negligence), contract, or otherwise,
157*f578df4fSJingwen Chen      unless required by applicable law (such as deliberate and grossly
158*f578df4fSJingwen Chen      negligent acts) or agreed to in writing, shall any Contributor be
159*f578df4fSJingwen Chen      liable to You for damages, including any direct, indirect, special,
160*f578df4fSJingwen Chen      incidental, or consequential damages of any character arising as a
161*f578df4fSJingwen Chen      result of this License or out of the use or inability to use the
162*f578df4fSJingwen Chen      Work (including but not limited to damages for loss of goodwill,
163*f578df4fSJingwen Chen      work stoppage, computer failure or malfunction, or any and all
164*f578df4fSJingwen Chen      other commercial damages or losses), even if such Contributor
165*f578df4fSJingwen Chen      has been advised of the possibility of such damages.
166*f578df4fSJingwen Chen
167*f578df4fSJingwen Chen   9. Accepting Warranty or Additional Liability. While redistributing
168*f578df4fSJingwen Chen      the Work or Derivative Works thereof, You may choose to offer,
169*f578df4fSJingwen Chen      and charge a fee for, acceptance of support, warranty, indemnity,
170*f578df4fSJingwen Chen      or other liability obligations and/or rights consistent with this
171*f578df4fSJingwen Chen      License. However, in accepting such obligations, You may act only
172*f578df4fSJingwen Chen      on Your own behalf and on Your sole responsibility, not on behalf
173*f578df4fSJingwen Chen      of any other Contributor, and only if You agree to indemnify,
174*f578df4fSJingwen Chen      defend, and hold each Contributor harmless for any liability
175*f578df4fSJingwen Chen      incurred by, or claims asserted against, such Contributor by reason
176*f578df4fSJingwen Chen      of your accepting any such warranty or additional liability.
177*f578df4fSJingwen Chen
178*f578df4fSJingwen Chen   END OF TERMS AND CONDITIONS
179*f578df4fSJingwen Chen
180*f578df4fSJingwen Chen   APPENDIX: How to apply the Apache License to your work.
181*f578df4fSJingwen Chen
182*f578df4fSJingwen Chen      To apply the Apache License to your work, attach the following
183*f578df4fSJingwen Chen      boilerplate notice, with the fields enclosed by brackets "[]"
184*f578df4fSJingwen Chen      replaced with your own identifying information. (Don't include
185*f578df4fSJingwen Chen      the brackets!)  The text should be enclosed in the appropriate
186*f578df4fSJingwen Chen      comment syntax for the file format. We also recommend that a
187*f578df4fSJingwen Chen      file or class name and description of purpose be included on the
188*f578df4fSJingwen Chen      same "printed page" as the copyright notice for easier
189*f578df4fSJingwen Chen      identification within third-party archives.
190*f578df4fSJingwen Chen
191*f578df4fSJingwen Chen   Copyright [yyyy] [name of copyright owner]
192*f578df4fSJingwen Chen
193*f578df4fSJingwen Chen   Licensed under the Apache License, Version 2.0 (the "License");
194*f578df4fSJingwen Chen   you may not use this file except in compliance with the License.
195*f578df4fSJingwen Chen   You may obtain a copy of the License at
196*f578df4fSJingwen Chen
197*f578df4fSJingwen Chen       http://www.apache.org/licenses/LICENSE-2.0
198*f578df4fSJingwen Chen
199*f578df4fSJingwen Chen   Unless required by applicable law or agreed to in writing, software
200*f578df4fSJingwen Chen   distributed under the License is distributed on an "AS IS" BASIS,
201*f578df4fSJingwen Chen   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
202*f578df4fSJingwen Chen   See the License for the specific language governing permissions and
203*f578df4fSJingwen Chen   limitations under the License.
204*f578df4fSJingwen Chen
205*f578df4fSJingwen Chen                                 Apache License
206*f578df4fSJingwen Chen                           Version 2.0, January 2004
207*f578df4fSJingwen Chen                        http://www.apache.org/licenses/
208*f578df4fSJingwen Chen
209*f578df4fSJingwen Chen   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
210*f578df4fSJingwen Chen
211*f578df4fSJingwen Chen   1. Definitions.
212*f578df4fSJingwen Chen
213*f578df4fSJingwen Chen      "License" shall mean the terms and conditions for use, reproduction,
214*f578df4fSJingwen Chen      and distribution as defined by Sections 1 through 9 of this document.
215*f578df4fSJingwen Chen
216*f578df4fSJingwen Chen      "Licensor" shall mean the copyright owner or entity authorized by
217*f578df4fSJingwen Chen      the copyright owner that is granting the License.
218*f578df4fSJingwen Chen
219*f578df4fSJingwen Chen      "Legal Entity" shall mean the union of the acting entity and all
220*f578df4fSJingwen Chen      other entities that control, are controlled by, or are under common
221*f578df4fSJingwen Chen      control with that entity. For the purposes of this definition,
222*f578df4fSJingwen Chen      "control" means (i) the power, direct or indirect, to cause the
223*f578df4fSJingwen Chen      direction or management of such entity, whether by contract or
224*f578df4fSJingwen Chen      otherwise, or (ii) ownership of fifty percent (50%) or more of the
225*f578df4fSJingwen Chen      outstanding shares, or (iii) beneficial ownership of such entity.
226*f578df4fSJingwen Chen
227*f578df4fSJingwen Chen      "You" (or "Your") shall mean an individual or Legal Entity
228*f578df4fSJingwen Chen      exercising permissions granted by this License.
229*f578df4fSJingwen Chen
230*f578df4fSJingwen Chen      "Source" form shall mean the preferred form for making modifications,
231*f578df4fSJingwen Chen      including but not limited to software source code, documentation
232*f578df4fSJingwen Chen      source, and configuration files.
233*f578df4fSJingwen Chen
234*f578df4fSJingwen Chen      "Object" form shall mean any form resulting from mechanical
235*f578df4fSJingwen Chen      transformation or translation of a Source form, including but
236*f578df4fSJingwen Chen      not limited to compiled object code, generated documentation,
237*f578df4fSJingwen Chen      and conversions to other media types.
238*f578df4fSJingwen Chen
239*f578df4fSJingwen Chen      "Work" shall mean the work of authorship, whether in Source or
240*f578df4fSJingwen Chen      Object form, made available under the License, as indicated by a
241*f578df4fSJingwen Chen      copyright notice that is included in or attached to the work
242*f578df4fSJingwen Chen      (an example is provided in the Appendix below).
243*f578df4fSJingwen Chen
244*f578df4fSJingwen Chen      "Derivative Works" shall mean any work, whether in Source or Object
245*f578df4fSJingwen Chen      form, that is based on (or derived from) the Work and for which the
246*f578df4fSJingwen Chen      editorial revisions, annotations, elaborations, or other modifications
247*f578df4fSJingwen Chen      represent, as a whole, an original work of authorship. For the purposes
248*f578df4fSJingwen Chen      of this License, Derivative Works shall not include works that remain
249*f578df4fSJingwen Chen      separable from, or merely link (or bind by name) to the interfaces of,
250*f578df4fSJingwen Chen      the Work and Derivative Works thereof.
251*f578df4fSJingwen Chen
252*f578df4fSJingwen Chen      "Contribution" shall mean any work of authorship, including
253*f578df4fSJingwen Chen      the original version of the Work and any modifications or additions
254*f578df4fSJingwen Chen      to that Work or Derivative Works thereof, that is intentionally
255*f578df4fSJingwen Chen      submitted to Licensor for inclusion in the Work by the copyright owner
256*f578df4fSJingwen Chen      or by an individual or Legal Entity authorized to submit on behalf of
257*f578df4fSJingwen Chen      the copyright owner. For the purposes of this definition, "submitted"
258*f578df4fSJingwen Chen      means any form of electronic, verbal, or written communication sent
259*f578df4fSJingwen Chen      to the Licensor or its representatives, including but not limited to
260*f578df4fSJingwen Chen      communication on electronic mailing lists, source code control systems,
261*f578df4fSJingwen Chen      and issue tracking systems that are managed by, or on behalf of, the
262*f578df4fSJingwen Chen      Licensor for the purpose of discussing and improving the Work, but
263*f578df4fSJingwen Chen      excluding communication that is conspicuously marked or otherwise
264*f578df4fSJingwen Chen      designated in writing by the copyright owner as "Not a Contribution."
265*f578df4fSJingwen Chen
266*f578df4fSJingwen Chen      "Contributor" shall mean Licensor and any individual or Legal Entity
267*f578df4fSJingwen Chen      on behalf of whom a Contribution has been received by Licensor and
268*f578df4fSJingwen Chen      subsequently incorporated within the Work.
269*f578df4fSJingwen Chen
270*f578df4fSJingwen Chen   2. Grant of Copyright License. Subject to the terms and conditions of
271*f578df4fSJingwen Chen      this License, each Contributor hereby grants to You a perpetual,
272*f578df4fSJingwen Chen      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
273*f578df4fSJingwen Chen      copyright license to reproduce, prepare Derivative Works of,
274*f578df4fSJingwen Chen      publicly display, publicly perform, sublicense, and distribute the
275*f578df4fSJingwen Chen      Work and such Derivative Works in Source or Object form.
276*f578df4fSJingwen Chen
277*f578df4fSJingwen Chen   3. Grant of Patent License. Subject to the terms and conditions of
278*f578df4fSJingwen Chen      this License, each Contributor hereby grants to You a perpetual,
279*f578df4fSJingwen Chen      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
280*f578df4fSJingwen Chen      (except as stated in this section) patent license to make, have made,
281*f578df4fSJingwen Chen      use, offer to sell, sell, import, and otherwise transfer the Work,
282*f578df4fSJingwen Chen      where such license applies only to those patent claims licensable
283*f578df4fSJingwen Chen      by such Contributor that are necessarily infringed by their
284*f578df4fSJingwen Chen      Contribution(s) alone or by combination of their Contribution(s)
285*f578df4fSJingwen Chen      with the Work to which such Contribution(s) was submitted. If You
286*f578df4fSJingwen Chen      institute patent litigation against any entity (including a
287*f578df4fSJingwen Chen      cross-claim or counterclaim in a lawsuit) alleging that the Work
288*f578df4fSJingwen Chen      or a Contribution incorporated within the Work constitutes direct
289*f578df4fSJingwen Chen      or contributory patent infringement, then any patent licenses
290*f578df4fSJingwen Chen      granted to You under this License for that Work shall terminate
291*f578df4fSJingwen Chen      as of the date such litigation is filed.
292*f578df4fSJingwen Chen
293*f578df4fSJingwen Chen   4. Redistribution. You may reproduce and distribute copies of the
294*f578df4fSJingwen Chen      Work or Derivative Works thereof in any medium, with or without
295*f578df4fSJingwen Chen      modifications, and in Source or Object form, provided that You
296*f578df4fSJingwen Chen      meet the following conditions:
297*f578df4fSJingwen Chen
298*f578df4fSJingwen Chen      (a) You must give any other recipients of the Work or
299*f578df4fSJingwen Chen          Derivative Works a copy of this License; and
300*f578df4fSJingwen Chen
301*f578df4fSJingwen Chen      (b) You must cause any modified files to carry prominent notices
302*f578df4fSJingwen Chen          stating that You changed the files; and
303*f578df4fSJingwen Chen
304*f578df4fSJingwen Chen      (c) You must retain, in the Source form of any Derivative Works
305*f578df4fSJingwen Chen          that You distribute, all copyright, patent, trademark, and
306*f578df4fSJingwen Chen          attribution notices from the Source form of the Work,
307*f578df4fSJingwen Chen          excluding those notices that do not pertain to any part of
308*f578df4fSJingwen Chen          the Derivative Works; and
309*f578df4fSJingwen Chen
310*f578df4fSJingwen Chen      (d) If the Work includes a "NOTICE" text file as part of its
311*f578df4fSJingwen Chen          distribution, then any Derivative Works that You distribute must
312*f578df4fSJingwen Chen          include a readable copy of the attribution notices contained
313*f578df4fSJingwen Chen          within such NOTICE file, excluding those notices that do not
314*f578df4fSJingwen Chen          pertain to any part of the Derivative Works, in at least one
315*f578df4fSJingwen Chen          of the following places: within a NOTICE text file distributed
316*f578df4fSJingwen Chen          as part of the Derivative Works; within the Source form or
317*f578df4fSJingwen Chen          documentation, if provided along with the Derivative Works; or,
318*f578df4fSJingwen Chen          within a display generated by the Derivative Works, if and
319*f578df4fSJingwen Chen          wherever such third-party notices normally appear. The contents
320*f578df4fSJingwen Chen          of the NOTICE file are for informational purposes only and
321*f578df4fSJingwen Chen          do not modify the License. You may add Your own attribution
322*f578df4fSJingwen Chen          notices within Derivative Works that You distribute, alongside
323*f578df4fSJingwen Chen          or as an addendum to the NOTICE text from the Work, provided
324*f578df4fSJingwen Chen          that such additional attribution notices cannot be construed
325*f578df4fSJingwen Chen          as modifying the License.
326*f578df4fSJingwen Chen
327*f578df4fSJingwen Chen      You may add Your own copyright statement to Your modifications and
328*f578df4fSJingwen Chen      may provide additional or different license terms and conditions
329*f578df4fSJingwen Chen      for use, reproduction, or distribution of Your modifications, or
330*f578df4fSJingwen Chen      for any such Derivative Works as a whole, provided Your use,
331*f578df4fSJingwen Chen      reproduction, and distribution of the Work otherwise complies with
332*f578df4fSJingwen Chen      the conditions stated in this License.
333*f578df4fSJingwen Chen
334*f578df4fSJingwen Chen   5. Submission of Contributions. Unless You explicitly state otherwise,
335*f578df4fSJingwen Chen      any Contribution intentionally submitted for inclusion in the Work
336*f578df4fSJingwen Chen      by You to the Licensor shall be under the terms and conditions of
337*f578df4fSJingwen Chen      this License, without any additional terms or conditions.
338*f578df4fSJingwen Chen      Notwithstanding the above, nothing herein shall supersede or modify
339*f578df4fSJingwen Chen      the terms of any separate license agreement you may have executed
340*f578df4fSJingwen Chen      with Licensor regarding such Contributions.
341*f578df4fSJingwen Chen
342*f578df4fSJingwen Chen   6. Trademarks. This License does not grant permission to use the trade
343*f578df4fSJingwen Chen      names, trademarks, service marks, or product names of the Licensor,
344*f578df4fSJingwen Chen      except as required for reasonable and customary use in describing the
345*f578df4fSJingwen Chen      origin of the Work and reproducing the content of the NOTICE file.
346*f578df4fSJingwen Chen
347*f578df4fSJingwen Chen   7. Disclaimer of Warranty. Unless required by applicable law or
348*f578df4fSJingwen Chen      agreed to in writing, Licensor provides the Work (and each
349*f578df4fSJingwen Chen      Contributor provides its Contributions) on an "AS IS" BASIS,
350*f578df4fSJingwen Chen      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
351*f578df4fSJingwen Chen      implied, including, without limitation, any warranties or conditions
352*f578df4fSJingwen Chen      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
353*f578df4fSJingwen Chen      PARTICULAR PURPOSE. You are solely responsible for determining the
354*f578df4fSJingwen Chen      appropriateness of using or redistributing the Work and assume any
355*f578df4fSJingwen Chen      risks associated with Your exercise of permissions under this License.
356*f578df4fSJingwen Chen
357*f578df4fSJingwen Chen   8. Limitation of Liability. In no event and under no legal theory,
358*f578df4fSJingwen Chen      whether in tort (including negligence), contract, or otherwise,
359*f578df4fSJingwen Chen      unless required by applicable law (such as deliberate and grossly
360*f578df4fSJingwen Chen      negligent acts) or agreed to in writing, shall any Contributor be
361*f578df4fSJingwen Chen      liable to You for damages, including any direct, indirect, special,
362*f578df4fSJingwen Chen      incidental, or consequential damages of any character arising as a
363*f578df4fSJingwen Chen      result of this License or out of the use or inability to use the
364*f578df4fSJingwen Chen      Work (including but not limited to damages for loss of goodwill,
365*f578df4fSJingwen Chen      work stoppage, computer failure or malfunction, or any and all
366*f578df4fSJingwen Chen      other commercial damages or losses), even if such Contributor
367*f578df4fSJingwen Chen      has been advised of the possibility of such damages.
368*f578df4fSJingwen Chen
369*f578df4fSJingwen Chen   9. Accepting Warranty or Additional Liability. While redistributing
370*f578df4fSJingwen Chen      the Work or Derivative Works thereof, You may choose to offer,
371*f578df4fSJingwen Chen      and charge a fee for, acceptance of support, warranty, indemnity,
372*f578df4fSJingwen Chen      or other liability obligations and/or rights consistent with this
373*f578df4fSJingwen Chen      License. However, in accepting such obligations, You may act only
374*f578df4fSJingwen Chen      on Your own behalf and on Your sole responsibility, not on behalf
375*f578df4fSJingwen Chen      of any other Contributor, and only if You agree to indemnify,
376*f578df4fSJingwen Chen      defend, and hold each Contributor harmless for any liability
377*f578df4fSJingwen Chen      incurred by, or claims asserted against, such Contributor by reason
378*f578df4fSJingwen Chen      of your accepting any such warranty or additional liability.
379*f578df4fSJingwen Chen
380*f578df4fSJingwen Chen   END OF TERMS AND CONDITIONS
381*f578df4fSJingwen Chen
382*f578df4fSJingwen Chen   APPENDIX: How to apply the Apache License to your work.
383*f578df4fSJingwen Chen
384*f578df4fSJingwen Chen      To apply the Apache License to your work, attach the following
385*f578df4fSJingwen Chen      boilerplate notice, with the fields enclosed by brackets "[]"
386*f578df4fSJingwen Chen      replaced with your own identifying information. (Don't include
387*f578df4fSJingwen Chen      the brackets!)  The text should be enclosed in the appropriate
388*f578df4fSJingwen Chen      comment syntax for the file format. We also recommend that a
389*f578df4fSJingwen Chen      file or class name and description of purpose be included on the
390*f578df4fSJingwen Chen      same "printed page" as the copyright notice for easier
391*f578df4fSJingwen Chen      identification within third-party archives.
392*f578df4fSJingwen Chen
393*f578df4fSJingwen Chen   Copyright [yyyy] [name of copyright owner]
394*f578df4fSJingwen Chen
395*f578df4fSJingwen Chen   Licensed under the Apache License, Version 2.0 (the "License");
396*f578df4fSJingwen Chen   you may not use this file except in compliance with the License.
397*f578df4fSJingwen Chen   You may obtain a copy of the License at
398*f578df4fSJingwen Chen
399*f578df4fSJingwen Chen       http://www.apache.org/licenses/LICENSE-2.0
400*f578df4fSJingwen Chen
401*f578df4fSJingwen Chen   Unless required by applicable law or agreed to in writing, software
402*f578df4fSJingwen Chen   distributed under the License is distributed on an "AS IS" BASIS,
403*f578df4fSJingwen Chen   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
404*f578df4fSJingwen Chen   See the License for the specific language governing permissions and
405*f578df4fSJingwen Chen   limitations under the License.
406*f578df4fSJingwen Chen
407