Skip to content

Commit 04c8e67

Browse files
authored
Include Apache license with and without Runtime Exception (#10567)
1 parent deda107 commit 04c8e67

File tree

1 file changed

+201
-0
lines changed

1 file changed

+201
-0
lines changed

FirebaseSharedSwift/LICENSE

Lines changed: 201 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,204 @@
209209
you may redistribute such product without providing attribution as would
210210
otherwise be required by Sections 4(a), 4(b) and 4(d) of the License.
211211

212+
Apache License
213+
Version 2.0, January 2004
214+
http://www.apache.org/licenses/
215+
216+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
217+
218+
1. Definitions.
219+
220+
"License" shall mean the terms and conditions for use, reproduction,
221+
and distribution as defined by Sections 1 through 9 of this document.
222+
223+
"Licensor" shall mean the copyright owner or entity authorized by
224+
the copyright owner that is granting the License.
225+
226+
"Legal Entity" shall mean the union of the acting entity and all
227+
other entities that control, are controlled by, or are under common
228+
control with that entity. For the purposes of this definition,
229+
"control" means (i) the power, direct or indirect, to cause the
230+
direction or management of such entity, whether by contract or
231+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
232+
outstanding shares, or (iii) beneficial ownership of such entity.
233+
234+
"You" (or "Your") shall mean an individual or Legal Entity
235+
exercising permissions granted by this License.
236+
237+
"Source" form shall mean the preferred form for making modifications,
238+
including but not limited to software source code, documentation
239+
source, and configuration files.
240+
241+
"Object" form shall mean any form resulting from mechanical
242+
transformation or translation of a Source form, including but
243+
not limited to compiled object code, generated documentation,
244+
and conversions to other media types.
245+
246+
"Work" shall mean the work of authorship, whether in Source or
247+
Object form, made available under the License, as indicated by a
248+
copyright notice that is included in or attached to the work
249+
(an example is provided in the Appendix below).
250+
251+
"Derivative Works" shall mean any work, whether in Source or Object
252+
form, that is based on (or derived from) the Work and for which the
253+
editorial revisions, annotations, elaborations, or other modifications
254+
represent, as a whole, an original work of authorship. For the purposes
255+
of this License, Derivative Works shall not include works that remain
256+
separable from, or merely link (or bind by name) to the interfaces of,
257+
the Work and Derivative Works thereof.
258+
259+
"Contribution" shall mean any work of authorship, including
260+
the original version of the Work and any modifications or additions
261+
to that Work or Derivative Works thereof, that is intentionally
262+
submitted to Licensor for inclusion in the Work by the copyright owner
263+
or by an individual or Legal Entity authorized to submit on behalf of
264+
the copyright owner. For the purposes of this definition, "submitted"
265+
means any form of electronic, verbal, or written communication sent
266+
to the Licensor or its representatives, including but not limited to
267+
communication on electronic mailing lists, source code control systems,
268+
and issue tracking systems that are managed by, or on behalf of, the
269+
Licensor for the purpose of discussing and improving the Work, but
270+
excluding communication that is conspicuously marked or otherwise
271+
designated in writing by the copyright owner as "Not a Contribution."
272+
273+
"Contributor" shall mean Licensor and any individual or Legal Entity
274+
on behalf of whom a Contribution has been received by Licensor and
275+
subsequently incorporated within the Work.
276+
277+
2. Grant of Copyright License. Subject to the terms and conditions of
278+
this License, each Contributor hereby grants to You a perpetual,
279+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
280+
copyright license to reproduce, prepare Derivative Works of,
281+
publicly display, publicly perform, sublicense, and distribute the
282+
Work and such Derivative Works in Source or Object form.
283+
284+
3. Grant of Patent License. Subject to the terms and conditions of
285+
this License, each Contributor hereby grants to You a perpetual,
286+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
287+
(except as stated in this section) patent license to make, have made,
288+
use, offer to sell, sell, import, and otherwise transfer the Work,
289+
where such license applies only to those patent claims licensable
290+
by such Contributor that are necessarily infringed by their
291+
Contribution(s) alone or by combination of their Contribution(s)
292+
with the Work to which such Contribution(s) was submitted. If You
293+
institute patent litigation against any entity (including a
294+
cross-claim or counterclaim in a lawsuit) alleging that the Work
295+
or a Contribution incorporated within the Work constitutes direct
296+
or contributory patent infringement, then any patent licenses
297+
granted to You under this License for that Work shall terminate
298+
as of the date such litigation is filed.
299+
300+
4. Redistribution. You may reproduce and distribute copies of the
301+
Work or Derivative Works thereof in any medium, with or without
302+
modifications, and in Source or Object form, provided that You
303+
meet the following conditions:
304+
305+
(a) You must give any other recipients of the Work or
306+
Derivative Works a copy of this License; and
307+
308+
(b) You must cause any modified files to carry prominent notices
309+
stating that You changed the files; and
310+
311+
(c) You must retain, in the Source form of any Derivative Works
312+
that You distribute, all copyright, patent, trademark, and
313+
attribution notices from the Source form of the Work,
314+
excluding those notices that do not pertain to any part of
315+
the Derivative Works; and
316+
317+
(d) If the Work includes a "NOTICE" text file as part of its
318+
distribution, then any Derivative Works that You distribute must
319+
include a readable copy of the attribution notices contained
320+
within such NOTICE file, excluding those notices that do not
321+
pertain to any part of the Derivative Works, in at least one
322+
of the following places: within a NOTICE text file distributed
323+
as part of the Derivative Works; within the Source form or
324+
documentation, if provided along with the Derivative Works; or,
325+
within a display generated by the Derivative Works, if and
326+
wherever such third-party notices normally appear. The contents
327+
of the NOTICE file are for informational purposes only and
328+
do not modify the License. You may add Your own attribution
329+
notices within Derivative Works that You distribute, alongside
330+
or as an addendum to the NOTICE text from the Work, provided
331+
that such additional attribution notices cannot be construed
332+
as modifying the License.
333+
334+
You may add Your own copyright statement to Your modifications and
335+
may provide additional or different license terms and conditions
336+
for use, reproduction, or distribution of Your modifications, or
337+
for any such Derivative Works as a whole, provided Your use,
338+
reproduction, and distribution of the Work otherwise complies with
339+
the conditions stated in this License.
340+
341+
5. Submission of Contributions. Unless You explicitly state otherwise,
342+
any Contribution intentionally submitted for inclusion in the Work
343+
by You to the Licensor shall be under the terms and conditions of
344+
this License, without any additional terms or conditions.
345+
Notwithstanding the above, nothing herein shall supersede or modify
346+
the terms of any separate license agreement you may have executed
347+
with Licensor regarding such Contributions.
348+
349+
6. Trademarks. This License does not grant permission to use the trade
350+
names, trademarks, service marks, or product names of the Licensor,
351+
except as required for reasonable and customary use in describing the
352+
origin of the Work and reproducing the content of the NOTICE file.
353+
354+
7. Disclaimer of Warranty. Unless required by applicable law or
355+
agreed to in writing, Licensor provides the Work (and each
356+
Contributor provides its Contributions) on an "AS IS" BASIS,
357+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
358+
implied, including, without limitation, any warranties or conditions
359+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
360+
PARTICULAR PURPOSE. You are solely responsible for determining the
361+
appropriateness of using or redistributing the Work and assume any
362+
risks associated with Your exercise of permissions under this License.
363+
364+
8. Limitation of Liability. In no event and under no legal theory,
365+
whether in tort (including negligence), contract, or otherwise,
366+
unless required by applicable law (such as deliberate and grossly
367+
negligent acts) or agreed to in writing, shall any Contributor be
368+
liable to You for damages, including any direct, indirect, special,
369+
incidental, or consequential damages of any character arising as a
370+
result of this License or out of the use or inability to use the
371+
Work (including but not limited to damages for loss of goodwill,
372+
work stoppage, computer failure or malfunction, or any and all
373+
other commercial damages or losses), even if such Contributor
374+
has been advised of the possibility of such damages.
375+
376+
9. Accepting Warranty or Additional Liability. While redistributing
377+
the Work or Derivative Works thereof, You may choose to offer,
378+
and charge a fee for, acceptance of support, warranty, indemnity,
379+
or other liability obligations and/or rights consistent with this
380+
License. However, in accepting such obligations, You may act only
381+
on Your own behalf and on Your sole responsibility, not on behalf
382+
of any other Contributor, and only if You agree to indemnify,
383+
defend, and hold each Contributor harmless for any liability
384+
incurred by, or claims asserted against, such Contributor by reason
385+
of your accepting any such warranty or additional liability.
386+
387+
END OF TERMS AND CONDITIONS
388+
389+
APPENDIX: How to apply the Apache License to your work.
390+
391+
To apply the Apache License to your work, attach the following
392+
boilerplate notice, with the fields enclosed by brackets "[]"
393+
replaced with your own identifying information. (Don't include
394+
the brackets!) The text should be enclosed in the appropriate
395+
comment syntax for the file format. We also recommend that a
396+
file or class name and description of purpose be included on the
397+
same "printed page" as the copyright notice for easier
398+
identification within third-party archives.
399+
400+
Copyright [yyyy] [name of copyright owner]
401+
402+
Licensed under the Apache License, Version 2.0 (the "License");
403+
you may not use this file except in compliance with the License.
404+
You may obtain a copy of the License at
405+
406+
http://www.apache.org/licenses/LICENSE-2.0
407+
408+
Unless required by applicable law or agreed to in writing, software
409+
distributed under the License is distributed on an "AS IS" BASIS,
410+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
411+
See the License for the specific language governing permissions and
412+
limitations under the License.

0 commit comments

Comments
 (0)