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