1This license applies to all parts of Protocol Buffers except the following: 2 3 - Atomicops support for generic gcc, located in 4 src/google/protobuf/stubs/atomicops_internals_generic_gcc.h. 5 This file is copyrighted by Red Hat Inc. 6 7 - Atomicops support for AIX/POWER, located in 8 src/google/protobuf/stubs/atomicops_internals_power.h. 9 This file is copyrighted by Bloomberg Finance LP. 10 11Copyright 2014, Google Inc. All rights reserved. 12 13Redistribution and use in source and binary forms, with or without 14modification, are permitted provided that the following conditions are 15met: 16 17 * Redistributions of source code must retain the above copyright 18notice, this list of conditions and the following disclaimer. 19 * Redistributions in binary form must reproduce the above 20copyright notice, this list of conditions and the following disclaimer 21in the documentation and/or other materials provided with the 22distribution. 23 * Neither the name of Google Inc. nor the names of its 24contributors may be used to endorse or promote products derived from 25this software without specific prior written permission. 26 27THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 30A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 31OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 32SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 33LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 34DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 35THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 36(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 37OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 38 39Code generated by the Protocol Buffer compiler is owned by the owner 40of the input file used when generating it. This code is not 41standalone and requires a support library to be linked with it. This 42support library is itself covered by the above license. 43