1*de1e4e89SAndroid Build Coastguard Worker GNU GENERAL PUBLIC LICENSE 2*de1e4e89SAndroid Build Coastguard Worker Version 2, June 1991 3*de1e4e89SAndroid Build Coastguard Worker 4*de1e4e89SAndroid Build Coastguard Worker Copyright (C) 1989, 1991 Free Software Foundation, Inc. 5*de1e4e89SAndroid Build Coastguard Worker 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 6*de1e4e89SAndroid Build Coastguard Worker Everyone is permitted to copy and distribute verbatim copies 7*de1e4e89SAndroid Build Coastguard Worker of this license document, but changing it is not allowed. 8*de1e4e89SAndroid Build Coastguard Worker 9*de1e4e89SAndroid Build Coastguard Worker Preamble 10*de1e4e89SAndroid Build Coastguard Worker 11*de1e4e89SAndroid Build Coastguard Worker The licenses for most software are designed to take away your 12*de1e4e89SAndroid Build Coastguard Workerfreedom to share and change it. By contrast, the GNU General Public 13*de1e4e89SAndroid Build Coastguard WorkerLicense is intended to guarantee your freedom to share and change free 14*de1e4e89SAndroid Build Coastguard Workersoftware--to make sure the software is free for all its users. This 15*de1e4e89SAndroid Build Coastguard WorkerGeneral Public License applies to most of the Free Software 16*de1e4e89SAndroid Build Coastguard WorkerFoundation's software and to any other program whose authors commit to 17*de1e4e89SAndroid Build Coastguard Workerusing it. (Some other Free Software Foundation software is covered by 18*de1e4e89SAndroid Build Coastguard Workerthe GNU Library General Public License instead.) You can apply it to 19*de1e4e89SAndroid Build Coastguard Workeryour programs, too. 20*de1e4e89SAndroid Build Coastguard Worker 21*de1e4e89SAndroid Build Coastguard Worker When we speak of free software, we are referring to freedom, not 22*de1e4e89SAndroid Build Coastguard Workerprice. Our General Public Licenses are designed to make sure that you 23*de1e4e89SAndroid Build Coastguard Workerhave the freedom to distribute copies of free software (and charge for 24*de1e4e89SAndroid Build Coastguard Workerthis service if you wish), that you receive source code or can get it 25*de1e4e89SAndroid Build Coastguard Workerif you want it, that you can change the software or use pieces of it 26*de1e4e89SAndroid Build Coastguard Workerin new free programs; and that you know you can do these things. 27*de1e4e89SAndroid Build Coastguard Worker 28*de1e4e89SAndroid Build Coastguard Worker To protect your rights, we need to make restrictions that forbid 29*de1e4e89SAndroid Build Coastguard Workeranyone to deny you these rights or to ask you to surrender the rights. 30*de1e4e89SAndroid Build Coastguard WorkerThese restrictions translate to certain responsibilities for you if you 31*de1e4e89SAndroid Build Coastguard Workerdistribute copies of the software, or if you modify it. 32*de1e4e89SAndroid Build Coastguard Worker 33*de1e4e89SAndroid Build Coastguard Worker For example, if you distribute copies of such a program, whether 34*de1e4e89SAndroid Build Coastguard Workergratis or for a fee, you must give the recipients all the rights that 35*de1e4e89SAndroid Build Coastguard Workeryou have. You must make sure that they, too, receive or can get the 36*de1e4e89SAndroid Build Coastguard Workersource code. And you must show them these terms so they know their 37*de1e4e89SAndroid Build Coastguard Workerrights. 38*de1e4e89SAndroid Build Coastguard Worker 39*de1e4e89SAndroid Build Coastguard Worker We protect your rights with two steps: (1) copyright the software, and 40*de1e4e89SAndroid Build Coastguard Worker(2) offer you this license which gives you legal permission to copy, 41*de1e4e89SAndroid Build Coastguard Workerdistribute and/or modify the software. 42*de1e4e89SAndroid Build Coastguard Worker 43*de1e4e89SAndroid Build Coastguard Worker Also, for each author's protection and ours, we want to make certain 44*de1e4e89SAndroid Build Coastguard Workerthat everyone understands that there is no warranty for this free 45*de1e4e89SAndroid Build Coastguard Workersoftware. If the software is modified by someone else and passed on, we 46*de1e4e89SAndroid Build Coastguard Workerwant its recipients to know that what they have is not the original, so 47*de1e4e89SAndroid Build Coastguard Workerthat any problems introduced by others will not reflect on the original 48*de1e4e89SAndroid Build Coastguard Workerauthors' reputations. 49*de1e4e89SAndroid Build Coastguard Worker 50*de1e4e89SAndroid Build Coastguard Worker Finally, any free program is threatened constantly by software 51*de1e4e89SAndroid Build Coastguard Workerpatents. We wish to avoid the danger that redistributors of a free 52*de1e4e89SAndroid Build Coastguard Workerprogram will individually obtain patent licenses, in effect making the 53*de1e4e89SAndroid Build Coastguard Workerprogram proprietary. To prevent this, we have made it clear that any 54*de1e4e89SAndroid Build Coastguard Workerpatent must be licensed for everyone's free use or not licensed at all. 55*de1e4e89SAndroid Build Coastguard Worker 56*de1e4e89SAndroid Build Coastguard Worker The precise terms and conditions for copying, distribution and 57*de1e4e89SAndroid Build Coastguard Workermodification follow. 58*de1e4e89SAndroid Build Coastguard Worker 59*de1e4e89SAndroid Build Coastguard Worker GNU GENERAL PUBLIC LICENSE 60*de1e4e89SAndroid Build Coastguard Worker TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61*de1e4e89SAndroid Build Coastguard Worker 62*de1e4e89SAndroid Build Coastguard Worker 0. This License applies to any program or other work which contains 63*de1e4e89SAndroid Build Coastguard Workera notice placed by the copyright holder saying it may be distributed 64*de1e4e89SAndroid Build Coastguard Workerunder the terms of this General Public License. The "Program", below, 65*de1e4e89SAndroid Build Coastguard Workerrefers to any such program or work, and a "work based on the Program" 66*de1e4e89SAndroid Build Coastguard Workermeans either the Program or any derivative work under copyright law: 67*de1e4e89SAndroid Build Coastguard Workerthat is to say, a work containing the Program or a portion of it, 68*de1e4e89SAndroid Build Coastguard Workereither verbatim or with modifications and/or translated into another 69*de1e4e89SAndroid Build Coastguard Workerlanguage. (Hereinafter, translation is included without limitation in 70*de1e4e89SAndroid Build Coastguard Workerthe term "modification".) Each licensee is addressed as "you". 71*de1e4e89SAndroid Build Coastguard Worker 72*de1e4e89SAndroid Build Coastguard WorkerActivities other than copying, distribution and modification are not 73*de1e4e89SAndroid Build Coastguard Workercovered by this License; they are outside its scope. The act of 74*de1e4e89SAndroid Build Coastguard Workerrunning the Program is not restricted, and the output from the Program 75*de1e4e89SAndroid Build Coastguard Workeris covered only if its contents constitute a work based on the 76*de1e4e89SAndroid Build Coastguard WorkerProgram (independent of having been made by running the Program). 77*de1e4e89SAndroid Build Coastguard WorkerWhether that is true depends on what the Program does. 78*de1e4e89SAndroid Build Coastguard Worker 79*de1e4e89SAndroid Build Coastguard Worker 1. You may copy and distribute verbatim copies of the Program's 80*de1e4e89SAndroid Build Coastguard Workersource code as you receive it, in any medium, provided that you 81*de1e4e89SAndroid Build Coastguard Workerconspicuously and appropriately publish on each copy an appropriate 82*de1e4e89SAndroid Build Coastguard Workercopyright notice and disclaimer of warranty; keep intact all the 83*de1e4e89SAndroid Build Coastguard Workernotices that refer to this License and to the absence of any warranty; 84*de1e4e89SAndroid Build Coastguard Workerand give any other recipients of the Program a copy of this License 85*de1e4e89SAndroid Build Coastguard Workeralong with the Program. 86*de1e4e89SAndroid Build Coastguard Worker 87*de1e4e89SAndroid Build Coastguard WorkerYou may charge a fee for the physical act of transferring a copy, and 88*de1e4e89SAndroid Build Coastguard Workeryou may at your option offer warranty protection in exchange for a fee. 89*de1e4e89SAndroid Build Coastguard Worker 90*de1e4e89SAndroid Build Coastguard Worker 2. You may modify your copy or copies of the Program or any portion 91*de1e4e89SAndroid Build Coastguard Workerof it, thus forming a work based on the Program, and copy and 92*de1e4e89SAndroid Build Coastguard Workerdistribute such modifications or work under the terms of Section 1 93*de1e4e89SAndroid Build Coastguard Workerabove, provided that you also meet all of these conditions: 94*de1e4e89SAndroid Build Coastguard Worker 95*de1e4e89SAndroid Build Coastguard Worker a) You must cause the modified files to carry prominent notices 96*de1e4e89SAndroid Build Coastguard Worker stating that you changed the files and the date of any change. 97*de1e4e89SAndroid Build Coastguard Worker 98*de1e4e89SAndroid Build Coastguard Worker b) You must cause any work that you distribute or publish, that in 99*de1e4e89SAndroid Build Coastguard Worker whole or in part contains or is derived from the Program or any 100*de1e4e89SAndroid Build Coastguard Worker part thereof, to be licensed as a whole at no charge to all third 101*de1e4e89SAndroid Build Coastguard Worker parties under the terms of this License. 102*de1e4e89SAndroid Build Coastguard Worker 103*de1e4e89SAndroid Build Coastguard Worker c) If the modified program normally reads commands interactively 104*de1e4e89SAndroid Build Coastguard Worker when run, you must cause it, when started running for such 105*de1e4e89SAndroid Build Coastguard Worker interactive use in the most ordinary way, to print or display an 106*de1e4e89SAndroid Build Coastguard Worker announcement including an appropriate copyright notice and a 107*de1e4e89SAndroid Build Coastguard Worker notice that there is no warranty (or else, saying that you provide 108*de1e4e89SAndroid Build Coastguard Worker a warranty) and that users may redistribute the program under 109*de1e4e89SAndroid Build Coastguard Worker these conditions, and telling the user how to view a copy of this 110*de1e4e89SAndroid Build Coastguard Worker License. (Exception: if the Program itself is interactive but 111*de1e4e89SAndroid Build Coastguard Worker does not normally print such an announcement, your work based on 112*de1e4e89SAndroid Build Coastguard Worker the Program is not required to print an announcement.) 113*de1e4e89SAndroid Build Coastguard Worker 114*de1e4e89SAndroid Build Coastguard WorkerThese requirements apply to the modified work as a whole. If 115*de1e4e89SAndroid Build Coastguard Workeridentifiable sections of that work are not derived from the Program, 116*de1e4e89SAndroid Build Coastguard Workerand can be reasonably considered independent and separate works in 117*de1e4e89SAndroid Build Coastguard Workerthemselves, then this License, and its terms, do not apply to those 118*de1e4e89SAndroid Build Coastguard Workersections when you distribute them as separate works. But when you 119*de1e4e89SAndroid Build Coastguard Workerdistribute the same sections as part of a whole which is a work based 120*de1e4e89SAndroid Build Coastguard Workeron the Program, the distribution of the whole must be on the terms of 121*de1e4e89SAndroid Build Coastguard Workerthis License, whose permissions for other licensees extend to the 122*de1e4e89SAndroid Build Coastguard Workerentire whole, and thus to each and every part regardless of who wrote it. 123*de1e4e89SAndroid Build Coastguard Worker 124*de1e4e89SAndroid Build Coastguard WorkerThus, it is not the intent of this section to claim rights or contest 125*de1e4e89SAndroid Build Coastguard Workeryour rights to work written entirely by you; rather, the intent is to 126*de1e4e89SAndroid Build Coastguard Workerexercise the right to control the distribution of derivative or 127*de1e4e89SAndroid Build Coastguard Workercollective works based on the Program. 128*de1e4e89SAndroid Build Coastguard Worker 129*de1e4e89SAndroid Build Coastguard WorkerIn addition, mere aggregation of another work not based on the Program 130*de1e4e89SAndroid Build Coastguard Workerwith the Program (or with a work based on the Program) on a volume of 131*de1e4e89SAndroid Build Coastguard Workera storage or distribution medium does not bring the other work under 132*de1e4e89SAndroid Build Coastguard Workerthe scope of this License. 133*de1e4e89SAndroid Build Coastguard Worker 134*de1e4e89SAndroid Build Coastguard Worker 3. You may copy and distribute the Program (or a work based on it, 135*de1e4e89SAndroid Build Coastguard Workerunder Section 2) in object code or executable form under the terms of 136*de1e4e89SAndroid Build Coastguard WorkerSections 1 and 2 above provided that you also do one of the following: 137*de1e4e89SAndroid Build Coastguard Worker 138*de1e4e89SAndroid Build Coastguard Worker a) Accompany it with the complete corresponding machine-readable 139*de1e4e89SAndroid Build Coastguard Worker source code, which must be distributed under the terms of Sections 140*de1e4e89SAndroid Build Coastguard Worker 1 and 2 above on a medium customarily used for software interchange; or, 141*de1e4e89SAndroid Build Coastguard Worker 142*de1e4e89SAndroid Build Coastguard Worker b) Accompany it with a written offer, valid for at least three 143*de1e4e89SAndroid Build Coastguard Worker years, to give any third party, for a charge no more than your 144*de1e4e89SAndroid Build Coastguard Worker cost of physically performing source distribution, a complete 145*de1e4e89SAndroid Build Coastguard Worker machine-readable copy of the corresponding source code, to be 146*de1e4e89SAndroid Build Coastguard Worker distributed under the terms of Sections 1 and 2 above on a medium 147*de1e4e89SAndroid Build Coastguard Worker customarily used for software interchange; or, 148*de1e4e89SAndroid Build Coastguard Worker 149*de1e4e89SAndroid Build Coastguard Worker c) Accompany it with the information you received as to the offer 150*de1e4e89SAndroid Build Coastguard Worker to distribute corresponding source code. (This alternative is 151*de1e4e89SAndroid Build Coastguard Worker allowed only for noncommercial distribution and only if you 152*de1e4e89SAndroid Build Coastguard Worker received the program in object code or executable form with such 153*de1e4e89SAndroid Build Coastguard Worker an offer, in accord with Subsection b above.) 154*de1e4e89SAndroid Build Coastguard Worker 155*de1e4e89SAndroid Build Coastguard WorkerThe source code for a work means the preferred form of the work for 156*de1e4e89SAndroid Build Coastguard Workermaking modifications to it. For an executable work, complete source 157*de1e4e89SAndroid Build Coastguard Workercode means all the source code for all modules it contains, plus any 158*de1e4e89SAndroid Build Coastguard Workerassociated interface definition files, plus the scripts used to 159*de1e4e89SAndroid Build Coastguard Workercontrol compilation and installation of the executable. However, as a 160*de1e4e89SAndroid Build Coastguard Workerspecial exception, the source code distributed need not include 161*de1e4e89SAndroid Build Coastguard Workeranything that is normally distributed (in either source or binary 162*de1e4e89SAndroid Build Coastguard Workerform) with the major components (compiler, kernel, and so on) of the 163*de1e4e89SAndroid Build Coastguard Workeroperating system on which the executable runs, unless that component 164*de1e4e89SAndroid Build Coastguard Workeritself accompanies the executable. 165*de1e4e89SAndroid Build Coastguard Worker 166*de1e4e89SAndroid Build Coastguard WorkerIf distribution of executable or object code is made by offering 167*de1e4e89SAndroid Build Coastguard Workeraccess to copy from a designated place, then offering equivalent 168*de1e4e89SAndroid Build Coastguard Workeraccess to copy the source code from the same place counts as 169*de1e4e89SAndroid Build Coastguard Workerdistribution of the source code, even though third parties are not 170*de1e4e89SAndroid Build Coastguard Workercompelled to copy the source along with the object code. 171*de1e4e89SAndroid Build Coastguard Worker 172*de1e4e89SAndroid Build Coastguard Worker 4. You may not copy, modify, sublicense, or distribute the Program 173*de1e4e89SAndroid Build Coastguard Workerexcept as expressly provided under this License. Any attempt 174*de1e4e89SAndroid Build Coastguard Workerotherwise to copy, modify, sublicense or distribute the Program is 175*de1e4e89SAndroid Build Coastguard Workervoid, and will automatically terminate your rights under this License. 176*de1e4e89SAndroid Build Coastguard WorkerHowever, parties who have received copies, or rights, from you under 177*de1e4e89SAndroid Build Coastguard Workerthis License will not have their licenses terminated so long as such 178*de1e4e89SAndroid Build Coastguard Workerparties remain in full compliance. 179*de1e4e89SAndroid Build Coastguard Worker 180*de1e4e89SAndroid Build Coastguard Worker 5. You are not required to accept this License, since you have not 181*de1e4e89SAndroid Build Coastguard Workersigned it. However, nothing else grants you permission to modify or 182*de1e4e89SAndroid Build Coastguard Workerdistribute the Program or its derivative works. These actions are 183*de1e4e89SAndroid Build Coastguard Workerprohibited by law if you do not accept this License. Therefore, by 184*de1e4e89SAndroid Build Coastguard Workermodifying or distributing the Program (or any work based on the 185*de1e4e89SAndroid Build Coastguard WorkerProgram), you indicate your acceptance of this License to do so, and 186*de1e4e89SAndroid Build Coastguard Workerall its terms and conditions for copying, distributing or modifying 187*de1e4e89SAndroid Build Coastguard Workerthe Program or works based on it. 188*de1e4e89SAndroid Build Coastguard Worker 189*de1e4e89SAndroid Build Coastguard Worker 6. Each time you redistribute the Program (or any work based on the 190*de1e4e89SAndroid Build Coastguard WorkerProgram), the recipient automatically receives a license from the 191*de1e4e89SAndroid Build Coastguard Workeroriginal licensor to copy, distribute or modify the Program subject to 192*de1e4e89SAndroid Build Coastguard Workerthese terms and conditions. You may not impose any further 193*de1e4e89SAndroid Build Coastguard Workerrestrictions on the recipients' exercise of the rights granted herein. 194*de1e4e89SAndroid Build Coastguard WorkerYou are not responsible for enforcing compliance by third parties to 195*de1e4e89SAndroid Build Coastguard Workerthis License. 196*de1e4e89SAndroid Build Coastguard Worker 197*de1e4e89SAndroid Build Coastguard Worker 7. If, as a consequence of a court judgment or allegation of patent 198*de1e4e89SAndroid Build Coastguard Workerinfringement or for any other reason (not limited to patent issues), 199*de1e4e89SAndroid Build Coastguard Workerconditions are imposed on you (whether by court order, agreement or 200*de1e4e89SAndroid Build Coastguard Workerotherwise) that contradict the conditions of this License, they do not 201*de1e4e89SAndroid Build Coastguard Workerexcuse you from the conditions of this License. If you cannot 202*de1e4e89SAndroid Build Coastguard Workerdistribute so as to satisfy simultaneously your obligations under this 203*de1e4e89SAndroid Build Coastguard WorkerLicense and any other pertinent obligations, then as a consequence you 204*de1e4e89SAndroid Build Coastguard Workermay not distribute the Program at all. For example, if a patent 205*de1e4e89SAndroid Build Coastguard Workerlicense would not permit royalty-free redistribution of the Program by 206*de1e4e89SAndroid Build Coastguard Workerall those who receive copies directly or indirectly through you, then 207*de1e4e89SAndroid Build Coastguard Workerthe only way you could satisfy both it and this License would be to 208*de1e4e89SAndroid Build Coastguard Workerrefrain entirely from distribution of the Program. 209*de1e4e89SAndroid Build Coastguard Worker 210*de1e4e89SAndroid Build Coastguard WorkerIf any portion of this section is held invalid or unenforceable under 211*de1e4e89SAndroid Build Coastguard Workerany particular circumstance, the balance of the section is intended to 212*de1e4e89SAndroid Build Coastguard Workerapply and the section as a whole is intended to apply in other 213*de1e4e89SAndroid Build Coastguard Workercircumstances. 214*de1e4e89SAndroid Build Coastguard Worker 215*de1e4e89SAndroid Build Coastguard WorkerIt is not the purpose of this section to induce you to infringe any 216*de1e4e89SAndroid Build Coastguard Workerpatents or other property right claims or to contest validity of any 217*de1e4e89SAndroid Build Coastguard Workersuch claims; this section has the sole purpose of protecting the 218*de1e4e89SAndroid Build Coastguard Workerintegrity of the free software distribution system, which is 219*de1e4e89SAndroid Build Coastguard Workerimplemented by public license practices. Many people have made 220*de1e4e89SAndroid Build Coastguard Workergenerous contributions to the wide range of software distributed 221*de1e4e89SAndroid Build Coastguard Workerthrough that system in reliance on consistent application of that 222*de1e4e89SAndroid Build Coastguard Workersystem; it is up to the author/donor to decide if he or she is willing 223*de1e4e89SAndroid Build Coastguard Workerto distribute software through any other system and a licensee cannot 224*de1e4e89SAndroid Build Coastguard Workerimpose that choice. 225*de1e4e89SAndroid Build Coastguard Worker 226*de1e4e89SAndroid Build Coastguard WorkerThis section is intended to make thoroughly clear what is believed to 227*de1e4e89SAndroid Build Coastguard Workerbe a consequence of the rest of this License. 228*de1e4e89SAndroid Build Coastguard Worker 229*de1e4e89SAndroid Build Coastguard Worker 8. If the distribution and/or use of the Program is restricted in 230*de1e4e89SAndroid Build Coastguard Workercertain countries either by patents or by copyrighted interfaces, the 231*de1e4e89SAndroid Build Coastguard Workeroriginal copyright holder who places the Program under this License 232*de1e4e89SAndroid Build Coastguard Workermay add an explicit geographical distribution limitation excluding 233*de1e4e89SAndroid Build Coastguard Workerthose countries, so that distribution is permitted only in or among 234*de1e4e89SAndroid Build Coastguard Workercountries not thus excluded. In such case, this License incorporates 235*de1e4e89SAndroid Build Coastguard Workerthe limitation as if written in the body of this License. 236*de1e4e89SAndroid Build Coastguard Worker 237*de1e4e89SAndroid Build Coastguard Worker 9. The Free Software Foundation may publish revised and/or new versions 238*de1e4e89SAndroid Build Coastguard Workerof the General Public License from time to time. Such new versions will 239*de1e4e89SAndroid Build Coastguard Workerbe similar in spirit to the present version, but may differ in detail to 240*de1e4e89SAndroid Build Coastguard Workeraddress new problems or concerns. 241*de1e4e89SAndroid Build Coastguard Worker 242*de1e4e89SAndroid Build Coastguard WorkerEach version is given a distinguishing version number. If the Program 243*de1e4e89SAndroid Build Coastguard Workerspecifies a version number of this License which applies to it and "any 244*de1e4e89SAndroid Build Coastguard Workerlater version", you have the option of following the terms and conditions 245*de1e4e89SAndroid Build Coastguard Workereither of that version or of any later version published by the Free 246*de1e4e89SAndroid Build Coastguard WorkerSoftware Foundation. If the Program does not specify a version number of 247*de1e4e89SAndroid Build Coastguard Workerthis License, you may choose any version ever published by the Free Software 248*de1e4e89SAndroid Build Coastguard WorkerFoundation. 249*de1e4e89SAndroid Build Coastguard Worker 250*de1e4e89SAndroid Build Coastguard Worker 10. If you wish to incorporate parts of the Program into other free 251*de1e4e89SAndroid Build Coastguard Workerprograms whose distribution conditions are different, write to the author 252*de1e4e89SAndroid Build Coastguard Workerto ask for permission. For software which is copyrighted by the Free 253*de1e4e89SAndroid Build Coastguard WorkerSoftware Foundation, write to the Free Software Foundation; we sometimes 254*de1e4e89SAndroid Build Coastguard Workermake exceptions for this. Our decision will be guided by the two goals 255*de1e4e89SAndroid Build Coastguard Workerof preserving the free status of all derivatives of our free software and 256*de1e4e89SAndroid Build Coastguard Workerof promoting the sharing and reuse of software generally. 257*de1e4e89SAndroid Build Coastguard Worker 258*de1e4e89SAndroid Build Coastguard Worker NO WARRANTY 259*de1e4e89SAndroid Build Coastguard Worker 260*de1e4e89SAndroid Build Coastguard Worker 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261*de1e4e89SAndroid Build Coastguard WorkerFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262*de1e4e89SAndroid Build Coastguard WorkerOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263*de1e4e89SAndroid Build Coastguard WorkerPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264*de1e4e89SAndroid Build Coastguard WorkerOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265*de1e4e89SAndroid Build Coastguard WorkerMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266*de1e4e89SAndroid Build Coastguard WorkerTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267*de1e4e89SAndroid Build Coastguard WorkerPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268*de1e4e89SAndroid Build Coastguard WorkerREPAIR OR CORRECTION. 269*de1e4e89SAndroid Build Coastguard Worker 270*de1e4e89SAndroid Build Coastguard Worker 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271*de1e4e89SAndroid Build Coastguard WorkerWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272*de1e4e89SAndroid Build Coastguard WorkerREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273*de1e4e89SAndroid Build Coastguard WorkerINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274*de1e4e89SAndroid Build Coastguard WorkerOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275*de1e4e89SAndroid Build Coastguard WorkerTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276*de1e4e89SAndroid Build Coastguard WorkerYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277*de1e4e89SAndroid Build Coastguard WorkerPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278*de1e4e89SAndroid Build Coastguard WorkerPOSSIBILITY OF SUCH DAMAGES. 279*de1e4e89SAndroid Build Coastguard Worker 280*de1e4e89SAndroid Build Coastguard Worker END OF TERMS AND CONDITIONS 281*de1e4e89SAndroid Build Coastguard Worker 282*de1e4e89SAndroid Build Coastguard Worker How to Apply These Terms to Your New Programs 283*de1e4e89SAndroid Build Coastguard Worker 284*de1e4e89SAndroid Build Coastguard Worker If you develop a new program, and you want it to be of the greatest 285*de1e4e89SAndroid Build Coastguard Workerpossible use to the public, the best way to achieve this is to make it 286*de1e4e89SAndroid Build Coastguard Workerfree software which everyone can redistribute and change under these terms. 287*de1e4e89SAndroid Build Coastguard Worker 288*de1e4e89SAndroid Build Coastguard Worker To do so, attach the following notices to the program. It is safest 289*de1e4e89SAndroid Build Coastguard Workerto attach them to the start of each source file to most effectively 290*de1e4e89SAndroid Build Coastguard Workerconvey the exclusion of warranty; and each file should have at least 291*de1e4e89SAndroid Build Coastguard Workerthe "copyright" line and a pointer to where the full notice is found. 292*de1e4e89SAndroid Build Coastguard Worker 293*de1e4e89SAndroid Build Coastguard Worker <one line to give the program's name and a brief idea of what it does.> 294*de1e4e89SAndroid Build Coastguard Worker Copyright (C) <year> <name of author> 295*de1e4e89SAndroid Build Coastguard Worker 296*de1e4e89SAndroid Build Coastguard Worker This program is free software; you can redistribute it and/or modify 297*de1e4e89SAndroid Build Coastguard Worker it under the terms of the GNU General Public License as published by 298*de1e4e89SAndroid Build Coastguard Worker the Free Software Foundation; either version 2 of the License, or 299*de1e4e89SAndroid Build Coastguard Worker (at your option) any later version. 300*de1e4e89SAndroid Build Coastguard Worker 301*de1e4e89SAndroid Build Coastguard Worker This program is distributed in the hope that it will be useful, 302*de1e4e89SAndroid Build Coastguard Worker but WITHOUT ANY WARRANTY; without even the implied warranty of 303*de1e4e89SAndroid Build Coastguard Worker MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304*de1e4e89SAndroid Build Coastguard Worker GNU General Public License for more details. 305*de1e4e89SAndroid Build Coastguard Worker 306*de1e4e89SAndroid Build Coastguard Worker You should have received a copy of the GNU General Public License 307*de1e4e89SAndroid Build Coastguard Worker along with this program; if not, write to the Free Software 308*de1e4e89SAndroid Build Coastguard Worker Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 309*de1e4e89SAndroid Build Coastguard Worker 310*de1e4e89SAndroid Build Coastguard Worker 311*de1e4e89SAndroid Build Coastguard WorkerAlso add information on how to contact you by electronic and paper mail. 312*de1e4e89SAndroid Build Coastguard Worker 313*de1e4e89SAndroid Build Coastguard WorkerIf the program is interactive, make it output a short notice like this 314*de1e4e89SAndroid Build Coastguard Workerwhen it starts in an interactive mode: 315*de1e4e89SAndroid Build Coastguard Worker 316*de1e4e89SAndroid Build Coastguard Worker Gnomovision version 69, Copyright (C) year name of author 317*de1e4e89SAndroid Build Coastguard Worker Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 318*de1e4e89SAndroid Build Coastguard Worker This is free software, and you are welcome to redistribute it 319*de1e4e89SAndroid Build Coastguard Worker under certain conditions; type `show c' for details. 320*de1e4e89SAndroid Build Coastguard Worker 321*de1e4e89SAndroid Build Coastguard WorkerThe hypothetical commands `show w' and `show c' should show the appropriate 322*de1e4e89SAndroid Build Coastguard Workerparts of the General Public License. Of course, the commands you use may 323*de1e4e89SAndroid Build Coastguard Workerbe called something other than `show w' and `show c'; they could even be 324*de1e4e89SAndroid Build Coastguard Workermouse-clicks or menu items--whatever suits your program. 325*de1e4e89SAndroid Build Coastguard Worker 326*de1e4e89SAndroid Build Coastguard WorkerYou should also get your employer (if you work as a programmer) or your 327*de1e4e89SAndroid Build Coastguard Workerschool, if any, to sign a "copyright disclaimer" for the program, if 328*de1e4e89SAndroid Build Coastguard Workernecessary. Here is a sample; alter the names: 329*de1e4e89SAndroid Build Coastguard Worker 330*de1e4e89SAndroid Build Coastguard Worker Yoyodyne, Inc., hereby disclaims all copyright interest in the program 331*de1e4e89SAndroid Build Coastguard Worker `Gnomovision' (which makes passes at compilers) written by James Hacker. 332*de1e4e89SAndroid Build Coastguard Worker 333*de1e4e89SAndroid Build Coastguard Worker <signature of Ty Coon>, 1 April 1989 334*de1e4e89SAndroid Build Coastguard Worker Ty Coon, President of Vice 335*de1e4e89SAndroid Build Coastguard Worker 336*de1e4e89SAndroid Build Coastguard WorkerThis General Public License does not permit incorporating your program into 337*de1e4e89SAndroid Build Coastguard Workerproprietary programs. If your program is a subroutine library, you may 338*de1e4e89SAndroid Build Coastguard Workerconsider it more useful to permit linking proprietary applications with the 339*de1e4e89SAndroid Build Coastguard Workerlibrary. If this is what you want to do, use the GNU Library General 340*de1e4e89SAndroid Build Coastguard WorkerPublic License instead of this License. 341