xref: /aosp_15_r20/external/licenseclassifier/v2/scenarios/151151704 (revision 46c4c49da23cae783fa41bf46525a6505638499a)
1Legacy classifier identifies BSD-2-Clause-NetBSD
2EXPECTED:Apache-2.0,BSD-2-Clause,BSD-3-Clause,Copyright,MIT,NCSA,Unlicense,Zlib
3Emscripten is available under 2 licenses, the MIT license and the
4University of Illinois/NCSA Open Source License.
5
6Both are permissive open source licenses, with little if any
7practical difference between them.
8
9The reason for offering both is that (1) the MIT license is
10well-known, while (2) the University of Illinois/NCSA Open Source
11License allows Emscripten's code to be integrated upstream into
12LLVM, which uses that license, should the opportunity arise.
13
14Additionally, the binaryen project is available under the Apache License
15Version 2.0.
16
17The full text of all three licenses follows.
18
19==============================================================================
20
21Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.
22
23Permission is hereby granted, free of charge, to any person obtaining a copy
24of this software and associated documentation files (the "Software"), to deal
25in the Software without restriction, including without limitation the rights
26to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
27copies of the Software, and to permit persons to whom the Software is
28furnished to do so, subject to the following conditions:
29
30The above copyright notice and this permission notice shall be included in
31all copies or substantial portions of the Software.
32
33THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
34IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
35FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
36AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
37LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
38OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
39THE SOFTWARE.
40
41==============================================================================
42
43Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.
44All rights reserved.
45
46Permission is hereby granted, free of charge, to any person obtaining a
47copy of this software and associated documentation files (the
48"Software"), to deal with the Software without restriction, including
49without limitation the rights to use, copy, modify, merge, publish,
50distribute, sublicense, and/or sell copies of the Software, and to
51permit persons to whom the Software is furnished to do so, subject to
52the following conditions:
53
54    Redistributions of source code must retain the above copyright
55    notice, this list of conditions and the following disclaimers.
56
57    Redistributions in binary form must reproduce the above
58    copyright notice, this list of conditions and the following disclaimers
59    in the documentation and/or other materials provided with the
60    distribution.
61
62    Neither the names of Mozilla,
63    nor the names of its contributors may be used to endorse
64    or promote products derived from this Software without specific prior
65    written permission.
66
67THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
68OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
69MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
70IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR
71ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
72TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
73SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
74
75==============================================================================
76
77This program uses portions of Node.js source code located in src/library_path.js,
78in accordance with the terms of the MIT license. Node's license follows:
79
80    """
81        Copyright Joyent, Inc. and other Node contributors. All rights reserved.
82        Permission is hereby granted, free of charge, to any person obtaining a copy
83        of this software and associated documentation files (the "Software"), to
84        deal in the Software without restriction, including without limitation the
85        rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
86        sell copies of the Software, and to permit persons to whom the Software is
87        furnished to do so, subject to the following conditions:
88
89        The above copyright notice and this permission notice shall be included in
90        all copies or substantial portions of the Software.
91
92        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
93        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
94        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
95        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
96        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
97        FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
98        IN THE SOFTWARE.
99    """
100
101==============================================================================
102
103                                 Apache License
104                           Version 2.0, January 2004
105                        http://www.apache.org/licenses/
106
107   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
108
109   1. Definitions.
110
111      "License" shall mean the terms and conditions for use, reproduction,
112      and distribution as defined by Sections 1 through 9 of this document.
113
114      "Licensor" shall mean the copyright owner or entity authorized by
115      the copyright owner that is granting the License.
116
117      "Legal Entity" shall mean the union of the acting entity and all
118      other entities that control, are controlled by, or are under common
119      control with that entity. For the purposes of this definition,
120      "control" means (i) the power, direct or indirect, to cause the
121      direction or management of such entity, whether by contract or
122      otherwise, or (ii) ownership of fifty percent (50%) or more of the
123      outstanding shares, or (iii) beneficial ownership of such entity.
124
125      "You" (or "Your") shall mean an individual or Legal Entity
126      exercising permissions granted by this License.
127
128      "Source" form shall mean the preferred form for making modifications,
129      including but not limited to software source code, documentation
130      source, and configuration files.
131
132      "Object" form shall mean any form resulting from mechanical
133      transformation or translation of a Source form, including but
134      not limited to compiled object code, generated documentation,
135      and conversions to other media types.
136
137      "Work" shall mean the work of authorship, whether in Source or
138      Object form, made available under the License, as indicated by a
139      copyright notice that is included in or attached to the work
140      (an example is provided in the Appendix below).
141
142      "Derivative Works" shall mean any work, whether in Source or Object
143      form, that is based on (or derived from) the Work and for which the
144      editorial revisions, annotations, elaborations, or other modifications
145      represent, as a whole, an original work of authorship. For the purposes
146      of this License, Derivative Works shall not include works that remain
147      separable from, or merely link (or bind by name) to the interfaces of,
148      the Work and Derivative Works thereof.
149
150      "Contribution" shall mean any work of authorship, including
151      the original version of the Work and any modifications or additions
152      to that Work or Derivative Works thereof, that is intentionally
153      submitted to Licensor for inclusion in the Work by the copyright owner
154      or by an individual or Legal Entity authorized to submit on behalf of
155      the copyright owner. For the purposes of this definition, "submitted"
156      means any form of electronic, verbal, or written communication sent
157      to the Licensor or its representatives, including but not limited to
158      communication on electronic mailing lists, source code control systems,
159      and issue tracking systems that are managed by, or on behalf of, the
160      Licensor for the purpose of discussing and improving the Work, but
161      excluding communication that is conspicuously marked or otherwise
162      designated in writing by the copyright owner as "Not a Contribution."
163
164      "Contributor" shall mean Licensor and any individual or Legal Entity
165      on behalf of whom a Contribution has been received by Licensor and
166      subsequently incorporated within the Work.
167
168   2. Grant of Copyright License. Subject to the terms and conditions of
169      this License, each Contributor hereby grants to You a perpetual,
170      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
171      copyright license to reproduce, prepare Derivative Works of,
172      publicly display, publicly perform, sublicense, and distribute the
173      Work and such Derivative Works in Source or Object form.
174
175   3. Grant of Patent License. Subject to the terms and conditions of
176      this License, each Contributor hereby grants to You a perpetual,
177      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
178      (except as stated in this section) patent license to make, have made,
179      use, offer to sell, sell, import, and otherwise transfer the Work,
180      where such license applies only to those patent claims licensable
181      by such Contributor that are necessarily infringed by their
182      Contribution(s) alone or by combination of their Contribution(s)
183      with the Work to which such Contribution(s) was submitted. If You
184      institute patent litigation against any entity (including a
185      cross-claim or counterclaim in a lawsuit) alleging that the Work
186      or a Contribution incorporated within the Work constitutes direct
187      or contributory patent infringement, then any patent licenses
188      granted to You under this License for that Work shall terminate
189      as of the date such litigation is filed.
190
191   4. Redistribution. You may reproduce and distribute copies of the
192      Work or Derivative Works thereof in any medium, with or without
193      modifications, and in Source or Object form, provided that You
194      meet the following conditions:
195
196      (a) You must give any other recipients of the Work or
197          Derivative Works a copy of this License; and
198
199      (b) You must cause any modified files to carry prominent notices
200          stating that You changed the files; and
201
202      (c) You must retain, in the Source form of any Derivative Works
203          that You distribute, all copyright, patent, trademark, and
204          attribution notices from the Source form of the Work,
205          excluding those notices that do not pertain to any part of
206          the Derivative Works; and
207
208      (d) If the Work includes a "NOTICE" text file as part of its
209          distribution, then any Derivative Works that You distribute must
210          include a readable copy of the attribution notices contained
211          within such NOTICE file, excluding those notices that do not
212          pertain to any part of the Derivative Works, in at least one
213          of the following places: within a NOTICE text file distributed
214          as part of the Derivative Works; within the Source form or
215          documentation, if provided along with the Derivative Works; or,
216          within a display generated by the Derivative Works, if and
217          wherever such third-party notices normally appear. The contents
218          of the NOTICE file are for informational purposes only and
219          do not modify the License. You may add Your own attribution
220          notices within Derivative Works that You distribute, alongside
221          or as an addendum to the NOTICE text from the Work, provided
222          that such additional attribution notices cannot be construed
223          as modifying the License.
224
225      You may add Your own copyright statement to Your modifications and
226      may provide additional or different license terms and conditions
227      for use, reproduction, or distribution of Your modifications, or
228      for any such Derivative Works as a whole, provided Your use,
229      reproduction, and distribution of the Work otherwise complies with
230      the conditions stated in this License.
231
232   5. Submission of Contributions. Unless You explicitly state otherwise,
233      any Contribution intentionally submitted for inclusion in the Work
234      by You to the Licensor shall be under the terms and conditions of
235      this License, without any additional terms or conditions.
236      Notwithstanding the above, nothing herein shall supersede or modify
237      the terms of any separate license agreement you may have executed
238      with Licensor regarding such Contributions.
239
240   6. Trademarks. This License does not grant permission to use the trade
241      names, trademarks, service marks, or product names of the Licensor,
242      except as required for reasonable and customary use in describing the
243      origin of the Work and reproducing the content of the NOTICE file.
244
245   7. Disclaimer of Warranty. Unless required by applicable law or
246      agreed to in writing, Licensor provides the Work (and each
247      Contributor provides its Contributions) on an "AS IS" BASIS,
248      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
249      implied, including, without limitation, any warranties or conditions
250      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
251      PARTICULAR PURPOSE. You are solely responsible for determining the
252      appropriateness of using or redistributing the Work and assume any
253      risks associated with Your exercise of permissions under this License.
254
255   8. Limitation of Liability. In no event and under no legal theory,
256      whether in tort (including negligence), contract, or otherwise,
257      unless required by applicable law (such as deliberate and grossly
258      negligent acts) or agreed to in writing, shall any Contributor be
259      liable to You for damages, including any direct, indirect, special,
260      incidental, or consequential damages of any character arising as a
261      result of this License or out of the use or inability to use the
262      Work (including but not limited to damages for loss of goodwill,
263      work stoppage, computer failure or malfunction, or any and all
264      other commercial damages or losses), even if such Contributor
265      has been advised of the possibility of such damages.
266
267   9. Accepting Warranty or Additional Liability. While redistributing
268      the Work or Derivative Works thereof, You may choose to offer,
269      and charge a fee for, acceptance of support, warranty, indemnity,
270      or other liability obligations and/or rights consistent with this
271      License. However, in accepting such obligations, You may act only
272      on Your own behalf and on Your sole responsibility, not on behalf
273      of any other Contributor, and only if You agree to indemnify,
274      defend, and hold each Contributor harmless for any liability
275      incurred by, or claims asserted against, such Contributor by reason
276      of your accepting any such warranty or additional liability.
277
278   END OF TERMS AND CONDITIONS
279
280   APPENDIX: How to apply the Apache License to your work.
281
282      To apply the Apache License to your work, attach the following
283      boilerplate notice, with the fields enclosed by brackets "{}"
284      replaced with your own identifying information. (Don't include
285      the brackets!)  The text should be enclosed in the appropriate
286      comment syntax for the file format. We also recommend that a
287      file or class name and description of purpose be included on the
288      same "printed page" as the copyright notice for easier
289      identification within third-party archives.
290
291   Copyright {yyyy} {name of copyright owner}
292
293   Licensed under the Apache License, Version 2.0 (the "License");
294   you may not use this file except in compliance with the License.
295   You may obtain a copy of the License at
296
297       http://www.apache.org/licenses/LICENSE-2.0
298
299   Unless required by applicable law or agreed to in writing, software
300   distributed under the License is distributed on an "AS IS" BASIS,
301   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
302   See the License for the specific language governing permissions and
303   limitations under the License.
304
305==============================================================================
306
307Simple DirectMedia Layer
308  Copyright (C) 1997-2014 Sam Lantinga <[email protected]>
309
310  This software is provided 'as-is', without any express or implied
311  warranty.  In no event will the authors be held liable for any damages
312  arising from the use of this software.
313
314  Permission is granted to anyone to use this software for any purpose,
315  including commercial applications, and to alter it and redistribute it
316  freely, subject to the following restrictions:
317
318  1. The origin of this software must not be misrepresented; you must not
319     claim that you wrote the original software. If you use this software
320     in a product, an acknowledgment in the product documentation would be
321     appreciated but is not required.
322  2. Altered source versions must be plainly marked as such, and must not be
323     misrepresented as being the original software.
324  3. This notice may not be removed or altered from any source distribution.
325
326==============================================================================
327
328Files: tools/filelock.py
329
330This is free and unencumbered software released into the public domain.
331
332Anyone is free to copy, modify, publish, use, compile, sell, or
333distribute this software, either in source code form or as a compiled
334binary, for any purpose, commercial or non-commercial, and by any
335means.
336
337In jurisdictions that recognize copyright laws, the author or authors
338of this software dedicate any and all copyright interest in the
339software to the public domain. We make this dedication for the benefit
340of the public at large and to the detriment of our heirs and
341successors. We intend this dedication to be an overt act of
342relinquishment in perpetuity of all present and future rights to this
343software under copyright law.
344
345THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
346EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
347MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
348IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
349OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
350ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
351OTHER DEALINGS IN THE SOFTWARE.
352
353For more information, please refer to <http://unlicense.org>
354
355==============================================================================
356
357Files: tools/eliminator/node_modules/uglify-js/... tools/node_modules/terser/...
358
359  Distributed under the BSD license:
360
361    Copyright 2012 (c) Mihai Bazon <[email protected]>
362
363    Redistribution and use in source and binary forms, with or without
364    modification, are permitted provided that the following conditions
365    are met:
366
367        * Redistributions of source code must retain the above
368          copyright notice, this list of conditions and the following
369          disclaimer.
370
371        * Redistributions in binary form must reproduce the above
372          copyright notice, this list of conditions and the following
373          disclaimer in the documentation and/or other materials
374          provided with the distribution.
375
376    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY
377    EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
378    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
379    PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE
380    LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
381    OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
382    PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
383    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
384    THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
385    TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
386    THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
387    SUCH DAMAGE.
388
389==============================================================================
390
391Files: system/include/webgpu/webgpu.h
392
393BSD 3-Clause License
394
395Copyright (c) 2019, "WebGPU native" developers
396All rights reserved.
397
398Redistribution and use in source and binary forms, with or without
399modification, are permitted provided that the following conditions are met:
400
4011. Redistributions of source code must retain the above copyright notice, this
402   list of conditions and the following disclaimer.
403
4042. Redistributions in binary form must reproduce the above copyright notice,
405   this list of conditions and the following disclaimer in the documentation
406   and/or other materials provided with the distribution.
407
4083. Neither the name of the copyright holder nor the names of its
409   contributors may be used to endorse or promote products derived from
410   this software without specific prior written permission.
411
412THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
413AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
414IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
415DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
416FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
417DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
418SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
419CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
420OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
421OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
422
423==============================================================================
424
425Copyright (c) 2005-2011 David Schultz <[email protected]>
426All rights reserved.
427
428Redistribution and use in source and binary forms, with or without
429modification, are permitted provided that the following conditions
430are met:
4311. Redistributions of source code must retain the above copyright
432   notice, this list of conditions and the following disclaimer.
4332. Redistributions in binary form must reproduce the above copyright
434   notice, this list of conditions and the following disclaimer in the
435   documentation and/or other materials provided with the distribution.
436
437THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
438ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
439IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
440ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
441FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
442DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
443OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
444HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
445LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
446OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
447SUCH DAMAGE.
448