xref: /aosp_15_r20/external/licenseclassifier/licenses/MS-PL.txt (revision 46c4c49da23cae783fa41bf46525a6505638499a)
1Microsoft Public License (Ms-PL)
2
3This license governs use of the accompanying software. If you use the
4software, you accept this license. If you do not accept the license, do not
5use the software.
6
71. Definitions
8The terms "reproduce," "reproduction," "derivative works," and "distribution"
9have the same meaning here as under U.S. copyright law. A "contribution" is
10the original software, or any additions or changes to the software. A
11"contributor" is any person that distributes its contribution under this
12license. "Licensed patents" are a contributor's patent claims that read
13directly on its contribution.
14
152. Grant of Rights
16(A) Copyright Grant- Subject to the terms of this license, including the
17license conditions and limitations in section 3, each contributor grants you a
18non-exclusive, worldwide, royalty-free copyright license to reproduce its
19contribution, prepare derivative works of its contribution, and distribute its
20contribution or any derivative works that you create.
21
22(B) Patent Grant- Subject to the terms of this license, including the license
23conditions and limitations in section 3, each contributor grants you a non-
24exclusive, worldwide, royalty-free license under its licensed patents to make,
25have made, use, sell, offer for sale, import, and/or otherwise dispose of its
26contribution in the software or derivative works of the contribution in the
27software.
28
293. Conditions and Limitations
30(A) No Trademark License- This license does not grant you rights to use any
31contributors' name, logo, or trademarks.
32
33(B) If you bring a patent claim against any contributor over patents that you
34claim are infringed by the software, your patent license from such contributor
35to the software ends automatically.
36
37(C) If you distribute any portion of the software, you must retain all
38copyright, patent, trademark, and attribution notices that are present in the
39software.
40
41(D) If you distribute any portion of the software in source code form, you may
42do so only under this license by including a complete copy of this license
43with your distribution. If you distribute any portion of the software in
44compiled or object code form, you may only do so under a license that complies
45with this license.
46
47(E) The software is licensed "as-is." You bear the risk of using it. The
48contributors give no express warranties, guarantees, or conditions. You may
49have additional consumer rights under your local laws which this license
50cannot change. To the extent permitted under your local laws, the contributors
51exclude the implied warranties of merchantability, fitness for a particular
52purpose and non-infringement.
53
54